Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.carts.commands |
Provides types to change the state of carts.
|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.carts.expansion |
Provides reference expansion models for carts.
|
io.sphere.sdk.carts.queries |
Provides types to retrieve the state of carts.
|
io.sphere.sdk.customers |
Provides model classes and builders for customers.
|
io.sphere.sdk.customers.commands |
Provides types to change the state of customers.
|
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.queries |
Provides types to retrieve the state of orders.
|
io.sphere.sdk.shippingmethods.queries |
Provides types to retrieve the state of shipping methods.
|
Modifier and Type | Field and Description |
---|---|
static JsonEndpoint<Cart> |
CartEndpoint.ENDPOINT |
Modifier and Type | Method and Description |
---|---|
static Reference<Cart> |
Cart.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Cart> |
Cart.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Cart> |
Cart.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static CartInStoreDeleteCommand |
CartInStoreDeleteCommand.of(String storeKey,
Versioned<Cart> versioned) |
static CartInStoreDeleteCommand |
CartInStoreDeleteCommand.of(String storeKey,
Versioned<Cart> versioned,
boolean eraseData) |
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions) |
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions) |
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions) |
static CartInStoreUpdateCommand |
CartInStoreUpdateCommand.of(String storeKey,
Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions) |
static CartDeleteCommand |
CartDeleteCommand.of(Versioned<Cart> versioned)
Creates a command object to delete a
Cart by ID. |
static CartDeleteCommand |
CartDeleteCommand.of(Versioned<Cart> versioned,
boolean eraseData)
Creates a command object to delete a
Cart by ID. |
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions)
Creates a command to update a Cart selected by its ID using several update actions.
|
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
List<? extends UpdateAction<Cart>> updateActions)
Creates a command to update a Cart selected by its ID using several update actions.
|
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions)
Creates a command to update a Cart selected by its ID using one update action.
|
static CartUpdateCommand |
CartUpdateCommand.of(Versioned<Cart> versioned,
UpdateAction<Cart> updateAction,
UpdateAction<Cart>... updateActions)
Creates a command to update a Cart selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static UpdateAction<Cart> |
ChangeCustomLineItemQuantity.of(CustomLineItem lineItem,
long quantity) |
static UpdateAction<Cart> |
ChangeCustomLineItemMoney.of(CustomLineItem lineItem,
javax.money.MonetaryAmount money) |
static UpdateAction<Cart> |
ChangeLineItemQuantity.of(LineItem lineItem,
long quantity) |
Modifier and Type | Method and Description |
---|---|
static CartExpansionModel<Cart> |
CartExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
Cart |
CustomerSignInResult.getCart()
A cart belonging to the customer or null.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Cart> |
CustomerDraft.getAnonymousCart() |
Modifier and Type | Method and Description |
---|---|
CustomerDraftDsl |
CustomerDraftDsl.withCart(Referenceable<Cart> cart)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Cart> |
CustomerSignInCommand.getAnonymousCart() |
ResourceIdentifier<Cart> |
CustomerInStoreSignInCommand.getAnonymousCart() |
Modifier and Type | Method and Description |
---|---|
static CustomerSignInCommand |
CustomerSignInCommand.of(String email,
String password,
ResourceIdentifier<Cart> anonymousCart) |
static CustomerInStoreSignInCommand |
CustomerInStoreSignInCommand.of(String storeKey,
String email,
String password,
ResourceIdentifier<Cart> anonymousCart) |
CustomerSignInCommand |
CustomerSignInCommand.withAnonymousCart(ResourceIdentifier<Cart> anonymousCart) |
CustomerInStoreSignInCommand |
CustomerInStoreSignInCommand.withAnonymousCart(String storeKey,
ResourceIdentifier<Cart> anonymousCart) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Cart> |
OrderFromCartDraft.getCart() |
Reference<Cart> |
Order.getCart()
Set when this order was created from a cart.
|
ResourceIdentifier<Cart> |
OrderFromCartDraftBuilder.getCart() |
ResourceIdentifier<Cart> |
OrderFromCartDraftDsl.getCart() |
Modifier and Type | Method and Description |
---|---|
OrderFromCartDraftBuilder |
OrderFromCartDraftBuilder.cart(ResourceIdentifier<Cart> cart)
Sets the
cart property of this builder. |
static OrderFromCartDraft |
OrderFromCartDraft.of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version) |
static OrderFromCartDraftBuilder |
OrderFromCartDraftBuilder.of(ResourceIdentifier<Cart> cart,
Long version)
Creates a new object initialized with the given values.
|
static OrderFromCartDraftDsl |
OrderFromCartDraftDsl.of(ResourceIdentifier<Cart> cart,
Long version)
Creates a new object initialized with the given values.
|
static OrderFromCartDraft |
OrderFromCartDraft.of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version,
String orderNumber,
PaymentState paymentState) |
static OrderFromCartDraftBuilder |
OrderFromCartDraftBuilder.of(ResourceIdentifier<Cart> cart,
Long version,
String orderNumber,
PaymentState paymentState)
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 OrderFromCartDraft |
OrderFromCartDraft.of(Versioned<Cart> cart) |
static OrderFromCartDraft |
OrderFromCartDraft.of(Versioned<Cart> cart,
String orderNumber,
PaymentState paymentState) |
OrderFromCartDraftDsl |
OrderFromCartDraftDsl.withCart(ResourceIdentifier<Cart> cart) |
Modifier and Type | Method and Description |
---|---|
static OrderFromCartCreateCommand |
OrderFromCartCreateCommand.of(ResourceIdentifier<Cart> cartResourceIdentifier,
Long version) |
static OrderFromCartInStoreCreateCommand |
OrderFromCartInStoreCreateCommand.of(String storeKey,
ResourceIdentifier<Cart> cartResourceIdentifier,
Long version) |
static OrderFromCartInStoreCreateCommand |
OrderFromCartInStoreCreateCommand.of(String storeKey,
Versioned<Cart> cart) |
static OrderFromCartCreateCommand |
OrderFromCartCreateCommand.of(Versioned<Cart> cart) |
Modifier and Type | Method and Description |
---|---|
ReferenceOptionalQueryModel<Order,Cart> |
OrderQueryModel.cart() |
Modifier and Type | Method and Description |
---|---|
static ShippingMethodsByCartGet |
ShippingMethodsByCartGet.of(Referenceable<Cart> cart) |