Interface RecurringOrderStartsAtSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Starts At update action.
Example to create an instance using the builder pattern
RecurringOrderStartsAtSetMessagePayload recurringOrderStartsAtSetMessagePayload = RecurringOrderStartsAtSetMessagePayload.builder()
.startsAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.oldStartsAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderStartsAtSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderStartsAtSetMessagePayloadcreate builder for RecurringOrderStartsAtSetMessagePayload instancecopyDeep()factory method to create a deep copy of RecurringOrderStartsAtSetMessagePayload@NotNull ZonedDateTimeStart date and time of the Recurring Order before the Set Starts At update action.@NotNull ZonedDateTimeStart date and time of the Recurring Order after the Set Starts At update action.of()factory methodof(RecurringOrderStartsAtSetMessagePayload template) factory method to create a shallow copy RecurringOrderStartsAtSetMessagePayloadvoidsetOldStartsAt(ZonedDateTime oldStartsAt) Start date and time of the Recurring Order before the Set Starts At update action.voidsetStartsAt(ZonedDateTime startsAt) Start date and time of the Recurring Order after the Set Starts At update action.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderStartsAtSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRecurringOrderStartsAtSetMessagePayload(Function<RecurringOrderStartsAtSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
RECURRING_ORDER_STARTS_AT_SET
discriminator value for RecurringOrderStartsAtSetMessagePayload- See Also:
-
-
Method Details
-
getStartsAt
Start date and time of the Recurring Order after the Set Starts At update action.
- Returns:
- startsAt
-
getOldStartsAt
Start date and time of the Recurring Order before the Set Starts At update action.
- Returns:
- oldStartsAt
-
setStartsAt
Start date and time of the Recurring Order after the Set Starts At update action.
- Parameters:
startsAt- value to be set
-
setOldStartsAt
Start date and time of the Recurring Order before the Set Starts At update action.
- Parameters:
oldStartsAt- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderStartsAtSetMessagePayload
-
of
factory method to create a shallow copy RecurringOrderStartsAtSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderStartsAtSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static RecurringOrderStartsAtSetMessagePayload deepCopy(@Nullable RecurringOrderStartsAtSetMessagePayload template) factory method to create a deep copy of RecurringOrderStartsAtSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderStartsAtSetMessagePayload- Returns:
- builder
-
builder
static RecurringOrderStartsAtSetMessagePayloadBuilder builder(RecurringOrderStartsAtSetMessagePayload template) create builder for RecurringOrderStartsAtSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderStartsAtSetMessagePayload
default <T> T withRecurringOrderStartsAtSetMessagePayload(Function<RecurringOrderStartsAtSetMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderStartsAtSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-