CashMethod

class CashMethod(val label: Int, val trigger: () -> Unit) : AdditionalPaymentMethod

Records a physical currency cash payment. This method records a payment that happened outside of Square's payment processing, in this case for cash tendered to the merchant.

The trigger method presents a UI to collect the amount of cash provided by the buyer.

Constructors

Link copied to clipboard
constructor(label: Int, trigger: () -> Unit)

Properties

Link copied to clipboard
val label: Int

the resource id for the label of this method, suitable for display to users

Link copied to clipboard
val trigger: () -> Unit
Link copied to clipboard

an identification of the method, suitable for programmatic comparison.