Protocols

The following protocols are available globally.

  • Delegate class used in provisioning funding source.

    This delegate is passed to a funding source creation method to ensure that further required authentication can be served to the user.

    See more

    Declaration

    Swift

    public protocol FundingSourceAuthorizationDelegate : AnyObject
  • Observable to define behavior for Provision Card API events.

    See more

    Declaration

    Swift

    public protocol ProvisionCardObservable : AnyObject
  • Client used to interface with the Sudo Payment Platform service.

    It is recommended to code to this interface, rather than the implementation class (DefaultSudoVirtualCardsClient) as the implementation class is only meant to be used for initializing an instance of the client.

    See more

    Declaration

    Swift

    public protocol SudoVirtualCardsClient : AnyObject
  • Represents a subscription. When this object is released, the subscription is cancelled.

    If reference is lost to this token, the subscription will be automatically cancelled on cleanup.

    See more

    Declaration

    Swift

    public protocol SubscriptionToken : AnyObject