PricedOrder

final case class PricedOrder(id: OrderID, orderLines: NonEmptyList[PricedOrderLine], client: Client, deliveryDate: LocalDateTime, deliveryLocation: Location, totalPrice: PriceInEuroCents)

An order where each line has an associated price and, optionally, an applied discount. It also has the total price. Its structure resembles the incoming order's with the difference that each line has been priced.

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

Value members

Inherited methods

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