Interface RecurringOrderActive
- All Superinterfaces:
RecurringOrderStateDraft
Changes the Recurring Order state to active.
Example to create an instance using the builder pattern
RecurringOrderActive recurringOrderActive = RecurringOrderActive.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RecurringOrderActiveBuilderbuilder()builder factory method for RecurringOrderActivestatic RecurringOrderActiveBuilderbuilder(RecurringOrderActive template) create builder for RecurringOrderActive instancecopyDeep()static RecurringOrderActivedeepCopy(RecurringOrderActive template) factory method to create a deep copy of RecurringOrderActiveIf set, the Recurring Order will automatically resume at the date and time (UTC) specified.static RecurringOrderActiveof()factory methodstatic RecurringOrderActiveof(RecurringOrderActive template) factory method to create a shallow copy RecurringOrderActivevoidsetResumesAt(ZonedDateTime resumesAt) If set, the Recurring Order will automatically resume at the date and time (UTC) specified.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderActive>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRecurringOrderActive(Function<RecurringOrderActive, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.recurring_order.RecurringOrderStateDraft
getType, withRecurringOrderStateDraft
-
Field Details
-
ACTIVE
discriminator value for RecurringOrderActive- See Also:
-
-
Method Details
-
getResumesAt
ZonedDateTime getResumesAt()If set, the Recurring Order will automatically resume at the date and time (UTC) specified.
- Returns:
- resumesAt
-
setResumesAt
If set, the Recurring Order will automatically resume at the date and time (UTC) specified.
- Parameters:
resumesAt- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderActive
-
of
factory method to create a shallow copy RecurringOrderActive- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderActive copyDeep()- Specified by:
copyDeepin interfaceRecurringOrderStateDraft
-
deepCopy
factory method to create a deep copy of RecurringOrderActive- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderActive- Returns:
- builder
-
builder
create builder for RecurringOrderActive instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderActive
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
-