Class BusinessUnitAddressCustomTypeSetMessagePayloadImpl
java.lang.Object
com.commercetools.api.models.message.BusinessUnitAddressCustomTypeSetMessagePayloadImpl
- All Implemented Interfaces:
BusinessUnitAddressCustomTypeSetMessagePayload
,MessagePayload
,MessagePayloadMixin
,io.vrap.rmf.base.client.ModelBase
public class BusinessUnitAddressCustomTypeSetMessagePayloadImpl
extends Object
implements BusinessUnitAddressCustomTypeSetMessagePayload, io.vrap.rmf.base.client.ModelBase
Generated after adding a Custom Type to an address of a Business Unit using the Set Custom Type in Address 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.BusinessUnitAddressCustomTypeSetMessagePayload
BUSINESS_UNIT_ADDRESS_CUSTOM_TYPE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Custom Fields that were set.id
of the previous Custom Type.getType()
int
hashCode()
void
setCustomFields
(CustomFields customFields) The Custom Fields that were set.void
setOldTypeId
(String oldTypeId) id
of the previous Custom Type.toString()
Methods inherited from interface com.commercetools.api.models.message.BusinessUnitAddressCustomTypeSetMessagePayload
withBusinessUnitAddressCustomTypeSetMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayload
withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
BusinessUnitAddressCustomTypeSetMessagePayloadImpl
public BusinessUnitAddressCustomTypeSetMessagePayloadImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMessagePayload
- Returns:
- type
-
getCustomFields
The Custom Fields that were set.
- Specified by:
getCustomFields
in interfaceBusinessUnitAddressCustomTypeSetMessagePayload
- Returns:
- customFields
-
getOldTypeId
id
of the previous Custom Type. Absent if there was no previous Custom Type present.- Specified by:
getOldTypeId
in interfaceBusinessUnitAddressCustomTypeSetMessagePayload
- Returns:
- oldTypeId
-
setCustomFields
Description copied from interface:BusinessUnitAddressCustomTypeSetMessagePayload
The Custom Fields that were set.
- Specified by:
setCustomFields
in interfaceBusinessUnitAddressCustomTypeSetMessagePayload
- Parameters:
customFields
- value to be set
-
setOldTypeId
Description copied from interface:BusinessUnitAddressCustomTypeSetMessagePayload
id
of the previous Custom Type. Absent if there was no previous Custom Type present.- Specified by:
setOldTypeId
in interfaceBusinessUnitAddressCustomTypeSetMessagePayload
- Parameters:
oldTypeId
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-