BillingDetails

class BillingDetails(val address: PaymentSheet.Address? = null, val email: String? = null, val name: String? = null, val phone: String? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(address: PaymentSheet.Address? = null, email: String? = null, name: String? = null, phone: String? = null)

Types

Link copied to clipboard
class Builder

BillingDetails builder for cleaner object creation from Java.

Properties

Link copied to clipboard

The customer's billing address.

Link copied to clipboard

The customer's email. The value set is displayed in the payment sheet as-is. Depending on the payment method, the customer may be required to edit this value.

Link copied to clipboard
val name: String?

The customer's full name. The value set is displayed in the payment sheet as-is. Depending on the payment method, the customer may be required to edit this value.

Link copied to clipboard

The customer's phone number without formatting e.g. 5551234567

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)