Class CartSetShippingMethodTaxAmountActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetShippingMethodTaxAmountActionImpl
- All Implemented Interfaces:
CartSetShippingMethodTaxAmountAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetShippingMethodTaxAmountActionImpl
extends Object
implements CartSetShippingMethodTaxAmountAction, 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.cart.CartSetShippingMethodTaxAmountAction
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 com.commercetools.api.models.cart.CartSetShippingMethodTaxAmountAction
withCartSetShippingMethodTaxAmountAction
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
-
CartSetShippingMethodTaxAmountActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getShippingKey
key
of the ShippingMethod to update. This is required for Carts withMultiple
ShippingMode.- Specified by:
getShippingKey
in interfaceCartSetShippingMethodTaxAmountAction
- Returns:
- shippingKey
-
getExternalTaxAmount
Value to set. If empty, any existing value is removed.
- Specified by:
getExternalTaxAmount
in interfaceCartSetShippingMethodTaxAmountAction
- Returns:
- externalTaxAmount
-
setShippingKey
Description copied from interface:CartSetShippingMethodTaxAmountAction
key
of the ShippingMethod to update. This is required for Carts withMultiple
ShippingMode.- Specified by:
setShippingKey
in interfaceCartSetShippingMethodTaxAmountAction
- Parameters:
shippingKey
- value to be set
-
setExternalTaxAmount
Description copied from interface:CartSetShippingMethodTaxAmountAction
Value to set. If empty, any existing value is removed.
- Specified by:
setExternalTaxAmount
in interfaceCartSetShippingMethodTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
equals
-
hashCode
-