Type Aliases

The following type aliases are available globally.

  • A type alias representing a unique transaction identifier (ID).

    This ID is typically a string returned by the payment gateway to uniquely identify a transaction.

    Declaration

    Swift

    public typealias PaymentID = String
  • A type alias representing an error that occurred during the payment process.

    This aliases PaygateError, providing a domain-specific name for errors encountered within the payment processing context.

    Declaration

    Swift

    public typealias PaymentProcessError = PaygateError