Interface CustomerSetMiddleNameAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
CustomerSetMiddleNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetMiddleNameAction customerSetMiddleNameAction = CustomerSetMiddleNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerSetMiddleNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetMiddleNameActionbuilder
(CustomerSetMiddleNameAction template) create builder for CustomerSetMiddleNameAction instancestatic CustomerSetMiddleNameAction
deepCopy
(CustomerSetMiddleNameAction template) factory method to create a deep copy of CustomerSetMiddleNameActionValue to set.static CustomerSetMiddleNameAction
of()
factory methodstatic CustomerSetMiddleNameAction
of
(CustomerSetMiddleNameAction template) factory method to create a shallow copy CustomerSetMiddleNameActionvoid
setMiddleName
(String middleName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetMiddleNameAction>
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_MIDDLE_NAME
discriminator value for CustomerSetMiddleNameAction- See Also:
-
-
Method Details
-
getMiddleName
String getMiddleName()Value to set. If empty, any existing value is removed.
- Returns:
- middleName
-
setMiddleName
Value to set. If empty, any existing value is removed.
- Parameters:
middleName
- value to be set
-
of
factory method- Returns:
- instance of CustomerSetMiddleNameAction
-
of
factory method to create a shallow copy CustomerSetMiddleNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerSetMiddleNameAction deepCopy(@Nullable CustomerSetMiddleNameAction template) factory method to create a deep copy of CustomerSetMiddleNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetMiddleNameAction- Returns:
- builder
-
builder
create builder for CustomerSetMiddleNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetMiddleNameAction
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
-