Class CartSetCustomLineItemTaxAmountActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetCustomLineItemTaxAmountActionImpl
- All Implemented Interfaces:
CartSetCustomLineItemTaxAmountAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetCustomLineItemTaxAmountActionImpl
extends Object
implements CartSetCustomLineItemTaxAmountAction, 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.cart.CartSetCustomLineItemTaxAmountAction
SET_CUSTOM_LINE_ITEM_TAX_AMOUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.Value to set.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setExternalTaxAmount
(ExternalTaxAmountDraft externalTaxAmount) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetCustomLineItemTaxAmountAction
withCartSetCustomLineItemTaxAmountAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartSetCustomLineItemTaxAmountActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update.- Specified by:
getCustomLineItemId
in interfaceCartSetCustomLineItemTaxAmountAction
- Returns:
- customLineItemId
-
getExternalTaxAmount
Value to set. If empty, any existing value is removed.
- Specified by:
getExternalTaxAmount
in interfaceCartSetCustomLineItemTaxAmountAction
- Returns:
- externalTaxAmount
-
setCustomLineItemId
Description copied from interface:CartSetCustomLineItemTaxAmountAction
id
of the CustomLineItem to update.- Specified by:
setCustomLineItemId
in interfaceCartSetCustomLineItemTaxAmountAction
- Parameters:
customLineItemId
- value to be set
-
setExternalTaxAmount
Description copied from interface:CartSetCustomLineItemTaxAmountAction
Value to set. If empty, any existing value is removed.
- Specified by:
setExternalTaxAmount
in interfaceCartSetCustomLineItemTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
equals
-
hashCode
-