Package | Description |
---|---|
io.sphere.sdk.subscriptions |
Subscriptions are used to trigger an asynchronous background process in response to an event on commercetools Composable Commerce.
|
Modifier and Type | Method and Description |
---|---|
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.changes(List<ChangeSubscription> changes)
Sets the
changes property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.destination(Destination destination)
Sets the
destination property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.key(String key)
Sets the
key property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.messages(List<MessageSubscription> messages)
Sets the
messages property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftDsl.newBuilder()
Creates a new builder with the values of this object.
|
static SubscriptionDraftBuilder |
SubscriptionDraftBuilder.of(Destination destination)
Creates a new object initialized with the given values.
|
static SubscriptionDraftBuilder |
SubscriptionDraftBuilder.of(SubscriptionDraft template)
Creates a new object initialized with the fields of the template parameter.
|
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusChanges(ChangeSubscription changes)
Adds
changes parameter to the changes list property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusChanges(List<ChangeSubscription> changes)
Concatenate
changes parameter to the changes list property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusMessages(List<MessageSubscription> messages)
Concatenate
messages parameter to the messages list property of this builder. |
SubscriptionDraftBuilder |
SubscriptionDraftBuilder.plusMessages(MessageSubscription messages)
Adds
messages parameter to the messages list property of this builder. |