Package | Description |
---|---|
io.sphere.sdk.orderedits | |
io.sphere.sdk.orderedits.queries | |
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.commands |
Provides types to change the state of orders.
|
io.sphere.sdk.orders.commands.updateactions |
Provides the possible operations which can be performed on update commands for orders.
|
io.sphere.sdk.orders.expansion |
Provides reference expansion models for orders.
|
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.queries |
Provides types to retrieve the state of orders.
|
Modifier and Type | Method and Description |
---|---|
Order |
OrderEditPreviewSuccess.getPreview() |
Modifier and Type | Method and Description |
---|---|
Reference<Order> |
OrderEditDraft.getResource() |
Reference<Order> |
OrderEdit.getResource() |
Reference<Order> |
OrderEditDraftBuilder.getResource() |
Reference<Order> |
OrderEditDraftDsl.getResource() |
Modifier and Type | Method and Description |
---|---|
static OrderEditDraftBuilder |
OrderEditDraftBuilder.of(Reference<Order> resource,
List<StagedUpdateAction<OrderEdit>> stagedActions)
Creates a new object initialized with the given values.
|
static OrderEditDraftDsl |
OrderEditDraftDsl.of(Reference<Order> resource,
List<StagedUpdateAction<OrderEdit>> stagedActions)
Creates a new object initialized with the given values.
|
static OrderEditDraftBuilder |
OrderEditDraftBuilder.of(String key,
Reference<Order> resource,
List<StagedUpdateAction<OrderEdit>> stagedActions,
CustomFieldsDraft custom,
String comment,
Boolean dryRun)
Creates a new object initialized with the given values.
|
static OrderEditDraftDsl |
OrderEditDraftDsl.of(String key,
Reference<Order> resource,
List<StagedUpdateAction<OrderEdit>> stagedActions,
CustomFieldsDraft custom,
String comment,
Boolean dryRun)
Creates a new object initialized with the given values.
|
OrderEditDraftBuilder |
OrderEditDraftBuilder.resource(Referenceable<Order> resource)
Sets the
resource property of this builder. |
OrderEditDraftDsl |
OrderEditDraftDsl.withResource(Referenceable<Order> resource) |
Modifier and Type | Method and Description |
---|---|
ReferenceQueryModel<OrderEdit,Order> |
OrderEditQueryModel.resource() |
Modifier and Type | Method and Description |
---|---|
static Reference<Order> |
Order.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Order> |
Order.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Order> |
Order.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByOrderNumberCommand.of(String storeKey,
String orderNumber,
Long version,
List<UpdateAction<Order>> updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByOrderNumberCommand.of(String storeKey,
String orderNumber,
Long version,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderInStoreDeleteByIdCommand |
OrderInStoreDeleteByIdCommand.of(String storeKey,
Versioned<Order> versioned) |
static OrderInStoreDeleteByIdCommand |
OrderInStoreDeleteByIdCommand.of(String storeKey,
Versioned<Order> versioned,
boolean eraseData) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderInStoreUpdateByOrderNumberCommand |
OrderInStoreUpdateByIdCommand.of(String storeKey,
Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions) |
static OrderDeleteCommand |
OrderDeleteCommand.of(Versioned<Order> versioned)
Creates a command object to delete a
Order by ID. |
static OrderDeleteCommand |
OrderDeleteCommand.of(Versioned<Order> versioned,
boolean eraseData)
Creates a command object to delete a
Order by ID. |
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its ID using several update actions.
|
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its ID using several update actions.
|
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions)
Creates a command to update a Order selected by its ID using one update action.
|
static OrderUpdateCommand |
OrderUpdateCommand.of(Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions)
Creates a command to update a Order selected by its ID using one update action.
|
static OrderUpdateCommand |
OrderUpdateCommand.ofOrderNumber(String orderNumber,
Long version,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its orderNumber using several update actions.
|
static OrderUpdateCommand |
OrderUpdateCommand.ofOrderNumber(String orderNumber,
Long version,
UpdateAction<Order> updateAction)
Creates a command to update a Order selected by its orderNumber using one update action.
|
Modifier and Type | Method and Description |
---|---|
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState) |
static UpdateAction<Order> |
TransitionCustomLineItemState.of(CustomLineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState,
ZonedDateTime actualTransitionDate) |
static UpdateAction<Order> |
TransitionLineItemState.of(LineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState) |
static UpdateAction<Order> |
TransitionLineItemState.of(LineItem lineItem,
long quantity,
Referenceable<State> fromState,
Referenceable<State> toState,
ZonedDateTime actualTransitionDate) |
Modifier and Type | Method and Description |
---|---|
static OrderExpansionModel<Order> |
OrderExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
Order |
OrderCreatedMessage.getOrder()
Gets the order object at creation time.
|
Order |
OrderDeletedMessage.getOrder() |
Order |
OrderImportedMessage.getOrder()
Gets the order object at creation time.
|