Class OrderLineItemRemovedMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,OrderLineItemRemovedMessagePayload
,OrderMessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated after a successful Remove LineItem 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.OrderLineItemRemovedMessagePayload
ORDER_LINE_ITEM_REMOVED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Unique identifier of the Line Item.User-defined unique identifier of the LineItem.Price of the Order after the Remove Line Item update action.Line Item quantity after the Remove Line Item update action.Shipping Details of the Order after the Remove Line Item update action.ItemStates after the Remove Line Item update action.TaxedItemPrice of the Order after the Remove Line Item update action.totalPrice
of the Order after the Remove Line Item update action.Quantity of Line Items that were removed during the Remove Line Item update action.getType()
int
hashCode()
void
setLineItemId
(String lineItemId) Unique identifier of the Line Item.void
setLineItemKey
(String lineItemKey) User-defined unique identifier of the LineItem.void
setNewPrice
(Price newPrice) Price of the Order after the Remove Line Item update action.void
setNewQuantity
(Long newQuantity) Line Item quantity after the Remove Line Item update action.void
setNewShippingDetail
(ItemShippingDetails newShippingDetail) Shipping Details of the Order after the Remove Line Item update action.void
setNewState
(ItemState... newState) ItemStates after the Remove Line Item update action.void
setNewState
(List<ItemState> newState) ItemStates after the Remove Line Item update action.void
setNewTaxedPrice
(TaxedItemPrice newTaxedPrice) TaxedItemPrice of the Order after the Remove Line Item update action.void
setNewTotalPrice
(CentPrecisionMoney newTotalPrice) totalPrice
of the Order after the Remove Line Item update action.void
setRemovedQuantity
(Long removedQuantity) Quantity of Line Items that were removed during the Remove Line Item update action.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.message.OrderLineItemRemovedMessagePayload
withOrderLineItemRemovedMessagePayload
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
OrderLineItemRemovedMessagePayloadImpl
create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getLineItemId
Unique identifier of the Line Item.
- Specified by:
getLineItemId
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- lineItemId
-
getLineItemKey
User-defined unique identifier of the LineItem.
- Specified by:
getLineItemKey
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- lineItemKey
-
getRemovedQuantity
Quantity of Line Items that were removed during the Remove Line Item update action.
- Specified by:
getRemovedQuantity
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- removedQuantity
-
getNewQuantity
Line Item quantity after the Remove Line Item update action.
- Specified by:
getNewQuantity
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newQuantity
-
getNewState
ItemStates after the Remove Line Item update action.
- Specified by:
getNewState
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newState
-
getNewTotalPrice
totalPrice
of the Order after the Remove Line Item update action.- Specified by:
getNewTotalPrice
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newTotalPrice
-
getNewTaxedPrice
TaxedItemPrice of the Order after the Remove Line Item update action.
- Specified by:
getNewTaxedPrice
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newTaxedPrice
-
getNewPrice
Price of the Order after the Remove Line Item update action.
- Specified by:
getNewPrice
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newPrice
-
getNewShippingDetail
Shipping Details of the Order after the Remove Line Item update action.
- Specified by:
getNewShippingDetail
in interfaceOrderLineItemRemovedMessagePayload
- Returns:
- newShippingDetail
-
setLineItemId
Description copied from interface:OrderLineItemRemovedMessagePayload
Unique identifier of the Line Item.
- Specified by:
setLineItemId
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:OrderLineItemRemovedMessagePayload
User-defined unique identifier of the LineItem.
- Specified by:
setLineItemKey
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
lineItemKey
- value to be set
-
setRemovedQuantity
Description copied from interface:OrderLineItemRemovedMessagePayload
Quantity of Line Items that were removed during the Remove Line Item update action.
- Specified by:
setRemovedQuantity
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
removedQuantity
- value to be set
-
setNewQuantity
Description copied from interface:OrderLineItemRemovedMessagePayload
Line Item quantity after the Remove Line Item update action.
- Specified by:
setNewQuantity
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newQuantity
- value to be set
-
setNewState
Description copied from interface:OrderLineItemRemovedMessagePayload
ItemStates after the Remove Line Item update action.
- Specified by:
setNewState
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newState
- values to be set
-
setNewState
Description copied from interface:OrderLineItemRemovedMessagePayload
ItemStates after the Remove Line Item update action.
- Specified by:
setNewState
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newState
- values to be set
-
setNewTotalPrice
Description copied from interface:OrderLineItemRemovedMessagePayload
totalPrice
of the Order after the Remove Line Item update action.- Specified by:
setNewTotalPrice
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newTotalPrice
- value to be set
-
setNewTaxedPrice
Description copied from interface:OrderLineItemRemovedMessagePayload
TaxedItemPrice of the Order after the Remove Line Item update action.
- Specified by:
setNewTaxedPrice
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newTaxedPrice
- value to be set
-
setNewPrice
Description copied from interface:OrderLineItemRemovedMessagePayload
Price of the Order after the Remove Line Item update action.
- Specified by:
setNewPrice
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newPrice
- value to be set
-
setNewShippingDetail
Description copied from interface:OrderLineItemRemovedMessagePayload
Shipping Details of the Order after the Remove Line Item update action.
- Specified by:
setNewShippingDetail
in interfaceOrderLineItemRemovedMessagePayload
- Parameters:
newShippingDetail
- value to be set
-
equals
-
hashCode
-