# LineItemCommitmentConfig

## Example Usage

```typescript
import { LineItemCommitmentConfig } from "@flexprice/sdk/sdk/models";

let value: LineItemCommitmentConfig = {};
```

## Fields

| Field                                                                                                   | Type                                                                                                    | Required                                                                                                | Description                                                                                             |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `commitmentAmount`                                                                                      | *number*                                                                                                | :heavy_minus_sign:                                                                                      | N/A                                                                                                     |
| `commitmentDuration`                                                                                    | [models.BillingPeriod](../../sdk/models/billing-period.md)                                              | :heavy_minus_sign:                                                                                      | N/A                                                                                                     |
| `commitmentQuantity`                                                                                    | *number*                                                                                                | :heavy_minus_sign:                                                                                      | N/A                                                                                                     |
| `commitmentTimeBuckets`                                                                                 | [models.CommitmentBucketRequest](../../sdk/models/commitment-bucket-request.md)[]                       | :heavy_minus_sign:                                                                                      | CommitmentTimeBuckets scopes commitment to specific UTC-hour windows; requires IsWindowCommitment=true. |
| `commitmentType`                                                                                        | [models.CommitmentType](../../sdk/models/commitment-type.md)                                            | :heavy_minus_sign:                                                                                      | N/A                                                                                                     |
| `enableTrueUp`                                                                                          | *boolean*                                                                                               | :heavy_minus_sign:                                                                                      | EnableTrueUp charges the shortfall when usage is below commitment.                                      |
| `isWindowCommitment`                                                                                    | *boolean*                                                                                               | :heavy_minus_sign:                                                                                      | IsWindowCommitment applies commitment per window (e.g. per day) rather than per billing period.         |
| `overageFactor`                                                                                         | *number*                                                                                                | :heavy_minus_sign:                                                                                      | OverageFactor is a multiplier on usage beyond commitment; 1.0 = base rate.                              |