Class StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingAddressAndCustomShippingMethodAction
,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.StagedOrderSetShippingAddressAndCustomShippingMethodAction
SET_SHIPPING_ADDRESS_AND_CUSTOM_SHIPPING_METHOD
-
Constructor Summary
ConstructorDescriptioncreate 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 TaxCategory.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
setShippingMethodName
(String shippingMethodName) set shippingMethodNamevoid
setShippingRate
(ShippingRateDraft shippingRate) set shippingRatevoid
setTaxCategory
(TaxCategoryResourceIdentifier taxCategory) ResourceIdentifier to a TaxCategory.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.StagedOrderSetShippingAddressAndCustomShippingMethodAction
withStagedOrderSetShippingAddressAndCustomShippingMethodAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl
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 interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Returns:
- address
-
getShippingMethodName
- Specified by:
getShippingMethodName
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Returns:
- shippingMethodName
-
getShippingRate
- Specified by:
getShippingRate
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Returns:
- shippingRate
-
getTaxCategory
ResourceIdentifier to a TaxCategory.
- Specified by:
getTaxCategory
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Returns:
- taxCategory
-
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 interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Returns:
- externalTaxRate
-
setAddress
Description copied from interface:StagedOrderSetShippingAddressAndCustomShippingMethodAction
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 interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Parameters:
address
- value to be set
-
setShippingMethodName
Description copied from interface:StagedOrderSetShippingAddressAndCustomShippingMethodAction
set shippingMethodName- Specified by:
setShippingMethodName
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Parameters:
shippingMethodName
- value to be set
-
setShippingRate
Description copied from interface:StagedOrderSetShippingAddressAndCustomShippingMethodAction
set shippingRate- Specified by:
setShippingRate
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Parameters:
shippingRate
- value to be set
-
setTaxCategory
Description copied from interface:StagedOrderSetShippingAddressAndCustomShippingMethodAction
ResourceIdentifier to a TaxCategory.
- Specified by:
setTaxCategory
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Parameters:
taxCategory
- value to be set
-
setExternalTaxRate
Description copied from interface:StagedOrderSetShippingAddressAndCustomShippingMethodAction
Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
- Specified by:
setExternalTaxRate
in interfaceStagedOrderSetShippingAddressAndCustomShippingMethodAction
- Parameters:
externalTaxRate
- value to be set
-
equals
-
hashCode
-