Fixed

case Fixed(product: Product, discount: DiscountPercentage) extends PromotionLine

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.

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product