IncomingOrder
final case class IncomingOrder(id: OrderID, orderLines: NonEmptyList[IncomingOrderLine], client: Client, deliveryDate: LocalDateTime, deliveryLocation: Location)
A set of order lines with their respective quantity (e.g. 1000 ricotte of 0.5kg, 50 squacqueroni of 1 kg), it also contains data about the client, an expected delivery date and the delivery location.
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any