Pricing Tier
November 13, 2025 ยท View on GitHub
The pricing tier details.
Structure
PricingTier
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
StartingQuantity | String | Required | The starting quantity for the tier. Constraints: Minimum Length: 1, Maximum Length: 32, Pattern: ^([0-9]+|([0-9]+)?[.][0-9]+)$ | String getStartingQuantity() | setStartingQuantity(String startingQuantity) |
EndingQuantity | String | Optional | The ending quantity for the tier. Optional for the last tier. Constraints: Minimum Length: 1, Maximum Length: 32, Pattern: ^([0-9]+|([0-9]+)?[.][0-9]+)$ | String getEndingQuantity() | setEndingQuantity(String endingQuantity) |
Amount | Money | Required | The currency and amount for a financial transaction, such as a balance or payment due. | Money getAmount() | setAmount(Money amount) |
Example (as JSON)
{
"starting_quantity": "starting_quantity4",
"ending_quantity": "ending_quantity6",
"amount": {
"currency_code": "currency_code6",
"value": "value0"
}
}