Interface RecurringOrderStartsAtSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set Starts At update action.
Example to create an instance using the builder pattern
RecurringOrderStartsAtSetMessage recurringOrderStartsAtSetMessage = RecurringOrderStartsAtSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.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 RecurringOrderStartsAtSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderStartsAtSetMessagebuilder(RecurringOrderStartsAtSetMessage template) create builder for RecurringOrderStartsAtSetMessage instancecopyDeep()deepCopy(RecurringOrderStartsAtSetMessage template) factory method to create a deep copy of RecurringOrderStartsAtSetMessage@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(RecurringOrderStartsAtSetMessage template) factory method to create a shallow copy RecurringOrderStartsAtSetMessagevoidsetOldStartsAt(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<RecurringOrderStartsAtSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
RECURRING_ORDER_STARTS_AT_SET
discriminator value for RecurringOrderStartsAtSetMessage- 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 RecurringOrderStartsAtSetMessage
-
of
factory method to create a shallow copy RecurringOrderStartsAtSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderStartsAtSetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static RecurringOrderStartsAtSetMessage deepCopy(@Nullable RecurringOrderStartsAtSetMessage template) factory method to create a deep copy of RecurringOrderStartsAtSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderStartsAtSetMessage- Returns:
- builder
-
builder
create builder for RecurringOrderStartsAtSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderStartsAtSetMessage
default <T> T withRecurringOrderStartsAtSetMessage(Function<RecurringOrderStartsAtSetMessage, 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<RecurringOrderStartsAtSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-