Other Protocols

The following protocols are available globally.

  • A protocol defining the contract for an analytics service responsible for sending event payloads.

    See more

    Declaration

    Swift

    public protocol AnalyticsServiceProtocol : AnyObject
  • Protocol for client configuration service

    See more

    Declaration

    Swift

    public protocol ClientConfigurationServiceProtocol : AnyObject
  • Undocumented

    See more

    Declaration

    Swift

    public protocol AlternativeTokenSource
  • Protocol representing errors that can occur while interacting with the Gini API.

    The protocol defines three properties:

    • message: A message describing the error.
    • response: The HTTPURLResponse received in the error, if any.
    • data: The data received in the error, if any.
    See more

    Declaration

    Swift

    public protocol GiniErrorProtocol
  • Undocumented

    See more

    Declaration

    Swift

    public protocol DocumentService : AnyObject
  • Undocumented

    See more

    Declaration

    Swift

    public protocol PaymentServiceProtocol : AnyObject