POInvoice

@JsonClass(generateAdapter = true)
data class POInvoice(val id: String, val amount: String, val currency: String, @Json(name = "return_url") val returnUrl: String?, @Json(name = "payment_methods") val paymentMethods: List<PODynamicCheckoutPaymentMethod>?)

Invoice details.

Parameters

id

Invoice identifier.

amount

Invoice amount.

currency

Invoice currency.

returnUrl

Return URL or deep link for web based operations.

paymentMethods

Dynamic checkout configuration.

Constructors

Link copied to clipboard
constructor(id: String, amount: String, currency: String, @Json(name = "return_url") returnUrl: String?, @Json(name = "payment_methods") paymentMethods: List<PODynamicCheckoutPaymentMethod>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard