Package | Description |
---|---|
io.sphere.sdk.subscriptions.commands |
Provides types to change the state of subscription methods.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionDeleteCommand |
SubscriptionDeleteCommand.of(Versioned<Subscription> versioned)
Creates a command object to delete a
Subscription by ID. |
static SubscriptionDeleteCommand |
SubscriptionDeleteCommand.ofKey(String key,
Long version)
Creates a command object to delete a
Subscription by its key. |