Package com.commercetools.api.models.me
Interface MyCustomerSetLocaleAction
- All Superinterfaces:
MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
MyCustomerSetLocaleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSetLocaleAction myCustomerSetLocaleAction = MyCustomerSetLocaleAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyCustomerSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyCustomerSetLocaleActionbuilder
(MyCustomerSetLocaleAction template) create builder for MyCustomerSetLocaleAction instancestatic MyCustomerSetLocaleAction
deepCopy
(MyCustomerSetLocaleAction template) factory method to create a deep copy of MyCustomerSetLocaleActionValue to set.static MyCustomerSetLocaleAction
of()
factory methodstatic MyCustomerSetLocaleAction
of
(MyCustomerSetLocaleAction template) factory method to create a shallow copy MyCustomerSetLocaleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerSetLocaleAction>
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_LOCALE
discriminator value for MyCustomerSetLocaleAction- See Also:
-
-
Method Details
-
getLocale
String getLocale()Value to set. Must be one of the languages supported by the Project.
- Returns:
- locale
-
setLocale
Value to set. Must be one of the languages supported by the Project.
- Parameters:
locale
- value to be set
-
of
factory method- Returns:
- instance of MyCustomerSetLocaleAction
-
of
factory method to create a shallow copy MyCustomerSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of MyCustomerSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerSetLocaleAction- Returns:
- builder
-
builder
create builder for MyCustomerSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerSetLocaleAction
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
-