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