Package com.commercetools.api.models.me
Class MyCartRemoveItemShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCartRemoveItemShippingAddressActionImpl
- All Implemented Interfaces:
MyCartRemoveItemShippingAddressAction
,MyCartUpdateAction
,ResourceUpdateAction<MyCartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCartRemoveItemShippingAddressActionImpl
extends Object
implements MyCartRemoveItemShippingAddressAction, io.vrap.rmf.base.client.ModelBase
An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart.
-
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.me.MyCartRemoveItemShippingAddressAction
REMOVE_ITEM_SHIPPING_ADDRESS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyCartRemoveItemShippingAddressAction
withMyCartRemoveItemShippingAddressAction
Methods inherited from interface com.commercetools.api.models.me.MyCartUpdateAction
withMyCartUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCartRemoveItemShippingAddressActionImpl
public MyCartRemoveItemShippingAddressActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyCartUpdateAction>
- Returns:
- action
-
getAddressKey
key
of the Address to remove fromitemShippingAddresses
.- Specified by:
getAddressKey
in interfaceMyCartRemoveItemShippingAddressAction
- Returns:
- addressKey
-
setAddressKey
Description copied from interface:MyCartRemoveItemShippingAddressAction
key
of the Address to remove fromitemShippingAddresses
.- Specified by:
setAddressKey
in interfaceMyCartRemoveItemShippingAddressAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-