Package com.commercetools.api.models.me
Class MyCustomerAddBillingAddressIdActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerAddBillingAddressIdActionImpl
- All Implemented Interfaces:
MyCustomerAddBillingAddressIdAction
,MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerAddBillingAddressIdActionImpl
extends Object
implements MyCustomerAddBillingAddressIdAction, io.vrap.rmf.base.client.ModelBase
Adds an address from the addresses
array to billingAddressIds
. 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.MyCustomerAddBillingAddressIdAction
ADD_BILLING_ADDRESS_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Address to become a billing address.key
of the Address to become a billing address.int
hashCode()
void
setAddressId
(String addressId) id
of the Address to become a billing address.void
setAddressKey
(String addressKey) key
of the Address to become a billing address.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyCustomerAddBillingAddressIdAction
withMyCustomerAddBillingAddressIdAction
Methods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCustomerAddBillingAddressIdActionImpl
public MyCustomerAddBillingAddressIdActionImpl()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 become a billing address.- Specified by:
getAddressId
in interfaceMyCustomerAddBillingAddressIdAction
- Returns:
- addressId
-
getAddressKey
key
of the Address to become a billing address.- Specified by:
getAddressKey
in interfaceMyCustomerAddBillingAddressIdAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:MyCustomerAddBillingAddressIdAction
id
of the Address to become a billing address.- Specified by:
setAddressId
in interfaceMyCustomerAddBillingAddressIdAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:MyCustomerAddBillingAddressIdAction
key
of the Address to become a billing address.- Specified by:
setAddressKey
in interfaceMyCustomerAddBillingAddressIdAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-