PartialVirtualCard
public struct PartialVirtualCard : Hashable, VirtualCardAttributes
Representation of a Virtual Card without its unsealed attributes.
-
Declaration
Swift
public var id: String
-
Declaration
Swift
public var owners: [Owner]
-
Declaration
Swift
public var owner: String
-
Declaration
Swift
public var version: Int
-
Declaration
Swift
public var fundingSourceId: String
-
Declaration
Swift
public var state: VirtualCardState
-
Declaration
Swift
public var cardHolder: String
-
Declaration
Swift
public var last4: String
-
Declaration
Swift
public var currency: String
-
Declaration
Swift
public var activeTo: Date
-
Declaration
Swift
public var cancelledAt: Date?
-
Declaration
Swift
public var createdAt: Date
-
Declaration
Swift
public var updatedAt: Date
-
init(id:
owners: owner: version: fundingSourceId: state: cardHolder: last4: currency: activeTo: cancelledAt: createdAt: updatedAt: ) Initialize an instance of
VirtualCard
.Declaration
Swift
public init( id: String, owners: [Owner], owner: String, version: Int, fundingSourceId: String, state: VirtualCardState, cardHolder: String, last4: String, currency: String, activeTo: Date, cancelledAt: Date? = nil, createdAt: Date, updatedAt: Date )