<<

NAME

Koha::Hold - Koha Hold object class

API

Class Methods

suspend_hold

my $hold = $hold->suspend_hold( $suspend_until_dt );

resume

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

waiting_expires_on

Returns a DateTime for the date a waiting holds expires on. Returns undef if the system peference ReservesMaxPickUpDelay is not set. Returns undef if the hold is not waiting ( found = 'W' ).

is_found

Returns true if hold is a waiting or in transit

is_waiting

Returns true if hold is a waiting hold

is_in_transit

Returns true if hold is a in_transit hold

is_cancelable

Returns true if hold is a cancelable hold

Holds may be canceled if they not found, or are found and waiting. A hold found but in transit cannot be canceled.

is_at_destination

Returns true if hold is waiting and the hold's pickup branch matches the hold item's holding branch

biblio

Returns the related Koha::Biblio object for this hold

item

Returns the related Koha::Item object for this Hold

branch

Returns the related Koha::Library object for this Hold

borrower

Returns the related Koha::Patron object for this Hold

is_suspended

my $bool = $hold->is_suspended();

type

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<