Interface InventoryEntryReservationExpirationInMinutesSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
public interface InventoryEntryReservationExpirationInMinutesSetMessagePayload
extends MessagePayload
Generated after a successful Set Reservation Expiration In Minutes update action.
Example to create an instance using the builder pattern
InventoryEntryReservationExpirationInMinutesSetMessagePayload inventoryEntryReservationExpirationInMinutesSetMessagePayload = InventoryEntryReservationExpirationInMinutesSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for InventoryEntryReservationExpirationInMinutesSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for InventoryEntryReservationExpirationInMinutesSetMessagePayloadcreate builder for InventoryEntryReservationExpirationInMinutesSetMessagePayload instancecopyDeep()factory method to create a deep copy of InventoryEntryReservationExpirationInMinutesSetMessagePayloadreservationExpirationInMinutesvalue 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 InventoryEntryReservationExpirationInMinutesSetMessagePayloadvoidsetNewReservationExpirationInMinutes(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<InventoryEntryReservationExpirationInMinutesSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithInventoryEntryReservationExpirationInMinutesSetMessagePayload(Function<InventoryEntryReservationExpirationInMinutesSetMessagePayload, 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
-
INVENTORY_ENTRY_RESERVATION_EXPIRATION_IN_MINUTES_SET
discriminator value for InventoryEntryReservationExpirationInMinutesSetMessagePayload- 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 InventoryEntryReservationExpirationInMinutesSetMessagePayload
-
of
static InventoryEntryReservationExpirationInMinutesSetMessagePayload of(InventoryEntryReservationExpirationInMinutesSetMessagePayload template) factory method to create a shallow copy InventoryEntryReservationExpirationInMinutesSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static InventoryEntryReservationExpirationInMinutesSetMessagePayload deepCopy(@Nullable InventoryEntryReservationExpirationInMinutesSetMessagePayload template) factory method to create a deep copy of InventoryEntryReservationExpirationInMinutesSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InventoryEntryReservationExpirationInMinutesSetMessagePayload- Returns:
- builder
-
builder
static InventoryEntryReservationExpirationInMinutesSetMessagePayloadBuilder builder(InventoryEntryReservationExpirationInMinutesSetMessagePayload template) create builder for InventoryEntryReservationExpirationInMinutesSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withInventoryEntryReservationExpirationInMinutesSetMessagePayload
default <T> T withInventoryEntryReservationExpirationInMinutesSetMessagePayload(Function<InventoryEntryReservationExpirationInMinutesSetMessagePayload, 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<InventoryEntryReservationExpirationInMinutesSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-