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 -
Unknown card type
Declaration
Swift
case unknown -
A string representation of this enum. Use this as the
cardtypewhen submitting a basket to the Olo Ordering APIImportant
If the value isunknownthe basket submission will failDeclaration
Swift
public var description: String { get }
OPCardBrand Enumeration Reference