Public Protocols

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

    Declaration

    Swift

    public protocol Component : APIContextAware
  • An error that occurred during the use of a component.

    See more

    Declaration

    Swift

    public enum ComponentError : Error
  • A component that handles the initial phase of getting payment details to initiate a payment.

    See more

    Declaration

    Swift

    public protocol PaymentComponent : PaymentAwareComponent, PaymentMethodAware
  • A component that provides a view controller for the shopper to fill payment details.

    See more

    Declaration

    Swift

    public protocol PresentableComponent : Component
  • A component that handles an action to complete a payment.

    See more

    Declaration

    Swift

    public protocol ActionComponent : Component
  • A component that needs to be aware of the result of the payment.

    See more

    Declaration

    Swift

    public protocol FinalizableComponent : Component
  • Any component with a payment property.

    See more

    Declaration

    Swift

    public protocol PaymentAwareComponent : Component
  • Indicates a partial payment related errors.

    See more

    Declaration

    Swift

    public enum PartialPaymentError : LocalizedError
  • Contains details supplied by a component. These details are used to initiate or complete a payment.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public protocol PaymentMethodDetails : Details
  • Describes any voucher action object.

    See more

    Declaration

    Swift

    public protocol AnyVoucherAction