Class BusinessUnitSetDefaultShippingAddressActionImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitSetDefaultShippingAddressActionImpl
- All Implemented Interfaces:
BusinessUnitSetDefaultShippingAddressAction
,BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitSetDefaultShippingAddressActionImpl
extends Object
implements BusinessUnitSetDefaultShippingAddressAction, io.vrap.rmf.base.client.ModelBase
Setting the default shipping address on a Business Unit generates a BusinessUnitDefaultShippingAddressSet 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.BusinessUnitSetDefaultShippingAddressAction
SET_DEFAULT_SHIPPING_ADDRESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ID of the address to add as a shipping address.Key of the address to add as a shipping address.int
hashCode()
void
setAddressId
(String addressId) ID of the address to add as a shipping address.void
setAddressKey
(String addressKey) Key of the address to add as a shipping 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.BusinessUnitSetDefaultShippingAddressAction
withBusinessUnitSetDefaultShippingAddressAction
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
-
BusinessUnitSetDefaultShippingAddressActionImpl
public BusinessUnitSetDefaultShippingAddressActionImpl()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 shipping address. Either
addressId
oraddressKey
is required.- Specified by:
getAddressId
in interfaceBusinessUnitSetDefaultShippingAddressAction
- Returns:
- addressId
-
getAddressKey
Key of the address to add as a shipping address. Either
addressId
oraddressKey
is required.- Specified by:
getAddressKey
in interfaceBusinessUnitSetDefaultShippingAddressAction
- Returns:
- addressKey
-
setAddressId
Description copied from interface:BusinessUnitSetDefaultShippingAddressAction
ID of the address to add as a shipping address. Either
addressId
oraddressKey
is required.- Specified by:
setAddressId
in interfaceBusinessUnitSetDefaultShippingAddressAction
- Parameters:
addressId
- value to be set
-
setAddressKey
Description copied from interface:BusinessUnitSetDefaultShippingAddressAction
Key of the address to add as a shipping address. Either
addressId
oraddressKey
is required.- Specified by:
setAddressKey
in interfaceBusinessUnitSetDefaultShippingAddressAction
- Parameters:
addressKey
- value to be set
-
equals
-
hashCode
public int hashCode()
-