Skip to main content
Enum Class
enum CheckoutEnvironment : Enum<CheckoutEnvironment>

Entries

EntryDescription
STAGING-
PRODUCTION-

Properties

PropertyTypeDescription
entriesEnumEntries<CheckoutEnvironment>Returns a representation of an immutable list of all enum entries, in the order they’re declared.
nameString-
ordinalInt-

Functions

FunctionDescription
valueOfReturns 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.)
valuesReturns an array containing the constants of this enum type, in the order they’re declared.

valueOf

fun valueOf(value: String): CheckoutEnvironment
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.)

values

fun values(): Array<CheckoutEnvironment>
Returns an array containing the constants of this enum type, in the order they’re declared.