Interface CustomerCustomTypeRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after removing a Custom Type from a Customer using the Set Custom Type update action with empty parameters.
Example to create an instance using the builder pattern
CustomerCustomTypeRemovedMessagePayload customerCustomTypeRemovedMessagePayload = CustomerCustomTypeRemovedMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerCustomTypeRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerCustomTypeRemovedMessagePayloadcreate builder for CustomerCustomTypeRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerCustomTypeRemovedMessagePayloadidof the Custom Type that was removed.of()factory methodof(CustomerCustomTypeRemovedMessagePayload template) factory method to create a shallow copy CustomerCustomTypeRemovedMessagePayloadvoidsetPreviousTypeId(String previousTypeId) idof the Custom Type that was removed.static com.fasterxml.jackson.core.type.TypeReference<CustomerCustomTypeRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerCustomTypeRemovedMessagePayload(Function<CustomerCustomTypeRemovedMessagePayload, 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
-
CUSTOMER_CUSTOM_TYPE_REMOVED
discriminator value for CustomerCustomTypeRemovedMessagePayload- 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 CustomerCustomTypeRemovedMessagePayload
-
of
factory method to create a shallow copy CustomerCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerCustomTypeRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerCustomTypeRemovedMessagePayload deepCopy(@Nullable CustomerCustomTypeRemovedMessagePayload template) factory method to create a deep copy of CustomerCustomTypeRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerCustomTypeRemovedMessagePayload- Returns:
- builder
-
builder
static CustomerCustomTypeRemovedMessagePayloadBuilder builder(CustomerCustomTypeRemovedMessagePayload template) create builder for CustomerCustomTypeRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerCustomTypeRemovedMessagePayload
default <T> T withCustomerCustomTypeRemovedMessagePayload(Function<CustomerCustomTypeRemovedMessagePayload, 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<CustomerCustomTypeRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-