Class StagedOrderUpdateItemShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderUpdateItemShippingAddressActionImpl
- All Implemented Interfaces:
StagedOrderUpdateItemShippingAddressAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderUpdateItemShippingAddressActionImpl
extends Object
implements StagedOrderUpdateItemShippingAddressAction, 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_edit.StagedOrderUpdateItemShippingAddressAction
UPDATE_ITEM_SHIPPING_ADDRESS
-
Constructor Summary
Constructors -
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.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.StagedOrderUpdateAction
withStagedOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderUpdateItemShippingAddressAction
withStagedOrderUpdateItemShippingAddressAction
-
Constructor Details
-
StagedOrderUpdateItemShippingAddressActionImpl
public StagedOrderUpdateItemShippingAddressActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getAddress
The new Address with the same
key
as the Address it will replace.- Specified by:
getAddress
in interfaceStagedOrderUpdateItemShippingAddressAction
- Returns:
- address
-
setAddress
Description copied from interface:StagedOrderUpdateItemShippingAddressAction
The new Address with the same
key
as the Address it will replace.- Specified by:
setAddress
in interfaceStagedOrderUpdateItemShippingAddressAction
- Parameters:
address
- value to be set
-
equals
-
hashCode
public int hashCode()
-