POInvoice

data class POInvoice(val id: String, val amount: String = String(), val currency: String = String(), val returnUrl: String? = null, val transaction: POTransaction? = null, val paymentMethods: List<PODynamicCheckoutPaymentMethod>? = null, val clientSecret: String? = null)

Invoice details.

Parameters

id

Invoice identifier.

amount

Invoice amount.

currency

Invoice currency.

returnUrl

Return URL or deep link for web based operations.

transaction

Transaction details.

paymentMethods

Dynamic checkout configuration.

clientSecret

Client secret is a value of x-processout-client-secret header of the invoice.

Constructors

Link copied to clipboard
constructor(id: String, amount: String = String(), currency: String = String(), returnUrl: String? = null, transaction: POTransaction? = null, paymentMethods: List<PODynamicCheckoutPaymentMethod>? = null, clientSecret: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val clientSecret: String? = null
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val returnUrl: String? = null
Link copied to clipboard