> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutPaymentMethod

> Kotlin Enum Class

**Enum Class**

```kotlin theme={null}
enum CheckoutPaymentMethod : Enum<CheckoutPaymentMethod>
```

## Entries

| Entry    | Description |
| -------- | ----------- |
| `crypto` | crypto      |
| `fiat`   | fiat        |

## Properties

| Property  | Type                                 | Description                                                                                       |
| --------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |
| `entries` | `EnumEntries<CheckoutPaymentMethod>` | Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| `name`    | `String`                             | -                                                                                                 |
| `ordinal` | `Int`                                | -                                                                                                 |

## Functions

| Function  | Description                                                                                                                                                                                                      |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `valueOf` | 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`  | Returns an array containing the constants of this enum type, in the order they're declared.                                                                                                                      |

### valueOf

```kotlin theme={null}
fun valueOf(value: String): CheckoutPaymentMethod
```

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

```kotlin theme={null}
fun values(): Array<CheckoutPaymentMethod>
```

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