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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerFirstNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerFirstNameSetMessagePayloadbuilder(CustomerFirstNameSetMessagePayload template) create builder for CustomerFirstNameSetMessagePayload instancecopyDeep()deepCopy(CustomerFirstNameSetMessagePayload template) factory method to create a deep copy of CustomerFirstNameSetMessagePayloadThefirstNamethat was set during the Set First Name update action.of()factory methodof(CustomerFirstNameSetMessagePayload template) factory method to create a shallow copy CustomerFirstNameSetMessagePayloadvoidsetFirstName(String firstName) ThefirstNamethat 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> 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_FIRST_NAME_SET
discriminator value for CustomerFirstNameSetMessagePayload- See Also:
-
-
Method Details
-
getFirstName
String getFirstName()The
firstNamethat was set during the Set First Name update action.- Returns:
- firstName
-
setFirstName
The
firstNamethat 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
-
copyDeep
CustomerFirstNameSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-