Interface CustomerSetSalutationAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
CustomerSetSalutationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetSalutationAction customerSetSalutationAction = CustomerSetSalutationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerSetSalutationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetSalutationActionbuilder
(CustomerSetSalutationAction template) create builder for CustomerSetSalutationAction instancestatic CustomerSetSalutationAction
deepCopy
(CustomerSetSalutationAction template) factory method to create a deep copy of CustomerSetSalutationActionValue to set.static CustomerSetSalutationAction
of()
factory methodstatic CustomerSetSalutationAction
of
(CustomerSetSalutationAction template) factory method to create a shallow copy CustomerSetSalutationActionvoid
setSalutation
(String salutation) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetSalutationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_SALUTATION
discriminator value for CustomerSetSalutationAction- See Also:
-
-
Method Details
-
getSalutation
String getSalutation()Value to set. If empty, any existing value is removed.
- Returns:
- salutation
-
setSalutation
Value to set. If empty, any existing value is removed.
- Parameters:
salutation
- value to be set
-
of
factory method- Returns:
- instance of CustomerSetSalutationAction
-
of
factory method to create a shallow copy CustomerSetSalutationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerSetSalutationAction deepCopy(@Nullable CustomerSetSalutationAction template) factory method to create a deep copy of CustomerSetSalutationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetSalutationAction- Returns:
- builder
-
builder
create builder for CustomerSetSalutationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetSalutationAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-