PendingCardActivation

public struct PendingCardActivation : Sendable

PendingCardActivation indicates the card which was previously interrupted during activation.

  • state() Asynchronous

    Fetches the state of the pending card activation.

    Throws

    clientError(_:) if the selected state is .appToAppSelected and if it fails to retrieve its associated value or if there any internal error encountered.

    Declaration

    Swift

    public func state() async throws -> State

    Return Value

    State representing the current status of the pending card activation.

  • cardArt() Asynchronous

    Fetches the card art of the pending card for display purpose.

    Declaration

    Swift

    public func cardArt() async -> DigitalCard.CardArt?

    Return Value

    `CardArt

  • cardMetaData() Asynchronous

    Fetches the card metadata of the pending card.

    Declaration

    Swift

    public func cardMetaData() async -> DigitalCard.CardMetaData?

    Return Value

    CardMetaData

  • invokeIDVSelection() Asynchronous

    Invokes the selection of the IDV method.

    Throws

    clientError(_:) if error occured on IDV selection.

    Declaration

    Swift

    public func invokeIDVSelection() async throws
  • cancel() Asynchronous

    Cancels the pending card activation.

    Throws

    clientError(_:) if error encountered on cancellation.

    Declaration

    Swift

    public func cancel() async throws
  • activate(withOTP:) Asynchronous

    Activates the card using the OTP received.

    Throws

    clientError(_:) if error encountered on card activation.

    Declaration

    Swift

    public func activate(withOTP otp: Data) async throws

    Parameters

    otp

    The OTP provided.

  • Resumes the app-to-app activation process.

    Throws

    clientError(_:) if error on resuming app-to-app activation process.

    Declaration

    Swift

    public func resumeAppToAppActivation() async throws
  • Resumes the app-to-app activation process with TAV.

    Throws

    clientError(_:) if error on resuming app-to-app activation process.

    Declaration

    Swift

    public func resumeAppToAppActivation(withTAV tav: Data) async throws

    Parameters

    tav

    The TAV provided.

  • The state of pending card activation.

    See more

    Declaration

    Swift

    public enum State : Sendable, Equatable