Virtual Card
data class VirtualCard(val id: String, val owner: String, val version: Int, val createdAt: Date, val updatedAt: Date, val owners: List<Owner>, val fundingSourceId: String, val currency: String, val state: CardState, val activeTo: Date, val cancelledAt: Date? = null, val cardHolder: String, val last4: String, val cardNumber: String, val securityCode: String, val alias: String?, val metadata: JsonValue<Any>? = null, val billingAddress: BillingAddress? = null, val expiry: Expiry, val lastTransaction: Transaction? = null) : Parcelable
Representation of a Virtual Card used in the Sudo Platform Virtual Cards SDK.
Constructors
Link copied to clipboard
constructor(id: String, owner: String, version: Int, createdAt: Date, updatedAt: Date, owners: List<Owner>, fundingSourceId: String, currency: String, state: CardState, activeTo: Date, cancelledAt: Date? = null, cardHolder: String, last4: String, cardNumber: String, securityCode: String, alias: String?, metadata: JsonValue<Any>? = null, billingAddress: BillingAddress? = null, expiry: Expiry, lastTransaction: Transaction? = null)
Properties
Link copied to clipboard
BillingAddress Billing address associated with the virtual card. If not supplied, the default billing address will be used.
Link copied to clipboard
The date that the virtual card was cancelled, null if the card has not been cancelled.
Link copied to clipboard
String The name of the virtual card holder.
Link copied to clipboard
String Card number (Permanent Account Number) of the card.
Link copied to clipboard
String Identifier of the funding source associated with the virtual card.
Link copied to clipboard
Transaction Most recent transaction, if any, that has occurred on the virtual card.
Link copied to clipboard
String Security code (csc) for the back of the card, 3 or 4 digits.