Class StagedQuoteValidToSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StagedQuoteValidToSetMessagePayload>
public class StagedQuoteValidToSetMessagePayloadBuilder
extends Object
implements Builder<StagedQuoteValidToSetMessagePayload>
StagedQuoteValidToSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedQuoteValidToSetMessagePayload stagedQuoteValidToSetMessagePayload = StagedQuoteValidToSetMessagePayload.builder()
.validTo(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedQuoteValidToSetMessagePayload with checking for non-null required valuesbuilds StagedQuoteValidToSetMessagePayload without checking for non-null required valuesExpiration date for the Staged Quote after the Set Valid To update action.of()
factory method for an instance of StagedQuoteValidToSetMessagePayloadBuilderof
(StagedQuoteValidToSetMessagePayload template) create builder for StagedQuoteValidToSetMessagePayload instancevalidTo
(ZonedDateTime validTo) Expiration date for the Staged Quote after the Set Valid To update action.
-
Constructor Details
-
StagedQuoteValidToSetMessagePayloadBuilder
public StagedQuoteValidToSetMessagePayloadBuilder()
-
-
Method Details
-
validTo
Expiration date for the Staged Quote after the Set Valid To update action.
- Parameters:
validTo
- value to be set- Returns:
- Builder
-
getValidTo
Expiration date for the Staged Quote after the Set Valid To update action.
- Returns:
- validTo
-
build
builds StagedQuoteValidToSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedQuoteValidToSetMessagePayload>
- Returns:
- StagedQuoteValidToSetMessagePayload
-
buildUnchecked
builds StagedQuoteValidToSetMessagePayload without checking for non-null required values- Returns:
- StagedQuoteValidToSetMessagePayload
-
of
factory method for an instance of StagedQuoteValidToSetMessagePayloadBuilder- Returns:
- builder
-
of
public static StagedQuoteValidToSetMessagePayloadBuilder of(StagedQuoteValidToSetMessagePayload template) create builder for StagedQuoteValidToSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-