PartialVirtualCard

data class PartialVirtualCard(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 last4: String) : Parcelable

Representation of a Virtual Card without its unsealed attributes 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, last4: String)

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

Date The date of when the virtual card will be active to.

Link copied to clipboard
val cancelledAt: Date? = null

The date that the virtual card was cancelled, null if the card has not been cancelled.

Link copied to clipboard

Date Date when the virtual card was created.

Link copied to clipboard

String The ISO 4217 currency code.

Link copied to clipboard

String Identifier of the funding source associated with the virtual card.

Link copied to clipboard
val id: String

String Identifier of the virtual card.

Link copied to clipboard

String Last 4 digits on the virtual card.

Link copied to clipboard

String Identifier of the user that owns the virtual card.

Link copied to clipboard

List List of identifiers of user/accounts associated with this virtual card. Typically, this will consist of at least the user id and sudo id of the account.

Link copied to clipboard

CardState Current state of the card.

Link copied to clipboard

Date Date when the virtual card was last updated.

Link copied to clipboard

Int Current version of the virtual card.