PromotionLine
A promotion line, which describes the promotion.
Type members
Enum entries
This promotion line specifies the discounted product and how much to discount it by.
This promotion line specifies the discounted product and how much to discount it by.
Every order line which contains the product is discounted by the specified amount.
- Note:
For example, if a 100g casatella normally costs 100 cents and the promotion line specifies a 50% discount, each 100g casatella will cost 50 cents.
This promotion line specifies the discounted product, the threshold and how much to discount it by.
This promotion line specifies the discounted product, the threshold and how much to discount it by.
Only the products above the threshold are discounted; the other ones are at full price.
- Note:
For example, if a 100g casatella normally costs 100 cents and the promotion line specifies a 50% discount above 5 casatellas, the first 5 casatella will cost 100 cents, while from the 6th onwards they will cost 50 cents each.