Class CustomerSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerSetCustomTypeActionImpl
- All Implemented Interfaces:
CustomerSetCustomTypeAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerSetCustomTypeActionImpl
extends Object
implements CustomerSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
Adding or updating a Custom Type on a Customer generates the CustomerCustomTypeSet Message, removing one generates the CustomerCustomTypeRemoved 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.CustomerSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Customer.getType()
Defines the Type that extends the Customer with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Customer.void
Defines the Type that extends the Customer 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.CustomerSetCustomTypeAction
withCustomerSetCustomTypeAction
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
-
CustomerSetCustomTypeActionImpl
public CustomerSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the Customer with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Customer.
- Specified by:
getType
in interfaceCustomerSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Customer.
- Specified by:
getFields
in interfaceCustomerSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:CustomerSetCustomTypeAction
Defines the Type that extends the Customer with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Customer.
- Specified by:
setType
in interfaceCustomerSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CustomerSetCustomTypeAction
Sets the Custom Fields fields for the Customer.
- Specified by:
setFields
in interfaceCustomerSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-