Protocols

The following protocols are available globally.

  • Observable to define behavior for Provision Card API events.

    See more

    Declaration

    Swift

    public protocol ProvisionVirtualCardObservable : 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
  • Representation of the common attributes of a funding source used in the Sudo Platform SDK.

    See more

    Declaration

    Swift

    public protocol BaseFundingSource
  • 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