Class StagedOrderSetShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetShippingAddressActionImpl
- All Implemented Interfaces:
StagedOrderSetShippingAddressAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetShippingAddressActionImpl
extends Object
implements StagedOrderSetShippingAddressAction, io.vrap.rmf.base.client.ModelBase
This action updates the shippingAddress
on the Order, but it does not change the shipping address on the referenced Cart from which the Order is created. Also, it does not recalculate the Cart as taxes may not fit to the shipping address anymore.
Produces the Order Shipping Address Set Message.
-
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.StagedOrderSetShippingAddressAction
SET_SHIPPING_ADDRESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setAddress
(BaseAddress address) Value to set.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.StagedOrderSetShippingAddressAction
withStagedOrderSetShippingAddressAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetShippingAddressActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getAddress
Value to set. If empty, any existing value is removed.
- Specified by:
getAddress
in interfaceStagedOrderSetShippingAddressAction
- Returns:
- address
-
setAddress
Description copied from interface:StagedOrderSetShippingAddressAction
Value to set. If empty, any existing value is removed.
- Specified by:
setAddress
in interfaceStagedOrderSetShippingAddressAction
- Parameters:
address
- value to be set
-
equals
-
hashCode
-