<<

NAME

Koha::ILL::ISO18626::Request - Koha ILL ISO18626 request Object class

Internal methods

new

Intercept the 'new' Koha::Object lifecycle method If a supplierUniqueRecordId exists in the request payload, the corresponding bib record is linked to this request on creation

add_message

Add the Koha::ILL::ISO18626::Message to this ISO18626 request

messages

Return the Koha::ILL::ISO18626::Messages for this ISO18626 request

send_message

Send an ISO18626 message payload to the requesting agency's callback endpoint. Expects $message as a Perl hashref, which is converted to XML before sending.

requesting_agency

Returns the associated Koha::ILL::ISO18626::RequestingAgency object.

hold

    my $hold = $iso18626_request->hold();

Method that returns the related Koha::Hold

get_checkout

Returns the related Koha::Checkout obj for this ISO18626 request

progress_request

Progress the request by sending a message to the requesting agency with the status of the request.

Params: - actor: supplyingAgency or requestingAgency - params: may contain status, messageInfoNote, message

_format_iso_payload_date_param

Normalizes a date string to YYYY-MM-DD HH:MM:SS

_type

<<