Class StagedQuoteSetValidToActionBuilder
java.lang.Object
com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionBuilder
- All Implemented Interfaces:
Builder<StagedQuoteSetValidToAction>
public class StagedQuoteSetValidToActionBuilder
extends Object
implements Builder<StagedQuoteSetValidToAction>
StagedQuoteSetValidToActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteSetValidToAction stagedQuoteSetValidToAction = StagedQuoteSetValidToAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedQuoteSetValidToAction with checking for non-null required valuesbuilds StagedQuoteSetValidToAction without checking for non-null required valuesIfvalidTo
is absent ornull
, this field will be removed if it exists.of()
factory method for an instance of StagedQuoteSetValidToActionBuilderof
(StagedQuoteSetValidToAction template) create builder for StagedQuoteSetValidToAction instancevalidTo
(ZonedDateTime validTo) IfvalidTo
is absent ornull
, this field will be removed if it exists.
-
Constructor Details
-
StagedQuoteSetValidToActionBuilder
public StagedQuoteSetValidToActionBuilder()
-
-
Method Details
-
validTo
If
validTo
is absent ornull
, this field will be removed if it exists.- Parameters:
validTo
- value to be set- Returns:
- Builder
-
getValidTo
If
validTo
is absent ornull
, this field will be removed if it exists.- Returns:
- validTo
-
build
builds StagedQuoteSetValidToAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedQuoteSetValidToAction>
- Returns:
- StagedQuoteSetValidToAction
-
buildUnchecked
builds StagedQuoteSetValidToAction without checking for non-null required values- Returns:
- StagedQuoteSetValidToAction
-
of
factory method for an instance of StagedQuoteSetValidToActionBuilder- Returns:
- builder
-
of
create builder for StagedQuoteSetValidToAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-