Class StagedOrderSetShippingMethodTaxAmountActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetShippingMethodTaxAmountActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingMethodTaxAmountAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetShippingMethodTaxAmountActionImpl
extends Object
implements StagedOrderSetShippingMethodTaxAmountAction, io.vrap.rmf.base.client.ModelBase
A Shipping Method tax amount can be set 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.StagedOrderSetShippingMethodTaxAmountAction
SET_SHIPPING_METHOD_TAX_AMOUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.key
of the ShippingMethod to update.int
hashCode()
void
setExternalTaxAmount
(ExternalTaxAmountDraft externalTaxAmount) 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.StagedOrderSetShippingMethodTaxAmountAction
withStagedOrderSetShippingMethodTaxAmountAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingMethodTaxAmountActionImpl
public StagedOrderSetShippingMethodTaxAmountActionImpl()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 interfaceStagedOrderSetShippingMethodTaxAmountAction
- Returns:
- shippingKey
-
getExternalTaxAmount
Value to set. If empty, any existing value will be removed.
- Specified by:
getExternalTaxAmount
in interfaceStagedOrderSetShippingMethodTaxAmountAction
- Returns:
- externalTaxAmount
-
setShippingKey
Description copied from interface:StagedOrderSetShippingMethodTaxAmountAction
key
of the ShippingMethod to update. This is required for Orders withMultiple
ShippingMode.- Specified by:
setShippingKey
in interfaceStagedOrderSetShippingMethodTaxAmountAction
- Parameters:
shippingKey
- value to be set
-
setExternalTaxAmount
Description copied from interface:StagedOrderSetShippingMethodTaxAmountAction
Value to set. If empty, any existing value will be removed.
- Specified by:
setExternalTaxAmount
in interfaceStagedOrderSetShippingMethodTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
equals
-
hashCode
public int hashCode()
-