BillingDetails

data 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
fun BillingDetails(    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.

Functions

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

Properties

Link copied to clipboard
val address: PaymentSheet.Address? = null

The customer's billing address.

Link copied to clipboard
val email: String? = null

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? = null

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
val phone: String? = null

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