Class OrderUpdateItemShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderUpdateItemShippingAddressActionImpl
- All Implemented Interfaces:
OrderUpdateAction
,OrderUpdateItemShippingAddressAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderUpdateItemShippingAddressActionImpl
extends Object
implements OrderUpdateItemShippingAddressAction, io.vrap.rmf.base.client.ModelBase
Updates an address in itemShippingAddresses
by keeping the Address key
.
-
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.OrderUpdateItemShippingAddressAction
UPDATE_ITEM_SHIPPING_ADDRESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The new Address with the samekey
as the Address it will replace.int
hashCode()
void
setAddress
(BaseAddress address) The new Address with the samekey
as the Address it will replace.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateItemShippingAddressAction
withOrderUpdateItemShippingAddressAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderUpdateItemShippingAddressActionImpl
public OrderUpdateItemShippingAddressActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getAddress
The new Address with the same
key
as the Address it will replace.- Specified by:
getAddress
in interfaceOrderUpdateItemShippingAddressAction
- Returns:
- address
-
setAddress
Description copied from interface:OrderUpdateItemShippingAddressAction
The new Address with the same
key
as the Address it will replace.- Specified by:
setAddress
in interfaceOrderUpdateItemShippingAddressAction
- Parameters:
address
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-