VirtualCard

public struct VirtualCard : Hashable, VirtualCardAttributes, VirtualCardSealedAttributes

Representation of a Virtual Card used in Platform SDK.

Properties

  • id

    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

    @available(*, deprecated, message: "Please use metadata")
    public var alias: String?
  • Declaration

    Swift

    public var metadata: JSONValue?
  • Declaration

    Swift

    public var last4: String
  • pan

    Declaration

    Swift

    public var pan: String
  • csc

    Declaration

    Swift

    public var csc: String
  • Declaration

    Swift

    public var billingAddress: VirtualCardBillingAddress?
  • Declaration

    Swift

    public var expiry: VirtualCardExpiry
  • 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
  • Declaration

    Swift

    public var lastTransaction: Transaction?

Lifecycle