Payment

@Serializable
data class Payment(source)

A data class representing a payment to be processed.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The total amount of the payment as a Double.

Link copied to clipboard

An identifier for the transaction, used for tracking purposes. Defaults to a randomly generated UUID.

Link copied to clipboard

A provided reference value for the transaction.

Link copied to clipboard

The payment method to be used for the transaction, which is an object implementing the PaymentMethod interface.