Interface StagedQuoteSetValidToAction
- All Superinterfaces:
ResourceUpdateAction<StagedQuoteUpdateAction>
,StagedQuoteUpdateAction
StagedQuoteSetValidToAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteSetValidToAction stagedQuoteSetValidToAction = StagedQuoteSetValidToAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for StagedQuoteSetValidToAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedQuoteSetValidToActionbuilder
(StagedQuoteSetValidToAction template) create builder for StagedQuoteSetValidToAction instancestatic StagedQuoteSetValidToAction
deepCopy
(StagedQuoteSetValidToAction template) factory method to create a deep copy of StagedQuoteSetValidToActionIfvalidTo
is absent ornull
, this field will be removed if it exists.static StagedQuoteSetValidToAction
of()
factory methodstatic StagedQuoteSetValidToAction
of
(StagedQuoteSetValidToAction template) factory method to create a shallow copy StagedQuoteSetValidToActionvoid
setValidTo
(ZonedDateTime validTo) IfvalidTo
is absent ornull
, this field will be removed if it exists.static com.fasterxml.jackson.core.type.TypeReference<StagedQuoteSetValidToAction>
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.staged_quote.StagedQuoteUpdateAction
getAction, withStagedQuoteUpdateAction
-
Field Details
-
SET_VALID_TO
discriminator value for StagedQuoteSetValidToAction- See Also:
-
-
Method Details
-
getValidTo
ZonedDateTime getValidTo()If
validTo
is absent ornull
, this field will be removed if it exists.- Returns:
- validTo
-
setValidTo
If
validTo
is absent ornull
, this field will be removed if it exists.- Parameters:
validTo
- value to be set
-
of
factory method- Returns:
- instance of StagedQuoteSetValidToAction
-
of
factory method to create a shallow copy StagedQuoteSetValidToAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedQuoteSetValidToAction deepCopy(@Nullable StagedQuoteSetValidToAction template) factory method to create a deep copy of StagedQuoteSetValidToAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedQuoteSetValidToAction- Returns:
- builder
-
builder
create builder for StagedQuoteSetValidToAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedQuoteSetValidToAction
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
-