OPCardBrand
@objc
public enum OPCardBrand : Int, CustomStringConvertible
                An enum representing card brands supported by Olo Pay
Important
See theOPCardBrand.description property for how to use this enum when submitting a basket to the Olo Ordering API
- 
                  
                  
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
cardtypewhen submitting a basket to the Olo Ordering APIImportant
If the value isunknownthe basket submission will failDeclaration
Swift
public var description: String { get }