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.updateactions |
Provides the possible operations which can be performed on update commands for subscription methods.
|
Modifier and Type | Method and Description |
---|---|
static MessageSubscription |
MessageSubscription.of(String resourceTypeId)
Creates a message subscription for all message types of the given resource type.
|
static MessageSubscription |
MessageSubscription.of(String resourceTypeId,
List<String> types)
Creates a message subscription for the given messages types of the given resource type.
|
Modifier and Type | Method and Description |
---|---|
List<MessageSubscription> |
SubscriptionDraft.getMessages() |
List<MessageSubscription> |
Subscription.getMessages() |
List<MessageSubscription> |
SubscriptionDraftDsl.getMessages() |
List<MessageSubscription> |
SubscriptionDraftBuilder.getMessages() |
Modifier and Type | Method and Description |
---|---|
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusMessages(MessageSubscription messages)
Adds
messages parameter to the messages list property of this builder. |
Modifier and Type | Method and Description |
---|---|
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.messages(List<MessageSubscription> messages)
Sets the
messages property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusMessages(List<MessageSubscription> messages)
Concatenate
messages parameter to the messages list property of this builder. |
SubscriptionDraftDsl |
SubscriptionDraftDsl.withMessages(List<MessageSubscription> messages) |
Modifier and Type | Method and Description |
---|---|
List<MessageSubscription> |
SetMessages.getMessages() |
Modifier and Type | Method and Description |
---|---|
static SetMessages |
SetMessages.of(List<MessageSubscription> messages)
Creates a update action to set the messages.
|