ProductBulkRate
Describes a product bulk rate, including discount information and the quantity threshold required to receive the discount.
Type Definition
type ProductBulkRate {
isPercentage: Boolean
amount: Float
quantity: Int
}Fields
| Field | Type | Description |
|---|---|---|
| isPercentage | Boolean | Returns true if discount is a percentage. |
| amount | Float | Returns the discount amount. |
| quantity | Int | Returns the quantity to purchase to get this discount. |
Relationships
ProductBulkRate is a value object used to represent discount pricing tiers for products. It is typically returned as part of product pricing structures and bulk discount configurations.
Example
{
isPercentage
amount
quantity
}Implements
This type does not implement any interfaces.
Related Types
No related types.