ProvisionalCard

public struct ProvisionalCard : Hashable

Representation of a transitory item used in the creation of a Card on the back-end.

Supplementary

  • State of the Provisional Card.

    • provisioning: Card is in a provisioning state currently.
    • completed: Card has finished completed which typically means the card should be accessible by either a getCard/s API or via ProvisionalCard.card property.
    • failed: Card is in a failed state and needs to be rectified.
    • unknown: API Evolution - if this occurs, it may mean you need to update the library.

    Declaration

    Swift

    public enum State : Hashable

Properties

  • id

    Identifier generated by the Virtual Cards Service.

    Declaration

    Swift

    public let id: String
  • VirtualCards service timestamp to when the card entry was created.

    Declaration

    Swift

    public let created: Date
  • VirtualCards service timestamp to when the card entry was last updated.

    Declaration

    Swift

    public let updated: Date
  • Client Reference ID generated by the client.

    Declaration

    Swift

    public let clientRefId: String
  • Current state of the cards status.

    Declaration

    Swift

    public let state: State
  • Fully fledged card.

    Declaration

    Swift

    public let card: Card?

Lifecycle