Interface StagedOrderImportCustomLineItemStateAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
- All Known Implementing Classes:
StagedOrderImportCustomLineItemStateActionImpl
StagedOrderImportCustomLineItemStateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderImportCustomLineItemStateAction stagedOrderImportCustomLineItemStateAction = StagedOrderImportCustomLineItemStateAction.builder()
.customLineItemId("{customLineItemId}")
.plusState(stateBuilder -> stateBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderImportCustomLineItemStateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderImportCustomLineItemStateActioncreate builder for StagedOrderImportCustomLineItemStateAction instancefactory method to create a deep copy of StagedOrderImportCustomLineItemStateAction@NotNull String
getState()
of()
factory methodof
(StagedOrderImportCustomLineItemStateAction template) factory method to create a shallow copy StagedOrderImportCustomLineItemStateActionvoid
setCustomLineItemId
(String customLineItemId) set customLineItemIdvoid
set statevoid
set statestatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderImportCustomLineItemStateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStagedOrderImportCustomLineItemStateAction
(Function<StagedOrderImportCustomLineItemStateAction, T> helper) 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
-
IMPORT_CUSTOM_LINE_ITEM_STATE
discriminator value for StagedOrderImportCustomLineItemStateAction- See Also:
-
-
Method Details
-
getCustomLineItemId
- Returns:
- customLineItemId
-
getState
- Returns:
- state
-
setCustomLineItemId
set customLineItemId- Parameters:
customLineItemId
- value to be set
-
setState
set state- Parameters:
state
- values to be set
-
setState
set state- Parameters:
state
- values to be set
-
of
factory method- Returns:
- instance of StagedOrderImportCustomLineItemStateAction
-
of
static StagedOrderImportCustomLineItemStateAction of(StagedOrderImportCustomLineItemStateAction template) factory method to create a shallow copy StagedOrderImportCustomLineItemStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderImportCustomLineItemStateAction deepCopy(@Nullable StagedOrderImportCustomLineItemStateAction template) factory method to create a deep copy of StagedOrderImportCustomLineItemStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderImportCustomLineItemStateAction- Returns:
- builder
-
builder
static StagedOrderImportCustomLineItemStateActionBuilder builder(StagedOrderImportCustomLineItemStateAction template) create builder for StagedOrderImportCustomLineItemStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderImportCustomLineItemStateAction
default <T> T withStagedOrderImportCustomLineItemStateAction(Function<StagedOrderImportCustomLineItemStateAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<StagedOrderImportCustomLineItemStateAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-