CashPaymentDetails

class CashPaymentDetails(val buyerSuppliedMoney: Money, val changeBackMoney: Money)

Details about a successful cash payment.

Constructors

Link copied to clipboard
constructor(buyerSuppliedMoney: Money, changeBackMoney: Money)

Types

Link copied to clipboard
class Builder(buyerSuppliedMoney: Money, changeBackMoney: Money)

Lets developers create and configure cash details for automated testing.

Properties

Link copied to clipboard

The amount and currency of the money supplied by the buyer.

Link copied to clipboard

The amount of change due back from the buyer. changeBackMoney should not be set by the developer directly, it's set from the server response following a successful payment.