Package com.commercetools.api.models.me
Class MyCustomerSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetCustomTypeActionImpl
- All Implemented Interfaces:
MyCustomerSetCustomTypeAction
,MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerSetCustomTypeActionImpl
extends Object
implements MyCustomerSetCustomTypeAction, 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.me.MyCustomerSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the MyCustomer.getType()
Defines the Type that extends the MyCustomer with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the MyCustomer.void
Defines the Type that extends the MyCustomer with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyCustomerSetCustomTypeAction
withMyCustomerSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCustomerSetCustomTypeActionImpl
public MyCustomerSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyCustomerUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the MyCustomer with Custom Fields. If absent, any existing Type and Custom Fields are removed from the MyCustomer.
- Specified by:
getType
in interfaceMyCustomerSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the MyCustomer.
- Specified by:
getFields
in interfaceMyCustomerSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:MyCustomerSetCustomTypeAction
Defines the Type that extends the MyCustomer with Custom Fields. If absent, any existing Type and Custom Fields are removed from the MyCustomer.
- Specified by:
setType
in interfaceMyCustomerSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:MyCustomerSetCustomTypeAction
Sets the Custom Fields fields for the MyCustomer.
- Specified by:
setFields
in interfaceMyCustomerSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-