Package com.onslip360
Class API.Item
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Item>
-
- com.onslip360.API.Item
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Item>>
- Enclosing class:
- API
public static class API.Item extends Onslip360Object<API.Item>
-
-
Constructor Summary
Constructors Constructor Description Item(String productName, Float quantity, API.ProductGroup.Type type)
-
Method Summary
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
Item
public Item(String productName, Float quantity, API.ProductGroup.Type type)
-
-
Method Detail
-
metadata
@Nonnull public Optional<API.Metadata> metadata()
-
modifiers
@Nonnull public Optional<API.ItemModifier[]> modifiers()
-
productName
@Nonnull public String productName()
-
quantity
@Nonnull public Float quantity()
-
type
@Nonnull public API.ProductGroup.Type type()
-
lastKitchenTicketItem
@Nonnull public API.Item lastKitchenTicketItem(@Nullable API.Item lastKitchenTicketItem)
-
metadata
@Nonnull public API.Item metadata(@Nullable API.Metadata metadata)
-
modifiers
@Nonnull public API.Item modifiers(@Nullable API.ItemModifier[] modifiers)
-
type
@Nonnull public API.Item type(API.ProductGroup.Type type)
-
-