Enumerations
The following enumerations are available globally.
-
An enum representing ApplePay specific errors
See moreDeclaration
Swift
@objc public enum OPApplePayContextError : Int, Error
-
An enum representing card brands supported by Olo Pay
See moreDeclaration
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.cardErrorType
property.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 moreOPPaymentCardDetailsForm
instancesDeclaration
Swift
@objc public enum OPCardFormStyle : Int, CustomStringConvertible
-
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.oloPayDomain
domainDeclaration
Swift
@objc public enum OPErrorType : Int, CustomStringConvertible
-
An enum representing the status of a payment requested from the user.
See moreDeclaration
Swift
@objc public enum OPPaymentStatus : Int, CustomStringConvertible