Interface CustomerLastNameSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Last Name update action.
Example to create an instance using the builder pattern
CustomerLastNameSetMessagePayload customerLastNameSetMessagePayload = CustomerLastNameSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerLastNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerLastNameSetMessagePayloadbuilder
(CustomerLastNameSetMessagePayload template) create builder for CustomerLastNameSetMessagePayload instancedeepCopy
(CustomerLastNameSetMessagePayload template) factory method to create a deep copy of CustomerLastNameSetMessagePayloadThelastName
that was set during the Set Last Name update action.of()
factory methodof
(CustomerLastNameSetMessagePayload template) factory method to create a shallow copy CustomerLastNameSetMessagePayloadvoid
setLastName
(String lastName) ThelastName
that was set during the Set Last Name update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerLastNameSetMessagePayload>
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_LAST_NAME_SET
discriminator value for CustomerLastNameSetMessagePayload- See Also:
-
-
Method Details
-
getLastName
String getLastName()The
lastName
that was set during the Set Last Name update action.- Returns:
- lastName
-
setLastName
The
lastName
that was set during the Set Last Name update action.- Parameters:
lastName
- value to be set
-
of
factory method- Returns:
- instance of CustomerLastNameSetMessagePayload
-
of
factory method to create a shallow copy CustomerLastNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerLastNameSetMessagePayload deepCopy(@Nullable CustomerLastNameSetMessagePayload template) factory method to create a deep copy of CustomerLastNameSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerLastNameSetMessagePayload- Returns:
- builder
-
builder
create builder for CustomerLastNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerLastNameSetMessagePayload
default <T> T withCustomerLastNameSetMessagePayload(Function<CustomerLastNameSetMessagePayload, 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<CustomerLastNameSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-