Interface InventoryEntryReservationExpirationInMinutesSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set Reservation Expiration In Minutes update action.
Example to create an instance using the builder pattern
InventoryEntryReservationExpirationInMinutesSetMessage inventoryEntryReservationExpirationInMinutesSetMessage = InventoryEntryReservationExpirationInMinutesSetMessage.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)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for InventoryEntryReservationExpirationInMinutesSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for InventoryEntryReservationExpirationInMinutesSetMessagecreate builder for InventoryEntryReservationExpirationInMinutesSetMessage instancecopyDeep()factory method to create a deep copy of InventoryEntryReservationExpirationInMinutesSetMessagereservationExpirationInMinutesvalue of the Inventory Entry after the Set Reservation Expiration In Minutes update action.reservationExpirationInMinutesvalue of the Inventory Entry before the Set Reservation Expiration In Minutes update action.of()factory methodfactory method to create a shallow copy InventoryEntryReservationExpirationInMinutesSetMessagevoidsetNewReservationExpirationInMinutes(Integer newReservationExpirationInMinutes) reservationExpirationInMinutesvalue of the Inventory Entry after the Set Reservation Expiration In Minutes update action.voidsetOldReservationExpirationInMinutes(Integer oldReservationExpirationInMinutes) reservationExpirationInMinutesvalue of the Inventory Entry before the Set Reservation Expiration In Minutes update action.static com.fasterxml.jackson.core.type.TypeReference<InventoryEntryReservationExpirationInMinutesSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithInventoryEntryReservationExpirationInMinutesSetMessage(Function<InventoryEntryReservationExpirationInMinutesSetMessage, T> helper) accessor 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
-
INVENTORY_ENTRY_RESERVATION_EXPIRATION_IN_MINUTES_SET
discriminator value for InventoryEntryReservationExpirationInMinutesSetMessage- See Also:
-
-
Method Details
-
getNewReservationExpirationInMinutes
Integer getNewReservationExpirationInMinutes()reservationExpirationInMinutesvalue of the Inventory Entry after the Set Reservation Expiration In Minutes update action.- Returns:
- newReservationExpirationInMinutes
-
getOldReservationExpirationInMinutes
Integer getOldReservationExpirationInMinutes()reservationExpirationInMinutesvalue of the Inventory Entry before the Set Reservation Expiration In Minutes update action.- Returns:
- oldReservationExpirationInMinutes
-
setNewReservationExpirationInMinutes
reservationExpirationInMinutesvalue of the Inventory Entry after the Set Reservation Expiration In Minutes update action.- Parameters:
newReservationExpirationInMinutes- value to be set
-
setOldReservationExpirationInMinutes
reservationExpirationInMinutesvalue of the Inventory Entry before the Set Reservation Expiration In Minutes update action.- Parameters:
oldReservationExpirationInMinutes- value to be set
-
of
factory method- Returns:
- instance of InventoryEntryReservationExpirationInMinutesSetMessage
-
of
static InventoryEntryReservationExpirationInMinutesSetMessage of(InventoryEntryReservationExpirationInMinutesSetMessage template) factory method to create a shallow copy InventoryEntryReservationExpirationInMinutesSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static InventoryEntryReservationExpirationInMinutesSetMessage deepCopy(@Nullable InventoryEntryReservationExpirationInMinutesSetMessage template) factory method to create a deep copy of InventoryEntryReservationExpirationInMinutesSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InventoryEntryReservationExpirationInMinutesSetMessage- Returns:
- builder
-
builder
static InventoryEntryReservationExpirationInMinutesSetMessageBuilder builder(InventoryEntryReservationExpirationInMinutesSetMessage template) create builder for InventoryEntryReservationExpirationInMinutesSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withInventoryEntryReservationExpirationInMinutesSetMessage
default <T> T withInventoryEntryReservationExpirationInMinutesSetMessage(Function<InventoryEntryReservationExpirationInMinutesSetMessage, 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<InventoryEntryReservationExpirationInMinutesSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-