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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerLastNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerLastNameSetMessagePayloadbuilder(CustomerLastNameSetMessagePayload template) create builder for CustomerLastNameSetMessagePayload instancecopyDeep()deepCopy(CustomerLastNameSetMessagePayload template) factory method to create a deep copy of CustomerLastNameSetMessagePayloadThelastNamethat was set during the Set Last Name update action.of()factory methodof(CustomerLastNameSetMessagePayload template) factory method to create a shallow copy CustomerLastNameSetMessagePayloadvoidsetLastName(String lastName) ThelastNamethat 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> Taccessor 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_LAST_NAME_SET
discriminator value for CustomerLastNameSetMessagePayload- See Also:
-
-
Method Details
-
getLastName
String getLastName()The
lastNamethat was set during the Set Last Name update action.- Returns:
- lastName
-
setLastName
The
lastNamethat 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
-
copyDeep
CustomerLastNameSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-