OPCardBrand
@objc
public enum OPCardBrand : Int, CustomStringConvertible
An enum representing card brands supported by Olo Pay
-
Visa
Declaration
Swift
case visa
-
American Express
Declaration
Swift
case amex
-
MasterCard
Declaration
Swift
case mastercard
-
Discover
Declaration
Swift
case discover
-
Unsupported card type
Declaration
Swift
case unsupported
-
Unknown card type
Declaration
Swift
case unknown
-
A string representation of this enum. Use this as the
cardtype
when submitting a basket to the Olo Ordering APIImportant
If the value isunknown
the basket submission will failDeclaration
Swift
public var description: String { get }