Class StagedOrderSetCustomLineItemTaxAmountActionImpl
- All Implemented Interfaces:
StagedOrderSetCustomLineItemTaxAmountAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
Can be used if the Cart has the ExternalAmount
TaxMode.
-
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.order_edit.StagedOrderSetCustomLineItemTaxAmountAction
SET_CUSTOM_LINE_ITEM_TAX_AMOUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.Value to set.key
of the ShippingMethod used for this Custom Line Item.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
setExternalTaxAmount
(ExternalTaxAmountDraft externalTaxAmount) Value to set.void
setShippingKey
(String shippingKey) key
of the ShippingMethod used for this Custom Line Item.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderSetCustomLineItemTaxAmountAction
withStagedOrderSetCustomLineItemTaxAmountAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetCustomLineItemTaxAmountActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- customLineItemKey
-
getExternalTaxAmount
Value to set. If empty, any existing value is removed.
- Specified by:
getExternalTaxAmount
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- externalTaxAmount
-
getShippingKey
key
of the ShippingMethod used for this Custom Line Item. This is required for Carts withMultiple
ShippingMode.- Specified by:
getShippingKey
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- shippingKey
-
setCustomLineItemId
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
customLineItemKey
- value to be set
-
setExternalTaxAmount
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
Value to set. If empty, any existing value is removed.
- Specified by:
setExternalTaxAmount
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
setShippingKey
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
key
of the ShippingMethod used for this Custom Line Item. This is required for Carts withMultiple
ShippingMode.- Specified by:
setShippingKey
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
shippingKey
- value to be set
-
equals
-
hashCode
-