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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerSetLocaleActionbuilder(CustomerSetLocaleAction template) create builder for CustomerSetLocaleAction instancecopyDeep()static CustomerSetLocaleActiondeepCopy(CustomerSetLocaleAction template) factory method to create a deep copy of CustomerSetLocaleActionValue to set.static CustomerSetLocaleActionof()factory methodstatic CustomerSetLocaleActionof(CustomerSetLocaleAction template) factory method to create a shallow copy CustomerSetLocaleActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<CustomerSetLocaleAction>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_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
-
copyDeep
CustomerSetLocaleAction copyDeep()- Specified by:
copyDeepin interfaceCustomerUpdateAction
-
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
-