Package | Description |
---|---|
io.sphere.sdk.subscriptions |
Subscriptions are used to trigger an asynchronous background process in response to an event on commercetools Composable Commerce.
|
io.sphere.sdk.subscriptions.commands |
Provides types to change the state of subscription methods.
|
io.sphere.sdk.subscriptions.expansion |
Provides reference expansion models for subscriptions.
|
io.sphere.sdk.subscriptions.queries |
Modifier and Type | Method and Description |
---|---|
static Reference<Subscription> |
Subscription.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Subscription> |
Subscription.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Subscription> |
Subscription.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionDeleteCommand |
SubscriptionDeleteCommand.of(Versioned<Subscription> versioned)
Creates a command object to delete a
Subscription by ID. |
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its ID using several update actions.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its ID using several update actions.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
UpdateAction<Subscription> updateAction,
UpdateAction<Subscription>... updateActions)
Creates a command to update a Subscription selected by its ID using one update action.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.of(Versioned<Subscription> versioned,
UpdateAction<Subscription> updateAction,
UpdateAction<Subscription>... updateActions)
Creates a command to update a Subscription selected by its ID using one update action.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Subscription>> updateActions)
Creates a command to update a Subscription selected by its key using several update actions.
|
static SubscriptionUpdateCommand |
SubscriptionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Subscription> updateAction)
Creates a command to update a Subscription selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionExpansionModel<Subscription> |
SubscriptionExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<Subscription>> |
SubscriptionByIdGet.expansionPaths() |
List<ExpansionPath<Subscription>> |
SubscriptionByKeyGet.expansionPaths() |
StringQuerySortingModel<Subscription> |
SubscriptionQueryModel.key() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<Subscription>> |
SubscriptionQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|