Customer

constructor(id: String, balance: Balance, billingDetails: BillingDetails, email: String?, merchantID: String, phone: String?, status: String, isTapToPayEnabled: Boolean, autoReloadConfig: AutoReloadConfiguration?, paymentMethods: List<PaymentMethod>)

Parameters

id

Unique identifier for the customer.

balance

Balance object containing details about the customer balance.

billingDetails

BillingDetails object containing optional billing details about the user, if available.

email

The customer email address.

merchantID

Identifier of the merchant for this customer.

phone

The customer phone number.

status

Possible values are: active, deactivated, or closed

autoReloadConfig

The Customer's auto reload configuration

paymentMethods

A list of payment methods setup for this Customer.