Package | Description |
---|---|
io.sphere.sdk.categories.messages | |
io.sphere.sdk.customers.messages | |
io.sphere.sdk.inventory.messages | |
io.sphere.sdk.messages |
Provides model classes and builders for messages.
|
io.sphere.sdk.messages.expansion |
Provides reference expansion models for messages.
|
io.sphere.sdk.messages.queries |
Provides types to retrieve the state of messages.
|
io.sphere.sdk.orders.messages |
Provides model classes and builders for orders.
|
io.sphere.sdk.payments.messages |
Provides model classes and builders for payments.
|
io.sphere.sdk.products.messages |
Provides model classes and builders for products.
|
io.sphere.sdk.productselections.messages | |
io.sphere.sdk.reviews.messages |
Provides model classes and builders for reviews.
|
io.sphere.sdk.stores.messages | |
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 | Class and Description |
---|---|
class |
CategoryCreatedMessage |
class |
CategorySlugChangedMessage |
Modifier and Type | Class and Description |
---|---|
class |
CustomerAddressAddedMessage
This message is the result of the
AddAddress update action. |
class |
CustomerAddressChangedMessage
This message is the result of the
ChangeAddress update action. |
class |
CustomerAddressRemovedMessage
This message is the result of the
RemoveAddress update action. |
class |
CustomerCompanyNameSetMessage
This message is the result of the
SetCompanyName update action. |
class |
CustomerCreatedMessage |
class |
CustomerDateOfBirthSetMessage
This message is the result of the
SetDateOfBirth update action. |
class |
CustomerDeletedMessage |
class |
CustomerEmailChangedMessage
This message is the result of the
ChangeEmail update action. |
class |
CustomerEmailVerifiedMessage
This message is the result of the
CustomerVerifyEmailCommand command. |
class |
CustomerGroupSetMessage
This message is the result of the
SetCustomerGroup update action. |
class |
CustomerPasswordUpdatedMessage
This message is the result of the
CustomerChangePasswordCommand . |
Modifier and Type | Class and Description |
---|---|
class |
InventoryEntryCreatedMessage |
class |
InventoryEntryDeletedMessage |
class |
InventoryEntryQuantitySetMessage |
Modifier and Type | Class and Description |
---|---|
class |
MessageDerivateHint<T extends Message>
TypeReference container used by query to get only messages of a certain type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GenericMessage<T>
Message for a certain Java type.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericMessageImpl<R> |
class |
MessageImpl |
Modifier and Type | Method and Description |
---|---|
static <T extends Message> |
MessageDerivateHint.ofResourceType(String resourceId,
Class<T> clazz,
String referenceTypeId) |
static <T extends Message> |
MessageDerivateHint.ofSingleMessageType(String type,
Class<T> clazz,
String referenceTypeId) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Message> |
MessageDerivateHint.clazz() |
QueryPredicate<Message> |
MessageDerivateHint.predicate() |
static Reference<Message> |
Message.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<Message> |
Message.toReference() |
Reference<Message> |
GenericMessageImpl.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<Message> |
Message.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static MessageExpansionModel<Message> |
MessageExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
default <T extends Message> |
MessageQuery.forMessageType(MessageDerivateHint<T> hint)
Creates a new query that queries only for messages that can be mapped to a certain Java type.
|
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<Message>> |
MessageByIdGet.expansionPaths() |
default Query<Message> |
MessageQuery.forMessageTypes(List<MessageDerivateHint<? extends Message>> messageHints)
Creates a new query that queries only for messages that can be mapped to certain Java types.
|
QueryPredicate<Message> |
MessageTypeQueryModel.is(MessageDerivateHint<?> hint) |
AnyReferenceQueryModel<Message> |
MessageQueryModel.resource() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<Message>> |
MessageQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleOrderMessage
Messages for an
Order . |
Modifier and Type | Class and Description |
---|---|
class |
CustomLineItemStateTransitionMessage
This message is the result of the
TransitionCustomLineItemState update action. |
class |
DeliveryAddedMessage
This message is the result of the
AddDelivery update action. |
class |
DeliveryAddressSetMessage
This message is the result of the
SetDeliveryAddress update action. |
class |
DeliveryItemsUpdatedMessage
This message is the result of the
SetDeliveryItems update action. |
class |
DeliveryRemovedMessage
This message is the result of the
RemoveDelivery update action. |
class |
LineItemStateTransitionMessage
This message is the result of the
TransitionLineItemState update action. |
class |
OrderBillingAddressSetMessage
This message may appear if the billing address of an order is changed.
|
class |
OrderCreatedMessage |
class |
OrderCustomerEmailSetMessage
This message may appear if the customer email of an order is changed.
|
class |
OrderCustomerGroupSetMessage |
class |
OrderCustomerSetMessage |
class |
OrderDeletedMessage |
class |
OrderDiscountCodeAddedMessage |
class |
OrderDiscountCodeStateSetMessage |
class |
OrderEditAppliedMessage |
class |
OrderImportedMessage
This message is created when an order is imported.
|
class |
OrderLineItemDistributionChannelSetMessage |
class |
OrderPaymentAddedMessage |
class |
OrderPaymentStateChangedMessage |
class |
OrderReturnShipmentStateChangedMessage |
class |
OrderShipmentStateChangedMessage |
class |
OrderShippingAddressSetMessage
This message may appear if the shipping address of an order is changed.
|
class |
OrderShippingInfoSetMessage |
class |
OrderStateChangedMessage |
class |
OrderStateTransitionMessage
This message is the result of the
TransitionState update action. |
class |
OrderStoreSetMessage |
class |
ParcelAddedToDeliveryMessage
This message is the result of the
AddParcelToDelivery update action. |
class |
ParcelItemsUpdatedMessage
This message is the result of the
SetParcelItems update action. |
class |
ParcelMeasurementsUpdatedMessage
This message is the result of the
SetParcelMeasurements update action. |
class |
ParcelRemovedFromDeliveryMessage
This message is the result of the
RemoveParcelFromDelivery update action. |
class |
ParcelTrackingDataUpdatedMessage
This message is the result of the
SetParcelTrackingData update action. |
class |
ReturnInfoAddedMessage |
class |
ReturnInfoSetMessage |
Modifier and Type | Class and Description |
---|---|
class |
PaymentCreatedMessage
This message is the result of a
PaymentCreateCommand . |
class |
PaymentInteractionAddedMessage
This message is the result of the
AddInterfaceInteraction update action. |
class |
PaymentStatusInterfaceCodeSetMessage |
class |
PaymentStatusStateTransitionMessage
This message is the result of the
TransitionState update action. |
class |
PaymentTransactionAddedMessage
This message is the result of the
AddTransaction update action. |
class |
PaymentTransactionStateChangedMessage
This message is the result of the
ChangeTransactionState update action. |
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleProductMessage
Messages for a
Product . |
Modifier and Type | Class and Description |
---|---|
class |
ProductAddedToCategoryMessage |
class |
ProductCreatedMessage |
class |
ProductDeletedMessage |
class |
ProductImageAddedMessage
This message is the result of the
AddExternalImage update action. |
class |
ProductPriceDiscountsSetMessage |
class |
ProductPriceExternalDiscountSetMessage |
class |
ProductPublishedMessage |
class |
ProductRemovedFromCategoryMessage |
class |
ProductRevertedStagedChangesMessage |
class |
ProductSlugChangedMessage
Message emitted by the
ChangeSlug update action. |
class |
ProductStateTransitionMessage
This message is the result of the
TransitionState update action. |
class |
ProductUnpublishedMessage |
class |
ProductVariantAddedMessage |
class |
ProductVariantDeletedMessage |
Modifier and Type | Class and Description |
---|---|
class |
ProductSelectionCreatedMessage |
class |
ProductSelectionDeletedMessage |
class |
ProductSelectionProductAddedMessage |
class |
ProductSelectionProductRemovedMessage |
Modifier and Type | Class and Description |
---|---|
class |
ReviewCreatedMessage
This message is the result of the create review request.
|
class |
ReviewRatingSetMessage
This message is the result of the
SetRating update action. |
class |
ReviewStateTransitionMessage
This message is the result of the
TransitionState update action. |
Modifier and Type | Class and Description |
---|---|
class |
StoreCreatedMessage |
class |
StoreDeletedMessage |
class |
StoreProductSelectionsChangedMessage |
Modifier and Type | Method and Description |
---|---|
default <M extends Message> |
MessageSubscriptionPayload.as(Class<M> messageClass)
Returns
MessageSubscriptionPayload.getMessage() as a message of the given message class. |
Modifier and Type | Method and Description |
---|---|
Message |
MessageSubscriptionPayload.getMessage()
The message payload will always contain the common fields:
Resource.getId()
Resource.getVersion()
getSequenceNumber()
getResourceVersion()
Resource.getCreatedAt()
Resource.getLastModifiedAt()
for any message. |