Package com.commercetools.api.models.me
Class MyCustomerRemoveBillingAddressIdActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerRemoveBillingAddressIdActionImpl
- All Implemented Interfaces:
MyCustomerRemoveBillingAddressIdAction
,MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerRemoveBillingAddressIdActionImpl
extends Object
implements MyCustomerRemoveBillingAddressIdAction, io.vrap.rmf.base.client.ModelBase
Removes an existing billing address from billingAddressesIds
. If the billing address is the default billing address, the defaultBillingAddressId
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.MyCustomerRemoveBillingAddressIdAction
REMOVE_BILLING_ADDRESS_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Address to remove frombillingAddressesIds
.key
of the Address to remove frombillingAddressesIds
.int
hashCode()
void
setAddressId
(String addressId) id
of the Address to remove frombillingAddressesIds
.void
setAddressKey
(String addressKey) key
of the Address to remove frombillingAddressesIds
.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.MyCustomerRemoveBillingAddressIdAction
withMyCustomerRemoveBillingAddressIdAction
Methods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCustomerRemoveBillingAddressIdActionImpl
public MyCustomerRemoveBillingAddressIdActionImpl()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 frombillingAddressesIds
.- Specified by:
getAddressId
in interfaceMyCustomerRemoveBillingAddressIdAction
- Returns:
- addressId
-
getAddressKey
key
of the Address to remove frombillingAddressesIds
.- Specified by:
getAddressKey
in interfaceMyCustomerRemoveBillingAddressIdAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:MyCustomerRemoveBillingAddressIdAction
id
of the Address to remove frombillingAddressesIds
.- Specified by:
setAddressId
in interfaceMyCustomerRemoveBillingAddressIdAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:MyCustomerRemoveBillingAddressIdAction
key
of the Address to remove frombillingAddressesIds
.- Specified by:
setAddressKey
in interfaceMyCustomerRemoveBillingAddressIdAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-