Interface BusinessUnitCustomTypeRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after removing a Custom Type from a Business Unit using the Set Custom Type update action.
Example to create an instance using the builder pattern
BusinessUnitCustomTypeRemovedMessagePayload businessUnitCustomTypeRemovedMessagePayload = BusinessUnitCustomTypeRemovedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomTypeRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomTypeRemovedMessagePayloadcreate builder for BusinessUnitCustomTypeRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomTypeRemovedMessagePayloadidof the Custom Type that was removed.of()factory methodfactory method to create a shallow copy BusinessUnitCustomTypeRemovedMessagePayloadvoidsetOldTypeId(String oldTypeId) idof the Custom Type that was removed.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomTypeRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomTypeRemovedMessagePayload(Function<BusinessUnitCustomTypeRemovedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
BUSINESS_UNIT_CUSTOM_TYPE_REMOVED
discriminator value for BusinessUnitCustomTypeRemovedMessagePayload- See Also:
-
-
Method Details
-
getOldTypeId
String getOldTypeId()idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- oldTypeId
-
setOldTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitCustomTypeRemovedMessagePayload
-
of
static BusinessUnitCustomTypeRemovedMessagePayload of(BusinessUnitCustomTypeRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
BusinessUnitCustomTypeRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static BusinessUnitCustomTypeRemovedMessagePayload deepCopy(@Nullable BusinessUnitCustomTypeRemovedMessagePayload template) factory method to create a deep copy of BusinessUnitCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomTypeRemovedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitCustomTypeRemovedMessagePayloadBuilder builder(BusinessUnitCustomTypeRemovedMessagePayload template) create builder for BusinessUnitCustomTypeRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomTypeRemovedMessagePayload
default <T> T withBusinessUnitCustomTypeRemovedMessagePayload(Function<BusinessUnitCustomTypeRemovedMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomTypeRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-