AddressDetails

data class AddressDetails(val name: String? = null, val address: PaymentSheet.Address? = null, val phoneNumber: String? = null, val isCheckboxSelected: Boolean? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(name: String? = null, address: PaymentSheet.Address? = null, phoneNumber: String? = null, isCheckboxSelected: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The customer's address

Link copied to clipboard

Whether or not your custom checkbox is selected. Note: The checkbox is displayed below the other fields when AdditionalFieldsConfiguration.checkboxLabel is set.

Link copied to clipboard
val name: String? = null

The customer's full name

Link copied to clipboard
val phoneNumber: String? = null

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)