Package com.dzidzi.dto.orderItem
Class OrderItem
java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.orderItem.OrderItemEntityApi
com.dzidzi.dto.orderItem.OrderItem
Represents an order item of the Api.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOrderItem(UUID id, int quantity, MenuExtraComposition menu, MenuExtraComposition extra, OrderEntityApi order) -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderItem.Builderbuilder()getExtra()The extra of the order itemgetMenu()The menu item of the order itemgetOrder()TheOrderthe order item is related tovoidsetExtra(MenuExtraComposition extra) The extra of the order itemvoidsetMenu(MenuExtraComposition menu) The menu item of the order itemvoidsetOrder(OrderEntityApi order) TheOrderthe order item is related toMethods inherited from class com.dzidzi.dto.orderItem.OrderItemEntityApi
getQuantity
-
Constructor Details
-
OrderItem
public OrderItem(UUID id, int quantity, MenuExtraComposition menu, MenuExtraComposition extra, OrderEntityApi order)
-
-
Method Details