Customer
data class Customer(val id: String, val balance: Balance, val billingDetails: BillingDetails, val email: String?, val merchantID: String, val phone: String?, val status: String, val isTapToPayEnabled: Boolean, val autoReloadConfig: AutoReloadConfiguration?, val paymentMethods: List<PaymentMethod>)
A Customer object represents a customer of your business.
A Customer has a balance and can deposit and withdraw funds from it. Additionally, Customers can manage their payment methods.
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.
Constructors
Link copied to clipboard
constructor(id: String, balance: Balance, billingDetails: BillingDetails, email: String?, merchantID: String, phone: String?, status: String, isTapToPayEnabled: Boolean, autoReloadConfig: AutoReloadConfiguration?, paymentMethods: List<PaymentMethod>)