Class StagedOrderSetShippingMethodTaxRateActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetShippingMethodTaxRateActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingMethodTaxRateAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetShippingMethodTaxRateActionImpl
extends Object
implements StagedOrderSetShippingMethodTaxRateAction, io.vrap.rmf.base.client.ModelBase
A Shipping Method Tax Rate can be set if the Cart has the External
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.StagedOrderSetShippingMethodTaxRateAction
SET_SHIPPING_METHOD_TAX_RATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.key
of the ShippingMethod to update.int
hashCode()
void
setExternalTaxRate
(ExternalTaxRateDraft externalTaxRate) Value to set.void
setShippingKey
(String shippingKey) key
of the ShippingMethod to update.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.StagedOrderSetShippingMethodTaxRateAction
withStagedOrderSetShippingMethodTaxRateAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingMethodTaxRateActionImpl
public StagedOrderSetShippingMethodTaxRateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getShippingKey
key
of the ShippingMethod to update. This is required for Orders withMultiple
ShippingMode.- Specified by:
getShippingKey
in interfaceStagedOrderSetShippingMethodTaxRateAction
- Returns:
- shippingKey
-
getExternalTaxRate
Value to set. If empty, any existing value is removed.
- Specified by:
getExternalTaxRate
in interfaceStagedOrderSetShippingMethodTaxRateAction
- Returns:
- externalTaxRate
-
setShippingKey
Description copied from interface:StagedOrderSetShippingMethodTaxRateAction
key
of the ShippingMethod to update. This is required for Orders withMultiple
ShippingMode.- Specified by:
setShippingKey
in interfaceStagedOrderSetShippingMethodTaxRateAction
- Parameters:
shippingKey
- value to be set
-
setExternalTaxRate
Description copied from interface:StagedOrderSetShippingMethodTaxRateAction
Value to set. If empty, any existing value is removed.
- Specified by:
setExternalTaxRate
in interfaceStagedOrderSetShippingMethodTaxRateAction
- Parameters:
externalTaxRate
- value to be set
-
equals
-
hashCode
public int hashCode()
-