Class BusinessUnitCustomTypeRemovedMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.BusinessUnitCustomTypeRemovedMessagePayloadImpl
- All Implemented Interfaces:
BusinessUnitCustomTypeRemovedMessagePayload
,MessagePayload
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitCustomTypeRemovedMessagePayloadImpl
extends Object
implements BusinessUnitCustomTypeRemovedMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after removing a Custom Type from a Business Unit 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.BusinessUnitCustomTypeRemovedMessagePayload
BUSINESS_UNIT_CUSTOM_TYPE_REMOVED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the Custom Type that was removed.getType()
int
hashCode()
void
setOldTypeId
(String oldTypeId) id
of the Custom Type that was removed.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.BusinessUnitCustomTypeRemovedMessagePayload
withBusinessUnitCustomTypeRemovedMessagePayload
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
-
BusinessUnitCustomTypeRemovedMessagePayloadImpl
public BusinessUnitCustomTypeRemovedMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getOldTypeId
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Specified by:
getOldTypeId
in interfaceBusinessUnitCustomTypeRemovedMessagePayload
- Returns:
- oldTypeId
-
setOldTypeId
Description copied from interface:BusinessUnitCustomTypeRemovedMessagePayload
id
of the Custom Type that was removed. Absent if there was no previous Custom Type present.- Specified by:
setOldTypeId
in interfaceBusinessUnitCustomTypeRemovedMessagePayload
- Parameters:
oldTypeId
- value to be set
-
equals
-
hashCode
public int hashCode()
-