Class RecurringOrderSetStartsAtActionBuilder
java.lang.Object
com.commercetools.api.models.recurring_order.RecurringOrderSetStartsAtActionBuilder
- All Implemented Interfaces:
Builder<RecurringOrderSetStartsAtAction>
public class RecurringOrderSetStartsAtActionBuilder
extends Object
implements Builder<RecurringOrderSetStartsAtAction>
RecurringOrderSetStartsAtActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RecurringOrderSetStartsAtAction recurringOrderSetStartsAtAction = RecurringOrderSetStartsAtAction.builder()
.startsAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds RecurringOrderSetStartsAtAction with checking for non-null required valuesbuilds RecurringOrderSetStartsAtAction without checking for non-null required valuesDate and time (UTC) the Recurring Order should be started.of()factory method for an instance of RecurringOrderSetStartsAtActionBuilderof(RecurringOrderSetStartsAtAction template) create builder for RecurringOrderSetStartsAtAction instancestartsAt(ZonedDateTime startsAt) Date and time (UTC) the Recurring Order should be started.
-
Constructor Details
-
RecurringOrderSetStartsAtActionBuilder
public RecurringOrderSetStartsAtActionBuilder()
-
-
Method Details
-
startsAt
Date and time (UTC) the Recurring Order should be started. The date and time must be in the future.
- Parameters:
startsAt- value to be set- Returns:
- Builder
-
getStartsAt
Date and time (UTC) the Recurring Order should be started. The date and time must be in the future.
- Returns:
- startsAt
-
build
builds RecurringOrderSetStartsAtAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<RecurringOrderSetStartsAtAction>- Returns:
- RecurringOrderSetStartsAtAction
-
buildUnchecked
builds RecurringOrderSetStartsAtAction without checking for non-null required values- Returns:
- RecurringOrderSetStartsAtAction
-
of
factory method for an instance of RecurringOrderSetStartsAtActionBuilder- Returns:
- builder
-
of
create builder for RecurringOrderSetStartsAtAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-