Class StagedOrderSetShippingAddressAndShippingMethodActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingAddressAndShippingMethodAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
-
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.StagedOrderSetShippingAddressAndShippingMethodAction
SET_SHIPPING_ADDRESS_AND_SHIPPING_METHOD
-
Constructor Summary
ConstructorsConstructorDescriptioncreate empty instance -
Method Summary
Modifier and TypeMethodDescriptionboolean
Polymorphic base type that represents a postal address and contact details.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
setAddress
(BaseAddress address) Polymorphic base type that represents a postal address and contact details.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.StagedOrderSetShippingAddressAndShippingMethodAction
withStagedOrderSetShippingAddressAndShippingMethodAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingAddressAndShippingMethodActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getAddress
Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional
custom
field.- Specified by:
getAddress
in interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- Returns:
- address
-
getShippingMethod
ResourceIdentifier to a ShippingMethod.
- Specified by:
getShippingMethod
in interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- 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 interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- Returns:
- externalTaxRate
-
setAddress
Description copied from interface:StagedOrderSetShippingAddressAndShippingMethodAction
Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional
custom
field.- Specified by:
setAddress
in interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- Parameters:
address
- value to be set
-
setShippingMethod
Description copied from interface:StagedOrderSetShippingAddressAndShippingMethodAction
ResourceIdentifier to a ShippingMethod.
- Specified by:
setShippingMethod
in interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- Parameters:
shippingMethod
- value to be set
-
setExternalTaxRate
Description copied from interface:StagedOrderSetShippingAddressAndShippingMethodAction
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
- Specified by:
setExternalTaxRate
in interfaceStagedOrderSetShippingAddressAndShippingMethodAction
- Parameters:
externalTaxRate
- value to be set
-
equals
-
hashCode
-