Class OrderLineItemDistributionChannelSetMessageImpl
- All Implemented Interfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,OrderLineItemDistributionChannelSetMessage
,OrderMessage
,Versioned<Message>
,io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Line Item Distribution Channel 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.OrderLineItemDistributionChannelSetMessage
ORDER_LINE_ITEM_DISTRIBUTION_CHANNEL_SET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Date and time (UTC) the Message was generated.Present on resources created after 1 February 2019 except for events not tracked.Distribution Channel that was set.getId()
Unique identifier of the Message.Value ofcreatedAt
.Value ofcreatedBy
.Unique identifier of the Line Item.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.Version of a resource.int
hashCode()
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
setDistributionChannel
(ChannelReference distributionChannel) Distribution Channel that was set.void
Unique identifier of the Message.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Value ofcreatedAt
.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Value ofcreatedBy
.void
setLineItemId
(String lineItemId) Unique identifier of the Line Item.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
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.OrderLineItemDistributionChannelSetMessage
withOrderLineItemDistributionChannelSetMessage
Methods inherited from interface com.commercetools.api.models.message.OrderMessage
withOrderMessage
-
Constructor Details
-
OrderLineItemDistributionChannelSetMessageImpl
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
-
getLineItemId
Unique identifier of the Line Item.
- Specified by:
getLineItemId
in interfaceOrderLineItemDistributionChannelSetMessage
- Returns:
- lineItemId
-
getDistributionChannel
Distribution Channel that was set.
- Specified by:
getDistributionChannel
in interfaceOrderLineItemDistributionChannelSetMessage
- Returns:
- distributionChannel
-
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
-
setLineItemId
Description copied from interface:OrderLineItemDistributionChannelSetMessage
Unique identifier of the Line Item.
- Specified by:
setLineItemId
in interfaceOrderLineItemDistributionChannelSetMessage
- Parameters:
lineItemId
- value to be set
-
setDistributionChannel
Description copied from interface:OrderLineItemDistributionChannelSetMessage
Distribution Channel that was set.
- Specified by:
setDistributionChannel
in interfaceOrderLineItemDistributionChannelSetMessage
- Parameters:
distributionChannel
- value to be set
-
equals
-
hashCode
-