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

# SummerCheckoutLine

> One caller-selected offer and quantity for trusted checkout.

**Class:** `SummerCheckoutLine` · **Inherits:** RefCounted

One caller-selected offer and quantity for trusted checkout.

One caller-selected offer and quantity for trusted checkout. The Game supplies no prices, account identity, or approval.

## Properties

| Property | Type | Access | Description |
| - | - | - | - |
| <a id="offer_id" />`offer_id` | String | read and write | Offer ID from the current Store catalog. The SDK rejects invalid IDs and duplicate offers. |
| <a id="quantity" />`quantity` | int | read and write | Requested quantity, from 1 to 64. A checkout permits at most 16 offers and 64 total units. |

## Methods

### create

```gdscript theme={null}
func create(offer_id: String, quantity: int = 1) -> SummerCheckoutLine static
```

Creates a line with the supplied opaque offer ID and quantity. Equivalent to constructing a line and setting both properties. Does not submit or approve a purchase; [`Summer.client.store.request_checkout()`](/api-reference/gdscript/client/store#request_checkout) applies the existing ID, quantity, duplicate offer, and cart limits and reports invalid arguments through its operation result.

| Parameter | Type | Default |
| - | - | - |
| `offer_id` | String | required |
| `quantity` | int | `1` |

**Returns:** [`SummerCheckoutLine`](/api-reference/gdscript/types/checkout-line)

***

What is live on the platform today: [platform capability status](/knowledge-base/source-status). Check availability at runtime before you offer a feature.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.