Class CustomerAddBillingAddressIdActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerAddBillingAddressIdActionImpl
- All Implemented Interfaces:
CustomerAddBillingAddressIdAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerAddBillingAddressIdActionImpl
extends Object
implements CustomerAddBillingAddressIdAction, 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.customer.CustomerAddBillingAddressIdAction
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.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerAddBillingAddressIdAction
withCustomerAddBillingAddressIdAction
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
-
CustomerAddBillingAddressIdActionImpl
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 become a billing address.- Specified by:
getAddressId
in interfaceCustomerAddBillingAddressIdAction
- Returns:
- addressId
-
getAddressKey
key
of the Address to become a billing address.- Specified by:
getAddressKey
in interfaceCustomerAddBillingAddressIdAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:CustomerAddBillingAddressIdAction
id
of the Address to become a billing address.- Specified by:
setAddressId
in interfaceCustomerAddBillingAddressIdAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:CustomerAddBillingAddressIdAction
key
of the Address to become a billing address.- Specified by:
setAddressKey
in interfaceCustomerAddBillingAddressIdAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
-