POInvoice

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

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.