Package com.commercetools.api.models.me
Interface MyCustomerSetMiddleNameAction
- All Superinterfaces:
MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
MyCustomerSetMiddleNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetMiddleNameAction myCustomerSetMiddleNameAction = MyCustomerSetMiddleNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyCustomerSetMiddleNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyCustomerSetMiddleNameActionbuilder
(MyCustomerSetMiddleNameAction template) create builder for MyCustomerSetMiddleNameAction instancedeepCopy
(MyCustomerSetMiddleNameAction template) factory method to create a deep copy of MyCustomerSetMiddleNameActionValue to set.of()
factory methodof
(MyCustomerSetMiddleNameAction template) factory method to create a shallow copy MyCustomerSetMiddleNameActionvoid
setMiddleName
(String middleName) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerSetMiddleNameAction>
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_MIDDLE_NAME
discriminator value for MyCustomerSetMiddleNameAction- 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 MyCustomerSetMiddleNameAction
-
of
factory method to create a shallow copy MyCustomerSetMiddleNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyCustomerSetMiddleNameAction deepCopy(@Nullable MyCustomerSetMiddleNameAction template) factory method to create a deep copy of MyCustomerSetMiddleNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerSetMiddleNameAction- Returns:
- builder
-
builder
create builder for MyCustomerSetMiddleNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerSetMiddleNameAction
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
-