AccountHolder

@Serializable
data class AccountHolder(val type: AccountHolder.Type = Type.UNKNOWN, val account: String? = null, val customer: String? = null) : StripeModel, Parcelable

Parameters

type
account
customer

ID of the Customer this account belongs to. Present if and only if type is customer.

Constructors

Link copied to clipboard
constructor(type: AccountHolder.Type = Type.UNKNOWN, account: String? = null, customer: String? = null)

Types

Link copied to clipboard
@Serializable
enum Type : Enum<AccountHolder.Type>

Properties

Link copied to clipboard
@SerialName(value = "account")
val account: String? = null
Link copied to clipboard
@SerialName(value = "customer")
val customer: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: AccountHolder.Type

Functions

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