Interface CustomerCompanyNameSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
- All Known Implementing Classes:
CustomerCompanyNameSetMessagePayloadImpl
Generated after a successful Set Company Name update action.
Example to create an instance using the builder pattern
CustomerCompanyNameSetMessagePayload customerCompanyNameSetMessagePayload = CustomerCompanyNameSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerCompanyNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerCompanyNameSetMessagePayloadbuilder
(CustomerCompanyNameSetMessagePayload template) create builder for CustomerCompanyNameSetMessagePayload instancedeepCopy
(CustomerCompanyNameSetMessagePayload template) factory method to create a deep copy of CustomerCompanyNameSetMessagePayloadThecompanyName
that was set during the Set Company Name update action.of()
factory methodof
(CustomerCompanyNameSetMessagePayload template) factory method to create a shallow copy CustomerCompanyNameSetMessagePayloadvoid
setCompanyName
(String companyName) ThecompanyName
that was set during the Set Company Name update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerCompanyNameSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
-
CUSTOMER_COMPANY_NAME_SET
discriminator value for CustomerCompanyNameSetMessagePayload- See Also:
-
-
Method Details
-
getCompanyName
String getCompanyName()The
companyName
that was set during the Set Company Name update action.- Returns:
- companyName
-
setCompanyName
The
companyName
that was set during the Set Company Name update action.- Parameters:
companyName
- value to be set
-
of
factory method- Returns:
- instance of CustomerCompanyNameSetMessagePayload
-
of
factory method to create a shallow copy CustomerCompanyNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerCompanyNameSetMessagePayload deepCopy(@Nullable CustomerCompanyNameSetMessagePayload template) factory method to create a deep copy of CustomerCompanyNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerCompanyNameSetMessagePayload- Returns:
- builder
-
builder
static CustomerCompanyNameSetMessagePayloadBuilder builder(CustomerCompanyNameSetMessagePayload template) create builder for CustomerCompanyNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerCompanyNameSetMessagePayload
default <T> T withCustomerCompanyNameSetMessagePayload(Function<CustomerCompanyNameSetMessagePayload, 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<CustomerCompanyNameSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-