Package com.onslip360
Class API.OrderTicket
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.OrderTicket>
-
- com.onslip360.API.OrderTicket
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.OrderTicket>>
- Enclosing class:
- API
public static class API.OrderTicket extends Onslip360Object<API.OrderTicket>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.OrderTicket.Type
-
Constructor Summary
Constructors Constructor Description OrderTicket(String id, API.Item[] items, String name, API.OrderTicket.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
deliveryDate()
API.OrderTicket
deliveryDate(String deliveryDate)
String
id()
API.OrderTicket
id(String id)
API.Item[]
items()
API.OrderTicket
items(API.Item[] items)
String
name()
API.OrderTicket
name(String name)
API.OrderTicket.Type
type()
API.OrderTicket
type(API.OrderTicket.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
-
OrderTicket
public OrderTicket(String id, API.Item[] items, String name, API.OrderTicket.Type type)
-
-
Method Detail
-
id
@Nonnull public String id()
-
items
@Nonnull public API.Item[] items()
-
name
@Nonnull public String name()
-
type
@Nonnull public API.OrderTicket.Type type()
-
deliveryDate
@Nonnull public API.OrderTicket deliveryDate(@Nullable String deliveryDate)
-
id
@Nonnull public API.OrderTicket id(String id)
-
items
@Nonnull public API.OrderTicket items(API.Item[] items)
-
name
@Nonnull public API.OrderTicket name(String name)
-
type
@Nonnull public API.OrderTicket type(API.OrderTicket.Type type)
-
-