Package | Description |
---|---|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
io.sphere.sdk.carts.queries |
Provides types to retrieve the state of carts.
|
io.sphere.sdk.discountcodes |
Provides model classes and builders for discount codes.
|
io.sphere.sdk.discountcodes.commands |
Provides types to change the state of discount codes.
|
io.sphere.sdk.discountcodes.expansion |
Provides reference expansion models for discount codes.
|
io.sphere.sdk.discountcodes.queries |
Provides types to retrieve the state of discount codes.
|
io.sphere.sdk.orderedits.commands.stagedactions | |
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
Modifier and Type | Method and Description |
---|---|
Reference<DiscountCode> |
RemoveDiscountCode.getDiscountCode() |
Modifier and Type | Method and Description |
---|---|
static AddDiscountCode |
AddDiscountCode.of(DiscountCode code) |
Modifier and Type | Method and Description |
---|---|
static RemoveDiscountCode |
RemoveDiscountCode.of(Referenceable<DiscountCode> discountCode) |
Modifier and Type | Method and Description |
---|---|
ReferenceQueryModel<T,DiscountCode> |
DiscountCodeInfoCollectionQueryModel.discountCode() |
Modifier and Type | Method and Description |
---|---|
Reference<DiscountCode> |
DiscountCodeInfo.getDiscountCode() |
static Reference<DiscountCode> |
DiscountCode.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<DiscountCode> |
DiscountCode.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<DiscountCode> |
DiscountCode.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static DiscountCodeInfo |
DiscountCodeInfo.of(Referenceable<DiscountCode> discountCode,
DiscountCodeState state) |
Modifier and Type | Method and Description |
---|---|
static DiscountCodeDeleteCommand |
DiscountCodeDeleteCommand.of(Versioned<DiscountCode> versioned)
Creates a command object to delete a
DiscountCode by ID. |
static DiscountCodeDeleteCommand |
DiscountCodeDeleteCommand.of(Versioned<DiscountCode> versioned,
boolean eraseData)
Creates a command object to delete a
DiscountCode by ID. |
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
List<? extends UpdateAction<DiscountCode>> updateActions)
Creates a command to update a DiscountCode selected by its ID using several update actions.
|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
List<? extends UpdateAction<DiscountCode>> updateActions)
Creates a command to update a DiscountCode selected by its ID using several update actions.
|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
UpdateAction<DiscountCode> updateAction,
UpdateAction<DiscountCode>... updateActions)
Creates a command to update a DiscountCode selected by its ID using one update action.
|
static DiscountCodeUpdateCommand |
DiscountCodeUpdateCommand.of(Versioned<DiscountCode> versioned,
UpdateAction<DiscountCode> updateAction,
UpdateAction<DiscountCode>... updateActions)
Creates a command to update a DiscountCode selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static DiscountCodeExpansionModel<DiscountCode> |
DiscountCodeExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
StringQuerySortingModel<DiscountCode> |
DiscountCodeQueryModel.code() |
List<ExpansionPath<DiscountCode>> |
DiscountCodeByIdGet.expansionPaths() |
StringCollectionQueryModel<DiscountCode> |
DiscountCodeQueryModel.groups() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<DiscountCode>> |
DiscountCodeQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
Modifier and Type | Method and Description |
---|---|
Reference<DiscountCode> |
RemoveDiscountCode.getDiscountCode() |
Modifier and Type | Method and Description |
---|---|
static AddDiscountCode |
AddDiscountCode.of(DiscountCode code) |
Modifier and Type | Method and Description |
---|---|
static RemoveDiscountCode |
RemoveDiscountCode.of(Referenceable<DiscountCode> discountCode) |
Modifier and Type | Method and Description |
---|---|
Reference<DiscountCode> |
OrderDiscountCodeAddedMessage.getDiscountCode() |
Reference<DiscountCode> |
OrderDiscountCodeStateSetMessage.getDiscountCode() |