Package com.commercetools.api.models.me
Interface MyCustomerSetSalutationAction
- All Superinterfaces:
MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
MyCustomerSetSalutationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetSalutationAction myCustomerSetSalutationAction = MyCustomerSetSalutationAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyCustomerSetSalutationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyCustomerSetSalutationActionbuilder
(MyCustomerSetSalutationAction template) create builder for MyCustomerSetSalutationAction instancedeepCopy
(MyCustomerSetSalutationAction template) factory method to create a deep copy of MyCustomerSetSalutationActionValue to set.of()
factory methodof
(MyCustomerSetSalutationAction template) factory method to create a shallow copy MyCustomerSetSalutationActionvoid
setSalutation
(String salutation) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerSetSalutationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
getAction, withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_SALUTATION
discriminator value for MyCustomerSetSalutationAction- 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 MyCustomerSetSalutationAction
-
of
factory method to create a shallow copy MyCustomerSetSalutationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyCustomerSetSalutationAction deepCopy(@Nullable MyCustomerSetSalutationAction template) factory method to create a deep copy of MyCustomerSetSalutationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerSetSalutationAction- Returns:
- builder
-
builder
create builder for MyCustomerSetSalutationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerSetSalutationAction
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
-