Class OrderSetShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetShippingAddressActionImpl
- All Implemented Interfaces:
OrderSetShippingAddressAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetShippingAddressActionImpl
extends Object
implements OrderSetShippingAddressAction, 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.OrderSetShippingAddressAction
SET_SHIPPING_ADDRESS
-
Constructor Summary
-
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.order.OrderSetShippingAddressAction
withOrderSetShippingAddressAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetShippingAddressActionImpl
public OrderSetShippingAddressActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getAddress
Value to set. If empty, any existing value is removed.
- Specified by:
getAddress
in interfaceOrderSetShippingAddressAction
- Returns:
- address
-
setAddress
Description copied from interface:OrderSetShippingAddressAction
Value to set. If empty, any existing value is removed.
- Specified by:
setAddress
in interfaceOrderSetShippingAddressAction
- Parameters:
address
- value to be set
-
equals
-
hashCode
public int hashCode()
-