Package com.onslip360
Class API.ProductEntry
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ProductEntry>
-
- com.onslip360.API.ProductEntry
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.ProductEntry>>
- Enclosing class:
- API
public static class API.ProductEntry extends Onslip360Object<API.ProductEntry>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.ProductEntry.Type
-
Constructor Summary
Constructors Constructor Description ProductEntry(API.ProductEntry.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<API.Stored_Product>
product()
API.ProductEntry
product(API.Stored_Product product)
Optional<API.Stored_ProductGroup>
productGroup()
API.ProductEntry
productGroup(API.Stored_ProductGroup productGroup)
API.ProductEntry.Type
type()
API.ProductEntry
type(API.ProductEntry.Type type)
-
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
-
ProductEntry
public ProductEntry(API.ProductEntry.Type type)
-
-
Method Detail
-
product
@Nonnull public Optional<API.Stored_Product> product()
-
productGroup
@Nonnull public Optional<API.Stored_ProductGroup> productGroup()
-
type
@Nonnull public API.ProductEntry.Type type()
-
product
@Nonnull public API.ProductEntry product(@Nullable API.Stored_Product product)
-
productGroup
@Nonnull public API.ProductEntry productGroup(@Nullable API.Stored_ProductGroup productGroup)
-
type
@Nonnull public API.ProductEntry type(API.ProductEntry.Type type)
-
-