Class CartChangeTaxModeActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartChangeTaxModeActionImpl
- All Implemented Interfaces:
CartChangeTaxModeAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartChangeTaxModeActionImpl
extends Object
implements CartChangeTaxModeAction, io.vrap.rmf.base.client.ModelBase
- When
External
TaxMode is changed toPlatform
orDisabled
, all previously set external Tax Rates are removed. - When set to
Platform
, Line Items, Custom Line Items, and Shipping Method require a Tax Category with a Tax Rate for the Cart'sshippingAddress
.
-
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.CartChangeTaxModeAction
CHANGE_TAX_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The new TaxMode.int
hashCode()
void
setTaxMode
(TaxMode taxMode) The new TaxMode.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartChangeTaxModeAction
withCartChangeTaxModeAction
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
-
CartChangeTaxModeActionImpl
public CartChangeTaxModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getTaxMode
The new TaxMode.
- Specified by:
getTaxMode
in interfaceCartChangeTaxModeAction
- Returns:
- taxMode
-
setTaxMode
Description copied from interface:CartChangeTaxModeAction
The new TaxMode.
- Specified by:
setTaxMode
in interfaceCartChangeTaxModeAction
- Parameters:
taxMode
- value to be set
-
equals
-
hashCode
-