Interface RecurringOrderCustomTypeRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Custom Type with empty parameters.
Example to create an instance using the builder pattern
RecurringOrderCustomTypeRemovedMessagePayload recurringOrderCustomTypeRemovedMessagePayload = RecurringOrderCustomTypeRemovedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderCustomTypeRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderCustomTypeRemovedMessagePayloadcreate builder for RecurringOrderCustomTypeRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of RecurringOrderCustomTypeRemovedMessagePayloadidof the Custom Type that was removed.of()factory methodfactory method to create a shallow copy RecurringOrderCustomTypeRemovedMessagePayloadvoidsetPreviousTypeId(String previousTypeId) idof the Custom Type that was removed.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderCustomTypeRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRecurringOrderCustomTypeRemovedMessagePayload(Function<RecurringOrderCustomTypeRemovedMessagePayload, 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
-
RECURRING_ORDER_CUSTOM_TYPE_REMOVED
discriminator value for RecurringOrderCustomTypeRemovedMessagePayload- See Also:
-
-
Method Details
-
getPreviousTypeId
String getPreviousTypeId()idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- previousTypeId
-
setPreviousTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
previousTypeId- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderCustomTypeRemovedMessagePayload
-
of
static RecurringOrderCustomTypeRemovedMessagePayload of(RecurringOrderCustomTypeRemovedMessagePayload template) factory method to create a shallow copy RecurringOrderCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static RecurringOrderCustomTypeRemovedMessagePayload deepCopy(@Nullable RecurringOrderCustomTypeRemovedMessagePayload template) factory method to create a deep copy of RecurringOrderCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderCustomTypeRemovedMessagePayload- Returns:
- builder
-
builder
static RecurringOrderCustomTypeRemovedMessagePayloadBuilder builder(RecurringOrderCustomTypeRemovedMessagePayload template) create builder for RecurringOrderCustomTypeRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderCustomTypeRemovedMessagePayload
default <T> T withRecurringOrderCustomTypeRemovedMessagePayload(Function<RecurringOrderCustomTypeRemovedMessagePayload, 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<RecurringOrderCustomTypeRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-