TokenizationModuleOutput

public protocol TokenizationModuleOutput : AnyObject

Output for tokenization module.

  • Will be called when the user has not completed the payment and completed the work.

    Declaration

    Swift

    func didFinish(on module: TokenizationModuleInput)

    Parameters

    module

    Input for tokenization module. In the process of running mSDK, allows you to run processes using the TokenizationModuleInput protocol methods.

  • Will be called when the 3-D Secure process successfully passes.

    Declaration

    Swift

    func didSuccessfullyPassedCardSec(on module: TokenizationModuleInput)

    Parameters

    module

    Input for tokenization module. In the process of running mSDK, allows you to run processes using the TokenizationModuleInput protocol methods.

  • Will be called when the tokenization process successfully passes.

    Declaration

    Swift

    func tokenizationModule(_ module: TokenizationModuleInput, didTokenize token: Tokens, paymentMethodType: PaymentMethodType) -> <<error type>>

    Parameters

    module

    Input for tokenization module. In the process of running mSDK, allows you to run processes using the TokenizationModuleInput protocol methods.

    token

    Tokenization payments data.

    paymentMethodType

    Type of the source of funds for the payment.