Class StagedOrderSetShippingMethodActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetShippingMethodActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingMethodAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetShippingMethodActionImpl
extends Object
implements StagedOrderSetShippingMethodAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetShippingMethodAction
-
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.StagedOrderSetShippingMethodAction
SET_SHIPPING_METHOD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.ResourceIdentifier to a ShippingMethod.int
hashCode()
void
setExternalTaxRate
(ExternalTaxRateDraft externalTaxRate) Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.void
setShippingMethod
(ShippingMethodResourceIdentifier shippingMethod) ResourceIdentifier to a ShippingMethod.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.StagedOrderSetShippingMethodAction
withStagedOrderSetShippingMethodAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingMethodActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getShippingMethod
ResourceIdentifier to a ShippingMethod.
- Specified by:
getShippingMethod
in interfaceStagedOrderSetShippingMethodAction
- Returns:
- shippingMethod
-
getExternalTaxRate
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
- Specified by:
getExternalTaxRate
in interfaceStagedOrderSetShippingMethodAction
- Returns:
- externalTaxRate
-
setShippingMethod
Description copied from interface:StagedOrderSetShippingMethodAction
ResourceIdentifier to a ShippingMethod.
- Specified by:
setShippingMethod
in interfaceStagedOrderSetShippingMethodAction
- Parameters:
shippingMethod
- value to be set
-
setExternalTaxRate
Description copied from interface:StagedOrderSetShippingMethodAction
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
- Specified by:
setExternalTaxRate
in interfaceStagedOrderSetShippingMethodAction
- Parameters:
externalTaxRate
- value to be set
-
equals
-
hashCode
-