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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerSetMiddleNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerSetMiddleNameActionbuilder(CustomerSetMiddleNameAction template) create builder for CustomerSetMiddleNameAction instancecopyDeep()static CustomerSetMiddleNameActiondeepCopy(CustomerSetMiddleNameAction template) factory method to create a deep copy of CustomerSetMiddleNameActionValue to set.static CustomerSetMiddleNameActionof()factory methodstatic CustomerSetMiddleNameActionof(CustomerSetMiddleNameAction template) factory method to create a shallow copy CustomerSetMiddleNameActionvoidsetMiddleName(String middleName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetMiddleNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
getAction, withCustomerUpdateActionMethods 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
-
copyDeep
CustomerSetMiddleNameAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
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
-