Class CustomerSetAddressCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerSetAddressCustomTypeActionImpl
- All Implemented Interfaces:
CustomerSetAddressCustomTypeAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerSetAddressCustomTypeActionImpl
extends Object
implements CustomerSetAddressCustomTypeAction, io.vrap.rmf.base.client.ModelBase
Adding or updating a Custom Type on an Address of a Customer generates the CustomerAddressCustomTypeSet Message, and removing one generates the CustomerAddressCustomTypeRemoved 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.customer.CustomerSetAddressCustomTypeAction
SET_ADDRESS_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
User-defined unique identifier of the Address to be updated.Sets the Custom Fields fields for theaddress
.getType()
Defines the Type that extends theaddress
with Custom Fields.int
hashCode()
void
setAddressId
(String addressId) User-defined unique identifier of the Address to be updated.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
.void
Defines the Type that extends theaddress
with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerSetAddressCustomTypeAction
withCustomerSetAddressCustomTypeAction
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
-
CustomerSetAddressCustomTypeActionImpl
public CustomerSetAddressCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getAddressId
User-defined unique identifier of the Address to be updated.
- Specified by:
getAddressId
in interfaceCustomerSetAddressCustomTypeAction
- Returns:
- addressId
-
getType
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Specified by:
getType
in interfaceCustomerSetAddressCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
address
.- Specified by:
getFields
in interfaceCustomerSetAddressCustomTypeAction
- Returns:
- fields
-
setAddressId
Description copied from interface:CustomerSetAddressCustomTypeAction
User-defined unique identifier of the Address to be updated.
- Specified by:
setAddressId
in interfaceCustomerSetAddressCustomTypeAction
- Parameters:
addressId
- value to be set
-
setType
Description copied from interface:CustomerSetAddressCustomTypeAction
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Specified by:
setType
in interfaceCustomerSetAddressCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CustomerSetAddressCustomTypeAction
Sets the Custom Fields fields for the
address
.- Specified by:
setFields
in interfaceCustomerSetAddressCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-