Package com.commercetools.api.models.me
Class MyCustomerRemoveShippingAddressIdActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerRemoveShippingAddressIdActionImpl
- All Implemented Interfaces:
MyCustomerRemoveShippingAddressIdAction
,MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerRemoveShippingAddressIdActionImpl
extends Object
implements MyCustomerRemoveShippingAddressIdAction, io.vrap.rmf.base.client.ModelBase
Removes an existing shipping address from shippingAddressesIds
. If the shipping address is the default shipping address, the defaultShippingAddressId
is unset. Either addressId
or addressKey
is required.
-
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.MyCustomerRemoveShippingAddressIdAction
REMOVE_SHIPPING_ADDRESS_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Address to remove fromshippingAddressesIds
.key
of the Address to remove fromshippingAddressesIds
.int
hashCode()
void
setAddressId
(String addressId) id
of the Address to remove fromshippingAddressesIds
.void
setAddressKey
(String addressKey) key
of the Address to remove fromshippingAddressesIds
.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.me.MyCustomerRemoveShippingAddressIdAction
withMyCustomerRemoveShippingAddressIdAction
Methods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCustomerRemoveShippingAddressIdActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyCustomerUpdateAction>
- Returns:
- action
-
getAddressId
id
of the Address to remove fromshippingAddressesIds
.- Specified by:
getAddressId
in interfaceMyCustomerRemoveShippingAddressIdAction
- Returns:
- addressId
-
getAddressKey
key
of the Address to remove fromshippingAddressesIds
.- Specified by:
getAddressKey
in interfaceMyCustomerRemoveShippingAddressIdAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:MyCustomerRemoveShippingAddressIdAction
id
of the Address to remove fromshippingAddressesIds
.- Specified by:
setAddressId
in interfaceMyCustomerRemoveShippingAddressIdAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:MyCustomerRemoveShippingAddressIdAction
key
of the Address to remove fromshippingAddressesIds
.- Specified by:
setAddressKey
in interfaceMyCustomerRemoveShippingAddressIdAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
-