Interface StagedOrderSetLocaleAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
- All Known Implementing Classes:
StagedOrderSetLocaleActionImpl
StagedOrderSetLocaleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetLocaleAction stagedOrderSetLocaleAction = StagedOrderSetLocaleAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderSetLocaleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderSetLocaleActionbuilder
(StagedOrderSetLocaleAction template) create builder for StagedOrderSetLocaleAction instancestatic StagedOrderSetLocaleAction
deepCopy
(StagedOrderSetLocaleAction template) factory method to create a deep copy of StagedOrderSetLocaleActionstatic StagedOrderSetLocaleAction
of()
factory methodstatic StagedOrderSetLocaleAction
of
(StagedOrderSetLocaleAction template) factory method to create a shallow copy StagedOrderSetLocaleActionvoid
set localestatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetLocaleAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
SET_LOCALE
discriminator value for StagedOrderSetLocaleAction- See Also:
-
-
Method Details
-
getLocale
- Returns:
- locale
-
setLocale
set locale- Parameters:
locale
- value to be set
-
of
factory method- Returns:
- instance of StagedOrderSetLocaleAction
-
of
factory method to create a shallow copy StagedOrderSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StagedOrderSetLocaleAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetLocaleAction- Returns:
- builder
-
builder
create builder for StagedOrderSetLocaleAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetLocaleAction
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
-