Interface OrderSetLocaleAction
- All Superinterfaces:
OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
OrderSetLocaleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetLocaleAction orderSetLocaleAction = OrderSetLocaleAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderSetLocaleActionBuilder
builder()
builder factory method for OrderSetLocaleActionstatic OrderSetLocaleActionBuilder
builder
(OrderSetLocaleAction template) create builder for OrderSetLocaleAction instancestatic OrderSetLocaleAction
deepCopy
(OrderSetLocaleAction template) factory method to create a deep copy of OrderSetLocaleActionValue to set.static OrderSetLocaleAction
of()
factory methodstatic OrderSetLocaleAction
of
(OrderSetLocaleAction template) factory method to create a shallow copy OrderSetLocaleActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<OrderSetLocaleAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderSetLocaleAction
(Function<OrderSetLocaleAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_LOCALE
discriminator value for OrderSetLocaleAction- See Also:
-
-
Method Details
-
getLocale
String getLocale()Value to set. Must be one of the Project's languages. If empty, any existing value is removed.
- Returns:
- locale
-
setLocale
Value to set. Must be one of the Project's languages. If empty, any existing value is removed.
- Parameters:
locale
- value to be set
-
of
factory method- Returns:
- instance of OrderSetLocaleAction
-
of
factory method to create a shallow copy OrderSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of OrderSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetLocaleAction- Returns:
- builder
-
builder
create builder for OrderSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetLocaleAction
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
-