Package | Description |
---|---|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.orders.commands |
Provides types to change the state of orders.
|
Modifier and Type | Class and Description |
---|---|
class |
OrderFromCartDraftDsl
Dsl class for
OrderFromCartDraft . |
Modifier and Type | Method and Description |
---|---|
static OrderFromCartDraft |
OrderFromCartDraft.of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version) |
static OrderFromCartDraft |
OrderFromCartDraft.of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version,
String orderNumber,
PaymentState paymentState) |
static OrderFromCartDraft |
OrderFromCartDraft.of(Versioned<Cart> cart) |
static OrderFromCartDraft |
OrderFromCartDraft.of(Versioned<Cart> cart,
String orderNumber,
PaymentState paymentState) |
Modifier and Type | Method and Description |
---|---|
static OrderFromCartDraftBuilder |
OrderFromCartDraftBuilder.of(OrderFromCartDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(OrderFromCartDraft template)
Creates a new object initialized with the fields of the template parameter.
|
Modifier and Type | Method and Description |
---|---|
static OrderFromCartCreateCommand |
OrderFromCartCreateCommand.of(OrderFromCartDraft draft) |
static OrderFromCartInStoreCreateCommand |
OrderFromCartInStoreCreateCommand.of(String storeKey,
OrderFromCartDraft draft) |