Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
development:plugins:ils_drivers [2023/06/01 17:55] – [getHolding] emaijala | development:plugins:ils_drivers [2023/10/23 09:56] – [getMyFines] emaijala |
---|
| barcode | string | yes | | the barcode number for this item (important: even if you do not have access to real barcode numbers, you may want to include dummy values, since a missing barcode will prevent some other item information from displaying in the VuFind® interface). | | | barcode | string | yes | | the barcode number for this item (important: even if you do not have access to real barcode numbers, you may want to include dummy values, since a missing barcode will prevent some other item information from displaying in the VuFind® interface). | |
| notes | string[] | no | :!: deprecated in 3.0| an array of notes associated with holdings | | | notes | string[] | no | :!: deprecated in 3.0| an array of notes associated with holdings | |
| | holdings_id | string | no | | the ID of the holdings record containing the current item | |
| holdings_notes | string[] | no | 3.0 | an array of notes associated with holdings record containing the current item | | | holdings_notes | string[] | no | 3.0 | an array of notes associated with holdings record containing the current item | |
| item_notes | string[] | no | 3.0 | an array of notes associated with the current item | | | item_notes | string[] | no | 3.0 | an array of notes associated with the current item | |
* false - Item is unavailable, and the ''status'' field is used for display | * false - Item is unavailable, and the ''status'' field is used for display |
| |
Starting with VuFind 9.1, also the following constants from ''\VuFind\ILS\Connection'' class can be used, and the ''status'' field is always used for display: | Starting with VuFind 9.1, also the following constants from ''\VuFind\ILS\Logic\ItemStatus'' class can be used, and the ''status'' field is always used for display: |
* ITEM_STATUS_UNAVAILABLE - Item is unavailable | * STATUS_UNAVAILABLE - Item is unavailable |
* ITEM_STATUS_AVAILABLE - Item is available | * STATUS_AVAILABLE - Item is available |
* ITEM_STATUS_UNCERTAIN - Item availability is uncertain (the item could be available e.g. only to a specific patron group) | * STATUS_UNCERTAIN - Item availability is uncertain (the item could be available e.g. only to a specific patron group) |
| |
==== getHoldings -- DEPRECATED ==== | ==== getHoldings -- DEPRECATED ==== |
==== getMyFines ==== | ==== getMyFines ==== |
This method queries the ILS for a patron's current fines | This method queries the ILS for a patron's current fines |
* Input: Patron array returned by patronLogin method | |
* Output: Returns an array of associative arrays, one for each fine associated with the specified account. Each associative array contains these keys: | Input: Patron array returned by patronLogin method |
* amount - The total amount of the fine IN PENNIES. Be sure to adjust decimal points appropriately (i.e. for a $1.00 fine, amount should be set to 100). | |
* checkout - A string representing the date when the item was checked out. | Output: Returns an array of associative arrays, one for each fine associated with the specified account. Each associative array contains these keys: |
* fine - A string describing the reason for the fine (i.e. "Overdue", "Long Overdue"). | |
* balance - The unpaid portion of the fine IN PENNIES. | ^ Key ^ Type ^ Required ^ Minimum Version ^ Description ^ |
* createdate – A string representing the date when the fine was accrued (optional) | | amount | int | No | | The total amount of the fine IN PENNIES. Be sure to adjust decimal points appropriately (i.e. for a $1.00 fine, amount should be set to 100) | |
* duedate - A string representing the date when the item was due. | | checkout | string | No | | A string representing the date when the item was checked out | |
* id - The bibliographic ID of the record involved in the fine. | | fine | string | No | | A string describing the reason for the fine (i.e. "Overdue", "Long Overdue") | |
* source - The search backend from which the record may be retrieved (optional - defaults to Solr). // Introduced in VuFind® 2.4. // | | description | string | No | 10.0 | A string with textual description for the fine (e.g. manual fine reason) | |
| | balance | int | No | | The unpaid portion of the fine IN PENNIES | |
| | createdate | string | No | | A string representing the date when the fine was accrued (optional) | |
| | duedate | string | No | | A string representing the date when the item was due | |
| | id | string | No | | The bibliographic ID of the record involved in the fine | |
| | source | string | No | 2.4 | The search backend from which the record may be retrieved (defaults to Solr) | |
| |
==== getMyHolds ==== | ==== getMyHolds ==== |