| Interface | osid.inventory.Inventory | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
osid.Subjugateable | |||
| Description |
An | ||
| Method | getStockId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the stock Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStock | ||
| Description |
Gets the | ||
| Return | osid.inventory.Stock | the stock | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDate | ||
| Description |
Gets the inventory date. | ||
| Return | osid.calendaring.DateTime | the inventory date | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQuantity | ||
| Description |
Gets the quantity of the items in the stock. | ||
| Return | decimal | the quantity | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInventoryRecord | ||
| Description |
Gets the inventory record corresponding to the given
| ||
| Parameters | osid.type.Type | inventoryRecordType | the type of inventory record to retrieve |
| Return | osid.inventory.records.InventoryRecord | the inventory record | |
| Errors | NULL_ARGUMENT | inventoryRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(inventoryRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |