CardIssuanceSuccessDelegate

public protocol CardIssuanceSuccessDelegate : AnyObject

Delegate called when an action on a card is done.

  • didCreateCard(_:) Default implementation

    Card has been created successfully.

    Default Implementation

    Card has been issued successfully.

    Declaration

    Swift

    func didCreateCard(_ card: Card)

    Parameters

    card

    A Card model.

  • didGetCard(_:) Default implementation

    Card has been retrieved from user account.

    Default Implementation

    Card has been retrieved from user account.

    Declaration

    Swift

    func didGetCard(_ card: Card)

    Parameters

    card

    A Card model.

  • didGetCardImage(_:) Default implementation

    Card image data has been retrieved from user account.

    Default Implementation

    Card image data has been retrieved from user account.

    Declaration

    Swift

    func didGetCardImage(_ image: UIImage)

    Parameters

    image

    The card image.

  • didGetCardSensitiveData(_:) Default implementation

    Card sensitive data has been retrieved from user account.

    Default Implementation

    Card sensitive data has been retrieved from user account.

    Declaration

    Swift

    func didGetCardSensitiveData(_ cardSensitiveData: CardSensitiveData)

    Parameters

    cardSensitiveData
  • didListCards(_:) Default implementation

    All cards has been retrieved from user account.

    Default Implementation

    All cards has been retrieved from user account.

    Declaration

    Swift

    func didListCards(_ cards: [Card])

    Parameters

    cards

    A Array<Card> list.

  • didSetCardState(_:) Default implementation

    Card state was set successfully.

    Default Implementation

    Card freezed with success.

    Declaration

    Swift

    func didSetCardState(_ state: CardState)

    Parameters

    state

    A CardState case.

  • didActivateCard() Default implementation

    Card was activated successfully.

    Default Implementation

    Card activated with success.

    Declaration

    Swift

    func didActivateCard()
  • didUpdateCard(_:) Default implementation

    Card was updated successfully.

    Default Implementation

    Card updated with success.

    Declaration

    Swift

    func didUpdateCard(_ card: Card)
  • didCancelCard() Default implementation

    Card was canceled successfully.

    Default Implementation

    Card canceled with success.

    Declaration

    Swift

    func didCancelCard()
  • didSetCardPin() Default implementation

    Did set card pin successfully.

    Default Implementation

    Did set card pin successfully.

    Declaration

    Swift

    func didSetCardPin()
  • didReissueOrReplaceCard(_:) Default implementation

    Card was reissued/replaced successfully.

    Default Implementation

    Card was reissued/replaced successfully.

    Declaration

    Swift

    func didReissueOrReplaceCard(_ card: Card)