Class StagedOrderChangeTaxModeActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeTaxModeActionImpl
- All Implemented Interfaces:
StagedOrderChangeTaxModeAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderChangeTaxModeActionImpl
extends Object
implements StagedOrderChangeTaxModeAction, 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.order_edit.StagedOrderChangeTaxModeAction
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 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.StagedOrderChangeTaxModeAction
withStagedOrderChangeTaxModeAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderChangeTaxModeActionImpl
public StagedOrderChangeTaxModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getTaxMode
The new TaxMode.
- Specified by:
getTaxMode
in interfaceStagedOrderChangeTaxModeAction
- Returns:
- taxMode
-
setTaxMode
Description copied from interface:StagedOrderChangeTaxModeAction
The new TaxMode.
- Specified by:
setTaxMode
in interfaceStagedOrderChangeTaxModeAction
- Parameters:
taxMode
- value to be set
-
equals
-
hashCode
-