Interface CustomerSetLocaleAction
- All Superinterfaces:
CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
CustomerSetLocaleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetLocaleAction customerSetLocaleAction = CustomerSetLocaleAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerSetLocaleActionbuilder
(CustomerSetLocaleAction template) create builder for CustomerSetLocaleAction instancestatic CustomerSetLocaleAction
deepCopy
(CustomerSetLocaleAction template) factory method to create a deep copy of CustomerSetLocaleActionValue to set.static CustomerSetLocaleAction
of()
factory methodstatic CustomerSetLocaleAction
of
(CustomerSetLocaleAction template) factory method to create a shallow copy CustomerSetLocaleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetLocaleAction>
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_LOCALE
discriminator value for CustomerSetLocaleAction- 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 CustomerSetLocaleAction
-
of
factory method to create a shallow copy CustomerSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomerSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerSetLocaleAction- Returns:
- builder
-
builder
create builder for CustomerSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerSetLocaleAction
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
-