Package | Description |
---|---|
io.sphere.sdk.subscriptions.commands |
Provides types to change the state of subscription methods.
|
Modifier and Type | Method and Description |
---|---|
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.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.
|