Class CustomerGroupCustomTypeSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.CustomerGroupCustomTypeSetMessagePayloadImpl
- All Implemented Interfaces:
CustomerGroupCustomTypeSetMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
public class CustomerGroupCustomTypeSetMessagePayloadImpl
extends Object
implements CustomerGroupCustomTypeSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after adding a Custom Type to a Customer Group using the Set Custom Type update action.
-
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.message.CustomerGroupCustomTypeSetMessagePayload
CUSTOMER_GROUP_CUSTOM_TYPE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Custom Fields that have been set.id
of the previous Custom Type.getType()
int
hashCode()
void
setCustomFields
(CustomFields customFields) The Custom Fields that have been set.void
setOldTypeId
(String oldTypeId) id
of the previous Custom Type.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.CustomerGroupCustomTypeSetMessagePayload
withCustomerGroupCustomTypeSetMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerGroupCustomTypeSetMessagePayloadImpl
public CustomerGroupCustomTypeSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCustomFields
The Custom Fields that have been set.
- Specified by:
getCustomFields
in interfaceCustomerGroupCustomTypeSetMessagePayload
- Returns:
- customFields
-
getOldTypeId
id
of the previous Custom Type. Absent if there was no previous Custom Type present.- Specified by:
getOldTypeId
in interfaceCustomerGroupCustomTypeSetMessagePayload
- Returns:
- oldTypeId
-
setCustomFields
Description copied from interface:CustomerGroupCustomTypeSetMessagePayload
The Custom Fields that have been set.
- Specified by:
setCustomFields
in interfaceCustomerGroupCustomTypeSetMessagePayload
- Parameters:
customFields
- value to be set
-
setOldTypeId
Description copied from interface:CustomerGroupCustomTypeSetMessagePayload
id
of the previous Custom Type. Absent if there was no previous Custom Type present.- Specified by:
setOldTypeId
in interfaceCustomerGroupCustomTypeSetMessagePayload
- Parameters:
oldTypeId
- value to be set
-
equals
-
hashCode
public int hashCode()
-