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

# CheckoutOrderUpdate

> Swift Structure

**Structure**

The payload of one `order:updated` event from the checkout page.

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

The `orderClientSecret` authorizes reads of the order. A later update can omit it.

## Initializers

### init(from:)

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

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

## Instance Properties

| Property            | Type             | Description                                    |
| ------------------- | ---------------- | ---------------------------------------------- |
| `order`             | `CheckoutOrder?` | The order in its new state.                    |
| `orderClientSecret` | `String?`        | The secret that authorizes reads of the order. |
