Enumerations
The following enumerations are available globally.
-
An enum representing ApplePay specific errors
See moreDeclaration
Swift
@objc public enum OPApplePayLauncherError : Int, Error -
An enum representing the status of an Apple Pay payment requested from the user.
See moreDeclaration
Swift
@objc public enum OPApplePayStatus : Int, CustomStringConvertible -
An enum representing card brands supported by Olo Pay
See moreImportant
See theOPCardBrand.descriptionproperty for how to use this enum when submitting a basket to the Olo Ordering APIDeclaration
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
See moreOPError.cardErrorTypeproperty.Declaration
Swift
@objc public enum OPCardErrorType : Int, CustomStringConvertible -
Represents the different credit card fields
See moreDeclaration
Swift
@objc public enum OPCardField : Int, CustomStringConvertible -
Options for configuring the display of
See moreOPPaymentCardDetailsForminstancesDeclaration
Swift
@objc public enum OPCardFormStyle : Int, CustomStringConvertible -
An enum representing supported currency code
See moreDeclaration
Swift
@objc public enum OPCurrencyCode : Int, CustomStringConvertible, CaseIterable -
Enum indicating the environment that should be used for the Olo Pay SDK
See moreDeclaration
Swift
@objc public enum OPEnvironment : Int, CustomStringConvertible -
Possible error code values for OPErrors (NSErrors with the
See moreOPError.oloPayDomaindomainDeclaration
Swift
@objc public enum OPErrorType : Int, CustomStringConvertible
Enumerations Reference