public interface OrderFromCartDraft
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Cart> |
getCart() |
CustomFieldsDraft |
getCustom() |
String |
getId()
Deprecated.
use
getCart() instead |
String |
getOrderNumber() |
OrderState |
getOrderState() |
PaymentState |
getPaymentState() |
ShipmentState |
getShipmentState() |
Reference<State> |
getState() |
Long |
getVersion() |
static OrderFromCartDraft |
of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version) |
static OrderFromCartDraft |
of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version,
String orderNumber,
PaymentState paymentState) |
static OrderFromCartDraft |
of(Versioned<Cart> cart) |
static OrderFromCartDraft |
of(Versioned<Cart> cart,
String orderNumber,
PaymentState paymentState) |
@Deprecated @Nullable String getId()
getCart()
insteadResourceIdentifier<Cart> getCart()
Long getVersion()
@Nullable PaymentState getPaymentState()
@Nullable OrderState getOrderState()
@Nullable ShipmentState getShipmentState()
@Nullable CustomFieldsDraft getCustom()
static OrderFromCartDraft of(Versioned<Cart> cart, @Nullable String orderNumber, @Nullable PaymentState paymentState)
static OrderFromCartDraft of(Versioned<Cart> cart)
static OrderFromCartDraft of(ResourceIdentifier<Cart> cartResourceIdentifier, Long version, @Nullable String orderNumber, @Nullable PaymentState paymentState)
static OrderFromCartDraft of(ResourceIdentifier<Cart> cartResourceIdentifier, Long version)