Class CustomerGroupSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.customer_group.CustomerGroupSetCustomTypeActionImpl
- All Implemented Interfaces:
CustomerGroupSetCustomTypeAction
,CustomerGroupUpdateAction
,ResourceUpdateAction<CustomerGroupUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerGroupSetCustomTypeActionImpl
extends Object
implements CustomerGroupSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
This action sets or removes the custom type for an existing CustomerGroup. If present, this action overwrites any existing custom type and fields.
-
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_group.CustomerGroupSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the CustomerGroup.getType()
Defines the Type that extends the CustomerGroup with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the CustomerGroup.void
Defines the Type that extends the CustomerGroup 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_group.CustomerGroupSetCustomTypeAction
withCustomerGroupSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.customer_group.CustomerGroupUpdateAction
withCustomerGroupUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CustomerGroupSetCustomTypeActionImpl
public CustomerGroupSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerGroupUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerGroupUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the CustomerGroup with Custom Fields. If absent, any existing Type and Custom Fields are removed from the CustomerGroup.
- Specified by:
getType
in interfaceCustomerGroupSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the CustomerGroup.
- Specified by:
getFields
in interfaceCustomerGroupSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:CustomerGroupSetCustomTypeAction
Defines the Type that extends the CustomerGroup with Custom Fields. If absent, any existing Type and Custom Fields are removed from the CustomerGroup.
- Specified by:
setType
in interfaceCustomerGroupSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CustomerGroupSetCustomTypeAction
Sets the Custom Fields fields for the CustomerGroup.
- Specified by:
setFields
in interfaceCustomerGroupSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-