Customer

data class Customer(val id: String?, val created: Int?, val updated: Int?, val livemode: Boolean?, val name: String?, val status: FrameObjects.CustomerStatus?, val phone: String?, val email: String?, val description: String?, val dateOfBirth: String?, val customerObject: String?, val shippingAddress: FrameObjects.BillingAddress?, val billingAddress: FrameObjects.BillingAddress?, val paymentMethods: List<FrameObjects.PaymentMethod>?)

A customer record on the Frame platform.

Constructors

Link copied to clipboard
constructor(id: String?, created: Int?, updated: Int?, livemode: Boolean?, name: String?, status: FrameObjects.CustomerStatus?, phone: String?, email: String?, description: String?, dateOfBirth: String?, customerObject: String?, shippingAddress: FrameObjects.BillingAddress?, billingAddress: FrameObjects.BillingAddress?, paymentMethods: List<FrameObjects.PaymentMethod>?)

Properties

Link copied to clipboard
@SerializedName(value = "billing_address")
val billingAddress: FrameObjects.BillingAddress?

Customer's billing address.

Link copied to clipboard
val created: Int?

Unix timestamp when the customer was created.

Link copied to clipboard
@SerializedName(value = "object")
val customerObject: String?

The Frame API object type string ("customer").

Link copied to clipboard
@SerializedName(value = "date_of_birth")
val dateOfBirth: String?

Date of birth in YYYY-MM-DD format.

Link copied to clipboard

Optional merchant-supplied description for this customer.

Link copied to clipboard

Customer's email address.

Link copied to clipboard
val id: String?

Unique identifier for the customer.

Link copied to clipboard

true if this is a live-mode resource; false for test-mode.

Link copied to clipboard
val name: String?

Customer's full name.

Link copied to clipboard
@SerializedName(value = "payment_methods")
val paymentMethods: List<FrameObjects.PaymentMethod>?

Payment methods attached to this customer.

Link copied to clipboard

Customer's phone number in E.164 format.

Link copied to clipboard
@SerializedName(value = "shipping_address")
val shippingAddress: FrameObjects.BillingAddress?

Customer's shipping address.

Link copied to clipboard

Current CustomerStatus of this customer.

Link copied to clipboard
val updated: Int?

Unix timestamp when the customer was last updated.