InProgressOrderLine

A product with its quantity and a price. It may be in two different states: complete if the product has already been palletized and is ready in the required quantity; incomplete if the product is not present in the required quantity.

trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

case Complete(quantity: Quantity, product: Product, price: PriceInEuroCents)

A line of an in-progress order where the product is ready in the required quantity and has been palletized.

A line of an in-progress order where the product is ready in the required quantity and has been palletized.

case Incomplete(actual: PalletizedQuantity, required: Quantity, product: Product, price: PriceInEuroCents)

A line of an in-progress order where the product is still not available in the required quantity but a part or none of it may have already been palletized.

A line of an in-progress order where the product is still not available in the required quantity but a part or none of it may have already been palletized.