Class OrderLineItemDiscountSetMessagePayloadImpl
- All Implemented Interfaces:
MessagePayload
,OrderLineItemDiscountSetMessagePayload
,OrderMessagePayload
,io.vrap.rmf.base.client.ModelBase
Generated after a successful recalculation of a Discount on a Line Item.
-
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.OrderLineItemDiscountSetMessagePayload
ORDER_LINE_ITEM_DISCOUNT_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.Unique identifier for the Line Item.TaxedItemPrice of the Line Item after the Discount recalculation.Taxed price of the Shipping Methods in a Cart withMulti
ShippingMode.Total Price of the Line Item after the Discount recalculation.getType()
int
hashCode()
void
setDiscountedPricePerQuantity
(DiscountedLineItemPriceForQuantity... discountedPricePerQuantity) Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.void
setDiscountedPricePerQuantity
(List<DiscountedLineItemPriceForQuantity> discountedPricePerQuantity) Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.void
setLineItemId
(String lineItemId) Unique identifier for the Line Item.void
setTaxedPrice
(TaxedItemPrice taxedPrice) TaxedItemPrice of the Line Item after the Discount recalculation.void
setTaxedPricePortions
(MethodTaxedPrice... taxedPricePortions) Taxed price of the Shipping Methods in a Cart withMulti
ShippingMode.void
setTaxedPricePortions
(List<MethodTaxedPrice> taxedPricePortions) Taxed price of the Shipping Methods in a Cart withMulti
ShippingMode.void
setTotalPrice
(Money totalPrice) Total Price of the Line Item after the Discount recalculation.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.OrderLineItemDiscountSetMessagePayload
withOrderLineItemDiscountSetMessagePayload
Methods inherited from interface com.commercetools.api.models.message.OrderMessagePayload
withOrderMessagePayload
-
Constructor Details
-
OrderLineItemDiscountSetMessagePayloadImpl
create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getLineItemId
Unique identifier for the Line Item.
- Specified by:
getLineItemId
in interfaceOrderLineItemDiscountSetMessagePayload
- Returns:
- lineItemId
-
getDiscountedPricePerQuantity
Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.
- Specified by:
getDiscountedPricePerQuantity
in interfaceOrderLineItemDiscountSetMessagePayload
- Returns:
- discountedPricePerQuantity
-
getTotalPrice
Total Price of the Line Item after the Discount recalculation.
- Specified by:
getTotalPrice
in interfaceOrderLineItemDiscountSetMessagePayload
- Returns:
- totalPrice
-
getTaxedPrice
TaxedItemPrice of the Line Item after the Discount recalculation.
- Specified by:
getTaxedPrice
in interfaceOrderLineItemDiscountSetMessagePayload
- Returns:
- taxedPrice
-
getTaxedPricePortions
Taxed price of the Shipping Methods in a Cart with
Multi
ShippingMode.- Specified by:
getTaxedPricePortions
in interfaceOrderLineItemDiscountSetMessagePayload
- Returns:
- taxedPricePortions
-
setLineItemId
Description copied from interface:OrderLineItemDiscountSetMessagePayload
Unique identifier for the Line Item.
- Specified by:
setLineItemId
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
lineItemId
- value to be set
-
setDiscountedPricePerQuantity
public void setDiscountedPricePerQuantity(DiscountedLineItemPriceForQuantity... discountedPricePerQuantity) Description copied from interface:OrderLineItemDiscountSetMessagePayload
Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.
- Specified by:
setDiscountedPricePerQuantity
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
discountedPricePerQuantity
- values to be set
-
setDiscountedPricePerQuantity
public void setDiscountedPricePerQuantity(List<DiscountedLineItemPriceForQuantity> discountedPricePerQuantity) Description copied from interface:OrderLineItemDiscountSetMessagePayload
Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.
- Specified by:
setDiscountedPricePerQuantity
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
discountedPricePerQuantity
- values to be set
-
setTotalPrice
Description copied from interface:OrderLineItemDiscountSetMessagePayload
Total Price of the Line Item after the Discount recalculation.
- Specified by:
setTotalPrice
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
totalPrice
- value to be set
-
setTaxedPrice
Description copied from interface:OrderLineItemDiscountSetMessagePayload
TaxedItemPrice of the Line Item after the Discount recalculation.
- Specified by:
setTaxedPrice
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
taxedPrice
- value to be set
-
setTaxedPricePortions
Description copied from interface:OrderLineItemDiscountSetMessagePayload
Taxed price of the Shipping Methods in a Cart with
Multi
ShippingMode.- Specified by:
setTaxedPricePortions
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
taxedPricePortions
- values to be set
-
setTaxedPricePortions
Description copied from interface:OrderLineItemDiscountSetMessagePayload
Taxed price of the Shipping Methods in a Cart with
Multi
ShippingMode.- Specified by:
setTaxedPricePortions
in interfaceOrderLineItemDiscountSetMessagePayload
- Parameters:
taxedPricePortions
- values to be set
-
equals
-
hashCode
-