Class StagedOrderSetCustomLineItemTaxAmountActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetCustomLineItemTaxAmountActionImpl
- All Implemented Interfaces:
StagedOrderSetCustomLineItemTaxAmountAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetCustomLineItemTaxAmountActionImpl
extends Object
implements StagedOrderSetCustomLineItemTaxAmountAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetCustomLineItemTaxAmountAction
-
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.StagedOrderSetCustomLineItemTaxAmountAction
SET_CUSTOM_LINE_ITEM_TAX_AMOUNT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Cannot be used in LineItemDraft or CustomLineItemDraft.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) set customLineItemIdvoid
setExternalTaxAmount
(ExternalTaxAmountDraft externalTaxAmount) Cannot be used in LineItemDraft or CustomLineItemDraft.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.StagedOrderSetCustomLineItemTaxAmountAction
withStagedOrderSetCustomLineItemTaxAmountAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetCustomLineItemTaxAmountActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getCustomLineItemId
- Specified by:
getCustomLineItemId
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- customLineItemId
-
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 interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Returns:
- externalTaxAmount
-
setCustomLineItemId
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
set customLineItemId- Specified by:
setCustomLineItemId
in interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
customLineItemId
- value to be set
-
setExternalTaxAmount
Description copied from interface:StagedOrderSetCustomLineItemTaxAmountAction
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 interfaceStagedOrderSetCustomLineItemTaxAmountAction
- Parameters:
externalTaxAmount
- value to be set
-
equals
-
hashCode
-