Package com.onslip360
Class API.Order
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Order>
-
- com.onslip360.API.Order
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Order>>
- Enclosing class:
- API
public static class API.Order extends Onslip360Object<API.Order>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.Order.State
static class
API.Order.Type
-
Constructor Summary
Constructors Constructor Description Order(Long location, String name, API.Order.State state)
-
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
-
Order
public Order(Long location, String name, API.Order.State state)
-
-
Method Detail
-
location
@Nonnull public Long location()
-
name
@Nonnull public String name()
-
payments
@Nonnull public Optional<API.Payment[]> payments()
-
state
@Nonnull public API.Order.State state()
-
type
@Nonnull public Optional<API.Order.Type> type()
-
payments
@Nonnull public API.Order payments(@Nullable API.Payment[] payments)
-
state
@Nonnull public API.Order state(API.Order.State state)
-
type
@Nonnull public API.Order type(@Nullable API.Order.Type type)
-
-