Files
cfw-autumn/others/python-sdk/docs/models/purchase.md
John Yeo 90287e6308 latest
2026-02-19 13:24:33 +00:00

12 lines
1.9 KiB
Markdown

# Purchase
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `plan` | [Optional[models.Plan]](../models/plan.md) | :heavy_minus_sign: | N/A |
| `plan_id` | *str* | :heavy_check_mark: | The unique identifier of the purchased plan. |
| `expires_at` | *Nullable[float]* | :heavy_check_mark: | Timestamp when the purchase expires, or null for lifetime access. |
| `started_at` | *float* | :heavy_check_mark: | Timestamp when the purchase was made. |
| `quantity` | *float* | :heavy_check_mark: | Number of units purchased. |