Interface BusinessUnitContactEmailSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Contact Email update action.
Example to create an instance using the builder pattern
BusinessUnitContactEmailSetMessagePayload businessUnitContactEmailSetMessagePayload = BusinessUnitContactEmailSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitContactEmailSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitContactEmailSetMessagePayloadcreate builder for BusinessUnitContactEmailSetMessagePayload instancefactory method to create a deep copy of BusinessUnitContactEmailSetMessagePayloadThe contact email that was updated on the Business Unit.of()
factory methodof
(BusinessUnitContactEmailSetMessagePayload template) factory method to create a shallow copy BusinessUnitContactEmailSetMessagePayloadvoid
setContactEmail
(String contactEmail) The contact email that was updated on the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitContactEmailSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitContactEmailSetMessagePayload
(Function<BusinessUnitContactEmailSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
BUSINESS_UNIT_CONTACT_EMAIL_SET
discriminator value for BusinessUnitContactEmailSetMessagePayload- See Also:
-
-
Method Details
-
getContactEmail
String getContactEmail()The contact email that was updated on the Business Unit.
- Returns:
- contactEmail
-
setContactEmail
The contact email that was updated on the Business Unit.
- Parameters:
contactEmail
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitContactEmailSetMessagePayload
-
of
static BusinessUnitContactEmailSetMessagePayload of(BusinessUnitContactEmailSetMessagePayload template) factory method to create a shallow copy BusinessUnitContactEmailSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitContactEmailSetMessagePayload deepCopy(@Nullable BusinessUnitContactEmailSetMessagePayload template) factory method to create a deep copy of BusinessUnitContactEmailSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitContactEmailSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitContactEmailSetMessagePayloadBuilder builder(BusinessUnitContactEmailSetMessagePayload template) create builder for BusinessUnitContactEmailSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitContactEmailSetMessagePayload
default <T> T withBusinessUnitContactEmailSetMessagePayload(Function<BusinessUnitContactEmailSetMessagePayload, 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<BusinessUnitContactEmailSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-