Package | Description |
---|---|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
OrderFromCartDraftDsl |
OrderFromCartDraftBuilder.build()
Creates a new instance of
OrderFromCartDraftDsl with the values of this builder. |
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(OrderFromCartDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(ResourceIdentifier<Cart> cart,
Long version)
Creates a new object initialized with the given values.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(ResourceIdentifier<Cart> cart,
Long version,
String orderNumber,
PaymentState paymentState)
Creates a new object initialized with the given values.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(String id,
Long version)
Creates a new object initialized with the given values.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(String id,
Long version,
String orderNumber,
PaymentState paymentState)
Creates a new object initialized with the given values.
|
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withCart(ResourceIdentifier<Cart> cart) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withCustom(CustomFieldsDraft custom) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withId(String id)
Deprecated.
This method will be removed with the next major SDK update.
|
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withOrderNumber(String orderNumber) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withOrderState(OrderState orderState) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withPaymentState(PaymentState paymentState) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withShipmentState(ShipmentState shipmentState) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withState(Referenceable<State> state) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withVersion(Long version) |