> ## 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.

# CheckoutAllowedMethods

> Swift Structure

**Structure**

The fiat payment methods the checkout offers.

```swift theme={null}
struct CheckoutAllowedMethods
```

Every method is available by default. A method set to `false` does not appear in the checkout.

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

### init(googlePay:applePay:card:)

Creates the allowed methods. Every method defaults to `true`.

```swift theme={null}
init(googlePay: Bool? = true, applePay: Bool? = true, card: Bool? = true)
```

## Instance Properties

| Property    | Type    | Description                                                          |
| ----------- | ------- | -------------------------------------------------------------------- |
| `applePay`  | `Bool?` | A Boolean value that shows whether the checkout offers Apple Pay.    |
| `card`      | `Bool?` | A Boolean value that shows whether the checkout offers card payment. |
| `googlePay` | `Bool?` | A Boolean value that shows whether the checkout offers Google Pay.   |
