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
StagedOrderSetShippingMethodTaxAmountAction
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Cannot be used in LineItemDraft or CustomLineItemDraft.key
of the ShippingMethod to update.int
hashCode()
void
setExternalTaxAmount
(ExternalTaxAmountDraft externalTaxAmount) Cannot be used in LineItemDraft or CustomLineItemDraft.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
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
Cannot be used in LineItemDraft or CustomLineItemDraft.
Can only be set by these update actions:
- Set LineItem TaxAmount, Set CustomLineItem TaxAmount, or Set ShippingMethod TaxAmount on Carts
- Set LineItem TaxAmount, Set CustomLineItem TaxAmount, or Set ShippingMethod TaxAmount on Order Edits
- 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
Cannot be used in LineItemDraft or CustomLineItemDraft.
Can only be set by these update actions:
- Set LineItem TaxAmount, Set CustomLineItem TaxAmount, or Set ShippingMethod TaxAmount on Carts
- Set LineItem TaxAmount, Set CustomLineItem TaxAmount, or Set ShippingMethod TaxAmount on Order Edits
- Specified by:
setExternalTaxAmount
in interfaceStagedOrderSetShippingMethodTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
equals
-
hashCode
-