Interface RecurringOrderExpiresAtSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set Expires At update action.
Example to create an instance using the builder pattern
RecurringOrderExpiresAtSetMessage recurringOrderExpiresAtSetMessage = RecurringOrderExpiresAtSetMessage.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)
.newExpiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.oldExpiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderExpiresAtSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderExpiresAtSetMessagebuilder(RecurringOrderExpiresAtSetMessage template) create builder for RecurringOrderExpiresAtSetMessage instancecopyDeep()deepCopy(RecurringOrderExpiresAtSetMessage template) factory method to create a deep copy of RecurringOrderExpiresAtSetMessage@NotNull ZonedDateTimeExpiration date and time of the Recurring Order after the Set Expires At update action.@NotNull ZonedDateTimeExpiration date and time of the Recurring Order before the Set Expires At update action.of()factory methodof(RecurringOrderExpiresAtSetMessage template) factory method to create a shallow copy RecurringOrderExpiresAtSetMessagevoidsetNewExpiresAt(ZonedDateTime newExpiresAt) Expiration date and time of the Recurring Order after the Set Expires At update action.voidsetOldExpiresAt(ZonedDateTime oldExpiresAt) Expiration date and time of the Recurring Order before the Set Expires At update action.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderExpiresAtSetMessage>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_EXPIRES_AT_SET
discriminator value for RecurringOrderExpiresAtSetMessage- See Also:
-
-
Method Details
-
getNewExpiresAt
Expiration date and time of the Recurring Order after the Set Expires At update action.
- Returns:
- newExpiresAt
-
getOldExpiresAt
Expiration date and time of the Recurring Order before the Set Expires At update action.
- Returns:
- oldExpiresAt
-
setNewExpiresAt
Expiration date and time of the Recurring Order after the Set Expires At update action.
- Parameters:
newExpiresAt- value to be set
-
setOldExpiresAt
Expiration date and time of the Recurring Order before the Set Expires At update action.
- Parameters:
oldExpiresAt- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderExpiresAtSetMessage
-
of
factory method to create a shallow copy RecurringOrderExpiresAtSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderExpiresAtSetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static RecurringOrderExpiresAtSetMessage deepCopy(@Nullable RecurringOrderExpiresAtSetMessage template) factory method to create a deep copy of RecurringOrderExpiresAtSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderExpiresAtSetMessage- Returns:
- builder
-
builder
create builder for RecurringOrderExpiresAtSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderExpiresAtSetMessage
default <T> T withRecurringOrderExpiresAtSetMessage(Function<RecurringOrderExpiresAtSetMessage, 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<RecurringOrderExpiresAtSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-