Class BusinessUnitSetDefaultBillingAddressActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitSetDefaultBillingAddressActionImpl
- All Implemented Interfaces:
BusinessUnitSetDefaultBillingAddressAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitSetDefaultBillingAddressActionImpl
extends Object
implements BusinessUnitSetDefaultBillingAddressAction, io.vrap.rmf.base.client.ModelBase
Setting the default billing address on a Business Unit generates the BusinessUnitDefaultBillingAddressSet Message.
-
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.business_unit.BusinessUnitSetDefaultBillingAddressAction
SET_DEFAULT_BILLING_ADDRESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ID of the address to add as a billing address.Key of the address to add as a billing address.int
hashCode()
void
setAddressId
(String addressId) ID of the address to add as a billing address.void
setAddressKey
(String addressKey) Key of the address to add as 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.business_unit.BusinessUnitSetDefaultBillingAddressAction
withBusinessUnitSetDefaultBillingAddressAction
Methods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitUpdateAction
withBusinessUnitUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
BusinessUnitSetDefaultBillingAddressActionImpl
public BusinessUnitSetDefaultBillingAddressActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceBusinessUnitUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
getAddressId
ID of the address to add as a billing address. Either
addressId
oraddressKey
is required.- Specified by:
getAddressId
in interfaceBusinessUnitSetDefaultBillingAddressAction
- Returns:
- addressId
-
getAddressKey
Key of the address to add as a billing address. Either
addressId
oraddressKey
is required.- Specified by:
getAddressKey
in interfaceBusinessUnitSetDefaultBillingAddressAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:BusinessUnitSetDefaultBillingAddressAction
ID of the address to add as a billing address. Either
addressId
oraddressKey
is required.- Specified by:
setAddressId
in interfaceBusinessUnitSetDefaultBillingAddressAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:BusinessUnitSetDefaultBillingAddressAction
Key of the address to add as a billing address. Either
addressId
oraddressKey
is required.- Specified by:
setAddressKey
in interfaceBusinessUnitSetDefaultBillingAddressAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-