# 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

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

## Properties

label
Link copied to clipboard
val label: Int

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

trigger
Link copied to clipboard
val trigger: () -> Unit
type
Link copied to clipboard
val type: AdditionalPaymentMethod.Type

an identification of the method, suitable for programmatic comparison.