# CashPaymentDetails

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

Details about a successful cash payment.

## Constructors

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

## Types

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

Lets developers create and configure cash details for automated testing.

## Properties

buyerSuppliedMoney
Link copied to clipboard
val buyerSuppliedMoney: Money

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

changeBackMoney
Link copied to clipboard
val changeBackMoney: Money

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.