Interface CustomerFirstNameSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set First Name update action.
Example to create an instance using the builder pattern
CustomerFirstNameSetMessagePayload customerFirstNameSetMessagePayload = CustomerFirstNameSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerFirstNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerFirstNameSetMessagePayloadbuilder
(CustomerFirstNameSetMessagePayload template) create builder for CustomerFirstNameSetMessagePayload instancedeepCopy
(CustomerFirstNameSetMessagePayload template) factory method to create a deep copy of CustomerFirstNameSetMessagePayloadThefirstName
that was set during the Set First Name update action.of()
factory methodof
(CustomerFirstNameSetMessagePayload template) factory method to create a shallow copy CustomerFirstNameSetMessagePayloadvoid
setFirstName
(String firstName) ThefirstName
that was set during the Set First Name update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerFirstNameSetMessagePayload>
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_FIRST_NAME_SET
discriminator value for CustomerFirstNameSetMessagePayload- See Also:
-
-
Method Details
-
getFirstName
String getFirstName()The
firstName
that was set during the Set First Name update action.- Returns:
- firstName
-
setFirstName
The
firstName
that was set during the Set First Name update action.- Parameters:
firstName
- value to be set
-
of
factory method- Returns:
- instance of CustomerFirstNameSetMessagePayload
-
of
factory method to create a shallow copy CustomerFirstNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerFirstNameSetMessagePayload deepCopy(@Nullable CustomerFirstNameSetMessagePayload template) factory method to create a deep copy of CustomerFirstNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerFirstNameSetMessagePayload- Returns:
- builder
-
builder
static CustomerFirstNameSetMessagePayloadBuilder builder(CustomerFirstNameSetMessagePayload template) create builder for CustomerFirstNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerFirstNameSetMessagePayload
default <T> T withCustomerFirstNameSetMessagePayload(Function<CustomerFirstNameSetMessagePayload, 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<CustomerFirstNameSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-