modifier count as
Represents the identifier of the ordered product.
Represents the weighting at which discount should be applied within a deal, against the original line item price less modifiers.
This field is only applicable when one of the following is true:
Represents whether or not the line item is subject to discount
This field is only applicable when one of the following is true:
Represents the price which is subject to discount within a deal, less any modifiers (i.e. crust upgrades).
This field is only applicable when one of the following is true:
Represents the amount a line item has been discounted by in relation to its original value less any modifiers.
This field is only applicable when one of the following is true:
Represents the full price of the ordered product within a deal without any discounts.
This field is only applicable when one of the following is true:
As the Product.price property can vary depending on the pricing strategy used for Deals. This property is used to indicate the full price of the product within the parent deal excluding discounts.
This property came into existence due to some of the Point of Sales systems required it to generate detailed receipts.
Example:
{
id: "classic-corn-pan-medium",
price: 199,
lineItemPrice: 199,
lineItemOriginalPrice: 199,
}
Represents the full (a la carte) price of the ordered product within a deal including discounts.
This field is only applicable when one of the following is true:
As the Product.price property can vary depending on the pricing strategy used for Deals. This property is used to indicate the full price of the product within the parent deal including discounts.
This property came into existence due to some of the Point of Sales systems required it to generate detailed receipts.
Example:
{
id: "classic-corn-pan-medium",
price: 199,
lineItemPrice: 199,
lineItemOriginalPrice: 199,
}
Represents the modifiers for product
Represents the index of a deal option in the products data. Only products that are part of a deal (dealId !== 'ND') will have this property Used internally to provide a reference to a particular deal option in our order pipeline
Represents the list price of the ordered product without any discounts.
Represents the price of the ordered product.
As explained in Deal, this property must be used to indicate the price of the product when the parent deal does not include a price. On the contrary, when the ordered deal includes a price it represents the up-sell price of the ordered product.
Example:
{
id: "classic-corn-pan-medium",
price: 199
}
Represents the serving calories for product
Represents the subtype of the ordered product.
Only markets that use microservice-menu will have this property.*
This property allows us to handle all different products a market may have, without changing what we consider to be a primary type
(e.g. pizzas, sides, desserts, drinks)
Example:
{
type: 'side',
subtype: 'pasta'
}
Represents the tax band assigned on a product by product basis.
Represents the type of the ordered product.
Generated using TypeDoc
modifier always charge