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