CardBrand

An enum representing card brands supported by Olo Pay

Entries

Link copied to clipboard

Visa

Link copied to clipboard

American Express

Link copied to clipboard

Discover

Link copied to clipboard

Mastercard

Link copied to clipboard

Unsupported card type

Link copied to clipboard

Unknown card type

Properties

Link copied to clipboard

A string representation of the enum. Use this for the cardtype parameter when submitting basket to the Olo Ordering API. If the value is Unsupported or Unknown the basket submission will fail

Functions

Link copied to clipboard
fun valueOf(value: String): CardBrand

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.