Class CustomLineItemStateTransitionMessagePayloadImpl
- All Implemented Interfaces:
CustomLineItemStateTransitionMessagePayload
,MessagePayload
,MessagePayloadMixin
,OrderMessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated after a successful Transition CustomLineItem State 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.CustomLineItemStateTransitionMessagePayload
CUSTOM_LINE_ITEM_STATE_TRANSITION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Unique identifier of the Custom Line Item.User-defined unique identifier of the Custom Line Item.State the Custom Line Item was transitioned from.Number of Custom Line Items for which the State was transitioned.State the Custom Line Item was transitioned to.Date and time (UTC) when the transition of the Custom Line Item State was performed.getType()
int
hashCode()
void
setCustomLineItemId
(String customLineItemId) Unique identifier of the Custom Line Item.void
setCustomLineItemKey
(String customLineItemKey) User-defined unique identifier of the Custom Line Item.void
setFromState
(StateReference fromState) State the Custom Line Item was transitioned from.void
setQuantity
(Long quantity) Number of Custom Line Items for which the State was transitioned.void
setToState
(StateReference toState) State the Custom Line Item was transitioned to.void
setTransitionDate
(ZonedDateTime transitionDate) Date and time (UTC) when the transition of the Custom Line Item State was performed.toString()
Methods inherited from interface com.commercetools.api.models.message.CustomLineItemStateTransitionMessagePayload
withCustomLineItemStateTransitionMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
CustomLineItemStateTransitionMessagePayloadImpl
public CustomLineItemStateTransitionMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCustomLineItemId
Unique identifier of the Custom Line Item.
- Specified by:
getCustomLineItemId
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- customLineItemId
-
getCustomLineItemKey
User-defined unique identifier of the Custom Line Item.
- Specified by:
getCustomLineItemKey
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- customLineItemKey
-
getTransitionDate
Date and time (UTC) when the transition of the Custom Line Item State was performed.
- Specified by:
getTransitionDate
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- transitionDate
-
getQuantity
Number of Custom Line Items for which the State was transitioned.
- Specified by:
getQuantity
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- quantity
-
getFromState
State the Custom Line Item was transitioned from.
- Specified by:
getFromState
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- fromState
-
getToState
State the Custom Line Item was transitioned to.
- Specified by:
getToState
in interfaceCustomLineItemStateTransitionMessagePayload
- Returns:
- toState
-
setCustomLineItemId
Description copied from interface:CustomLineItemStateTransitionMessagePayload
Unique identifier of the Custom Line Item.
- Specified by:
setCustomLineItemId
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:CustomLineItemStateTransitionMessagePayload
User-defined unique identifier of the Custom Line Item.
- Specified by:
setCustomLineItemKey
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
customLineItemKey
- value to be set
-
setTransitionDate
Description copied from interface:CustomLineItemStateTransitionMessagePayload
Date and time (UTC) when the transition of the Custom Line Item State was performed.
- Specified by:
setTransitionDate
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
transitionDate
- value to be set
-
setQuantity
Description copied from interface:CustomLineItemStateTransitionMessagePayload
Number of Custom Line Items for which the State was transitioned.
- Specified by:
setQuantity
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
quantity
- value to be set
-
setFromState
Description copied from interface:CustomLineItemStateTransitionMessagePayload
State the Custom Line Item was transitioned from.
- Specified by:
setFromState
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
fromState
- value to be set
-
setToState
Description copied from interface:CustomLineItemStateTransitionMessagePayload
State the Custom Line Item was transitioned to.
- Specified by:
setToState
in interfaceCustomLineItemStateTransitionMessagePayload
- Parameters:
toState
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-