Base Component

  • A component provides payment method-specific UI and handling.

    See more

    Declaration

    Swift

    public protocol Component : AnyObject
  • A component that handles the initial phase of getting payment details to initiate a payment.

    See more

    Declaration

    Swift

    public protocol PaymentComponent : Component
  • The data supplied by a payment component upon completion.

    See more

    Declaration

    Swift

    public struct PaymentComponentData
  • Describes the methods a delegate of the payment component needs to implement.

    See more

    Declaration

    Swift

    public protocol PaymentComponentDelegate : AnyObject
  • A component that handles an action to complete a payment.

    See more

    Declaration

    Swift

    public protocol ActionComponent : Component
  • The data supplied by an action component upon completion.

    See more

    Declaration

    Swift

    public struct ActionComponentData
  • Describes the methods a delegate of the action component needs to implement.

    See more

    Declaration

    Swift

    public protocol ActionComponentDelegate : AnyObject
  • A component that provides a view controller for the shopper to fill payment details.

    See more

    Declaration

    Swift

    public protocol PresentableComponent : Component
  • Contains details supplied by a component. These details are used to initiate or complete a payment.

    See more

    Declaration

    Swift

    public protocol Details : Encodable
  • Contains the payment details entered by the user to complete payment with chosen payment method.

    Declaration

    Swift

    public protocol PaymentMethodDetails : Details
  • Contains additional details that were retrieved to complete a payment.

    Declaration

    Swift

    public protocol AdditionalDetails : Details
  • An error that occurred during the use of a component.

    See more

    Declaration

    Swift

    public enum ComponentError : Error