Class CustomerRemoveShippingAddressIdActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerRemoveShippingAddressIdActionImpl
- All Implemented Interfaces:
CustomerRemoveShippingAddressIdAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerRemoveShippingAddressIdActionImpl
extends Object
implements CustomerRemoveShippingAddressIdAction, io.vrap.rmf.base.client.ModelBase
Removes a 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.customer.CustomerRemoveShippingAddressIdAction
REMOVE_SHIPPING_ADDRESS_ID
-
Constructor Summary
Constructors -
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 com.commercetools.api.models.customer.CustomerRemoveShippingAddressIdAction
withCustomerRemoveShippingAddressIdAction
Methods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
withCustomerUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CustomerRemoveShippingAddressIdActionImpl
public CustomerRemoveShippingAddressIdActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getAddressId
id
of the Address to remove fromshippingAddressesIds
.- Specified by:
getAddressId
in interfaceCustomerRemoveShippingAddressIdAction
- Returns:
- addressId
-
getAddressKey
key
of the Address to remove fromshippingAddressesIds
.- Specified by:
getAddressKey
in interfaceCustomerRemoveShippingAddressIdAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:CustomerRemoveShippingAddressIdAction
id
of the Address to remove fromshippingAddressesIds
.- Specified by:
setAddressId
in interfaceCustomerRemoveShippingAddressIdAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:CustomerRemoveShippingAddressIdAction
key
of the Address to remove fromshippingAddressesIds
.- Specified by:
setAddressKey
in interfaceCustomerRemoveShippingAddressIdAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-