Package com.commercetools.api.models.me
Interface MyCustomerSetTitleAction
- All Superinterfaces:
MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
Setting the title of the Customer produces the CustomerTitleSetMessage.
Example to create an instance using the builder pattern
MyCustomerSetTitleAction myCustomerSetTitleAction = MyCustomerSetTitleAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyCustomerSetTitleActionbuilder
(MyCustomerSetTitleAction template) create builder for MyCustomerSetTitleAction instancestatic MyCustomerSetTitleAction
deepCopy
(MyCustomerSetTitleAction template) factory method to create a deep copy of MyCustomerSetTitleActiongetTitle()
Value to set.static MyCustomerSetTitleAction
of()
factory methodstatic MyCustomerSetTitleAction
of
(MyCustomerSetTitleAction template) factory method to create a shallow copy MyCustomerSetTitleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerSetTitleAction>
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_TITLE
discriminator value for MyCustomerSetTitleAction- See Also:
-
-
Method Details
-
getTitle
String getTitle()Value to set. If empty, any existing value is removed.
- Returns:
- title
-
setTitle
Value to set. If empty, any existing value is removed.
- Parameters:
title
- value to be set
-
of
factory method- Returns:
- instance of MyCustomerSetTitleAction
-
of
factory method to create a shallow copy MyCustomerSetTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of MyCustomerSetTitleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerSetTitleAction- Returns:
- builder
-
builder
create builder for MyCustomerSetTitleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerSetTitleAction
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
-