Represents the constraints on quantity for a group child attributes
Nullable
minimumQuantity :
number (int)
The (inclusive) total minimum allowed quantity of all child attributes being ordered (non negative).
Quantity is counted by summing the quantities of ALL ordered child attributes in this group
null will indicate that there is no minimum.
Nullable
maximumQuantity :
number (int)
The (inclusive) total maximum allowed quantity of all child attributes being ordered (non negative)
Quantity is counted by summing the quantities of ALL ordered child attributes in this group
null will indicate that there is no maximum.
Nullable
chargeAbove :
number (int)
If non null the menu item price will only be charged for child attributes when this total quantity of child items is exceeded (non inclusive)
The quantity charged will be Ordered Quantity minus ChargeAbove
If the referenced child menu items have differing prices, the provider should determine the appropriate policy of what items to charge and what should remain "free".
Requires RefundBelow to also be specified
Must adhere to MinimumQuantity / MaximumQuantity bounds
Nullable
refundBelow :
number (int)
If non null the menu item price will be refunded for child attributes when the total quantity of child items drops below this amount (non inclusive)
The quantity refunded will be RefundBelow minus Ordered Quantity
If the referenced child menu items have differing prices, the provider should determine the appropriate policy of what items to refund and what should remain full price.
Requires ChargeAbove to also be specified
Must adhere to MinimumQuantity / MaximumQuantity bounds
Example
{
"minimumQuantity": 321,
"maximumQuantity": 321,
"chargeAbove": 321,
"refundBelow": 321
}