Class StoreProductSelectionsChangedMessageImpl
- All Implemented Interfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,StoreProductSelectionsChangedMessage
,Versioned<Message>
,io.vrap.rmf.base.client.ModelBase
Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.message.StoreProductSelectionsChangedMessage
STORE_PRODUCT_SELECTIONS_CHANGED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ProductSelectionSettings that were added to the Store.Date and time (UTC) the Message was generated.Present on resources created after 1 February 2019 except for events not tracked.getId()
Unique identifier of the Message.Value ofcreatedAt
.Value ofcreatedBy
.ProductSelectionSettings that were removed from the Store.Reference to the resource on which the change or action was performed.User-provided identifiers of the resource, such askey
orexternalId
.Version of the resource on which the change or action was performed.Message number in relation to other Messages for a given resource.getType()
Message Type of the Message.ProductSelectionSettings that were updated in the Store.Version of a resource.int
hashCode()
void
setAddedProductSelections
(ProductSelectionSetting... addedProductSelections) ProductSelectionSettings that were added to the Store.void
setAddedProductSelections
(List<ProductSelectionSetting> addedProductSelections) ProductSelectionSettings that were added to the Store.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the Message was generated.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
Unique identifier of the Message.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Value ofcreatedAt
.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Value ofcreatedBy
.void
setRemovedProductSelections
(ProductSelectionSetting... removedProductSelections) ProductSelectionSettings that were removed from the Store.void
setRemovedProductSelections
(List<ProductSelectionSetting> removedProductSelections) ProductSelectionSettings that were removed from the Store.void
setResource
(Reference resource) Reference to the resource on which the change or action was performed.void
setResourceUserProvidedIdentifiers
(UserProvidedIdentifiers resourceUserProvidedIdentifiers) User-provided identifiers of the resource, such askey
orexternalId
.void
setResourceVersion
(Long resourceVersion) Version of the resource on which the change or action was performed.void
setSequenceNumber
(Long sequenceNumber) Message number in relation to other Messages for a given resource.void
setUpdatedProductSelections
(ProductSelectionSetting... updatedProductSelections) ProductSelectionSettings that were updated in the Store.void
setUpdatedProductSelections
(List<ProductSelectionSetting> updatedProductSelections) ProductSelectionSettings that were updated in the Store.void
setVersion
(Long version) Version of a resource.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
withMessage
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.StoreProductSelectionsChangedMessage
withStoreProductSelectionsChangedMessage
-
Constructor Details
-
StoreProductSelectionsChangedMessageImpl
create empty instance
-
-
Method Details
-
getId
Unique identifier of the Message. Can be used to track which Messages have been processed.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<Message>
- Specified by:
getId
in interfaceIdentifiable<Message>
- Specified by:
getId
in interfaceMessage
- Specified by:
getId
in interfaceVersioned<Message>
- Returns:
- id
-
getVersion
Version of a resource. In case of Messages, this is always
1
.- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<Message>
- Specified by:
getVersion
in interfaceMessage
- Specified by:
getVersion
in interfaceVersioned<Message>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the Message was generated.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceMessage
- Returns:
- createdAt
-
getLastModifiedAt
Value of
createdAt
.- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceMessage
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Value of
createdBy
.- Specified by:
getLastModifiedBy
in interfaceMessage
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceMessage
- Returns:
- createdBy
-
getSequenceNumber
Message number in relation to other Messages for a given resource. The
sequenceNumber
of the next Message for the resource is the successor of thesequenceNumber
of the current Message. Meaning, thesequenceNumber
of the next Message equals thesequenceNumber
of the current Message + 1.sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.- Specified by:
getSequenceNumber
in interfaceMessage
- Returns:
- sequenceNumber
-
getResource
Reference to the resource on which the change or action was performed.
- Specified by:
getResource
in interfaceMessage
- Returns:
- resource
-
getResourceVersion
Version of the resource on which the change or action was performed.
- Specified by:
getResourceVersion
in interfaceMessage
- Returns:
- resourceVersion
-
getType
Message Type of the Message.
-
getResourceUserProvidedIdentifiers
User-provided identifiers of the resource, such as
key
orexternalId
. Only present if the resource has such identifiers.- Specified by:
getResourceUserProvidedIdentifiers
in interfaceMessage
- Returns:
- resourceUserProvidedIdentifiers
-
getAddedProductSelections
ProductSelectionSettings that were added to the Store.
- Specified by:
getAddedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Returns:
- addedProductSelections
-
getRemovedProductSelections
ProductSelectionSettings that were removed from the Store.
- Specified by:
getRemovedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Returns:
- removedProductSelections
-
getUpdatedProductSelections
ProductSelectionSettings that were updated in the Store.
- Specified by:
getUpdatedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Returns:
- updatedProductSelections
-
setId
Description copied from interface:Message
Unique identifier of the Message. Can be used to track which Messages have been processed.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceMessage
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:Message
Version of a resource. In case of Messages, this is always
1
.- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceMessage
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:Message
Date and time (UTC) the Message was generated.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceMessage
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:Message
Value of
createdAt
.- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceMessage
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:Message
Value of
createdBy
.- Specified by:
setLastModifiedBy
in interfaceMessage
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:Message
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceMessage
- Parameters:
createdBy
- value to be set
-
setSequenceNumber
Description copied from interface:Message
Message number in relation to other Messages for a given resource. The
sequenceNumber
of the next Message for the resource is the successor of thesequenceNumber
of the current Message. Meaning, thesequenceNumber
of the next Message equals thesequenceNumber
of the current Message + 1.sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.- Specified by:
setSequenceNumber
in interfaceMessage
- Parameters:
sequenceNumber
- value to be set
-
setResource
Description copied from interface:Message
Reference to the resource on which the change or action was performed.
- Specified by:
setResource
in interfaceMessage
- Parameters:
resource
- value to be set
-
setResourceVersion
Description copied from interface:Message
Version of the resource on which the change or action was performed.
- Specified by:
setResourceVersion
in interfaceMessage
- Parameters:
resourceVersion
- value to be set
-
setResourceUserProvidedIdentifiers
public void setResourceUserProvidedIdentifiers(UserProvidedIdentifiers resourceUserProvidedIdentifiers) Description copied from interface:Message
User-provided identifiers of the resource, such as
key
orexternalId
. Only present if the resource has such identifiers.- Specified by:
setResourceUserProvidedIdentifiers
in interfaceMessage
- Parameters:
resourceUserProvidedIdentifiers
- value to be set
-
setAddedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were added to the Store.
- Specified by:
setAddedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
addedProductSelections
- values to be set
-
setAddedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were added to the Store.
- Specified by:
setAddedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
addedProductSelections
- values to be set
-
setRemovedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were removed from the Store.
- Specified by:
setRemovedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
removedProductSelections
- values to be set
-
setRemovedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were removed from the Store.
- Specified by:
setRemovedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
removedProductSelections
- values to be set
-
setUpdatedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were updated in the Store.
- Specified by:
setUpdatedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
updatedProductSelections
- values to be set
-
setUpdatedProductSelections
Description copied from interface:StoreProductSelectionsChangedMessage
ProductSelectionSettings that were updated in the Store.
- Specified by:
setUpdatedProductSelections
in interfaceStoreProductSelectionsChangedMessage
- Parameters:
updatedProductSelections
- values to be set
-
equals
-
hashCode
-