Enumerations

The following enumerations are available globally.

  • An enum representing ApplePay specific errors

    See more

    Declaration

    Swift

    @objc
    public enum OPApplePayContextError : Int, Error
  • An enum representing card brands supported by Olo Pay

    See more

    Declaration

    Swift

    @objc
    public enum OPCardBrand : Int, CustomStringConvertible
  • Possible card error codes when there was an error tokenizing a card. These values can be accessed from the OPError.cardErrorType property.

    See more

    Declaration

    Swift

    @objc
    public enum OPCardErrorType : Int, CustomStringConvertible
  • Represents the different credit card fields

    See more

    Declaration

    Swift

    @objc
    public enum OPCardField : Int, CustomStringConvertible
  • Options for configuring the display of OPPaymentCardDetailsForm instances

    See more

    Declaration

    Swift

    @objc
    public enum OPCardFormStyle : Int, CustomStringConvertible
  • Enum indicating the environment that should be used for the Olo Pay SDK

    See more

    Declaration

    Swift

    @objc
    public enum OPEnvironment : Int, CustomStringConvertible
  • Possible error code values for OPErrors (NSErrors with the OPError.oloPayDomain domain

    See more

    Declaration

    Swift

    @objc
    public enum OPErrorType : Int, CustomStringConvertible
  • An enum representing the status of a payment requested from the user.

    See more

    Declaration

    Swift

    @objc
    public enum OPPaymentStatus : Int, CustomStringConvertible
  • Declaration

    Swift

    public enum OPSdkWrapperBuildType : Int, CustomStringConvertible
  • Declaration

    Swift

    public enum OPSdkWrapperPlatform : Int, CustomStringConvertible
  • Declaration

    Swift

    public enum OPPaymentMethodSource : Int, CustomStringConvertible