commerce_inventory.InventoryReservation
Constructors
global InventoryReservation()
Instantiates a new Item inventory levels response. Including the java reference Dto
Methods
global ID getId()
Gets id.
Returns
global void setId(ID id)
Sets id.
Parameters
global Integer getDurationInSeconds()
Gets duration in seconds.
Returns
| Type | Description |
|---|
Integer | the duration in seconds |
global void setDurationInSeconds(Integer durationInSeconds)
Sets duration in seconds.
Parameters
| Param | Description |
|---|
durationInSeconds | the duration in seconds |
global String getReservationIdentifier()
Gets reservation identifier.
Returns
| Type | Description |
|---|
String | the reservation identifier |
global void setReservationIdentifier(String reservationIdentifier)
Sets reservation identifier.
Parameters
| Param | Description |
|---|
reservationIdentifier | the reservation identifier |
global ID getReservationSourceId()
Gets reservation source id.
Returns
| Type | Description |
|---|
ID | the reservation source id |
global void setReservationSourceId(ID reservationSourceId)
Sets reservation source id.
Parameters
| Param | Description |
|---|
reservationSourceId | the reservation source id |
global String getErrorCode()
Gets error code.
Returns
| Type | Description |
|---|
String | the error code |
global void setErrorCode(String errorCode)
Sets error code.
Parameters
| Param | Description |
|---|
errorCode | the error code |
global String getErrorMessage()
Gets error message.
Returns
| Type | Description |
|---|
String | the error message |
global void setErrorMessage(String errorMessage)
Sets error message.
Parameters
| Param | Description |
|---|
errorMessage | the error message |
global List<InventoryItemReservation> getItems()
Gets items.
Returns
| Type | Description |
|---|
List<InventoryItemReservation> | the items |
global void setItems(List<InventoryItemReservation> items)
Sets items.
Parameters
| Param | Description |
|---|
items | the items |