Files
cfw-autumn/others/python-sdk/docs/models/attachitem.md
2026-02-16 17:45:45 +00:00

18 lines
7.5 KiB
Markdown

# AttachItem
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `type` | [OptionalNullable[models.AttachType]](../models/attachtype.md) | :heavy_minus_sign: | The type of the product item. |
| `feature_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The feature ID of the product item. Should be null for fixed price items. |
| `included_usage` | [OptionalNullable[models.IncludedUsage]](../models/includedusage.md) | :heavy_minus_sign: | The amount of usage included for this feature (per interval). |
| `interval` | [OptionalNullable[models.AttachInterval]](../models/attachinterval.md) | :heavy_minus_sign: | The reset or billing interval of the product item. If null, feature will have no reset date, and if there's a price, it will be billed one-off. |
| `interval_count` | *OptionalNullable[float]* | :heavy_minus_sign: | Interval count of the feature. |
| `entity_feature_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The feature ID of the entity (like seats) to track sub-balances for. |
| `usage_model` | [OptionalNullable[models.UsageModel]](../models/usagemodel.md) | :heavy_minus_sign: | Whether the feature should be prepaid upfront or billed for how much they use end of billing period. |
| `price` | *OptionalNullable[float]* | :heavy_minus_sign: | The price of the product item. Should be null if tiered pricing is set. |
| `tiers` | List[[models.Tiers](../models/tiers.md)] | :heavy_minus_sign: | Tiered pricing for the product item. Not applicable for fixed price items. |
| `billing_units` | *OptionalNullable[float]* | :heavy_minus_sign: | The billing units of the product item (eg $1 for 30 credits). |
| `reset_usage_when_enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the usage should be reset when the product is enabled. |