Koha::Item::Transfer - Koha Item Transfer Object class
my $item = $transfer->item;
Returns the associated item for this transfer.
my $from_library = $transfer->from_library;
Returns the associated from_library for this transfer.
my $to_library = $transfer->to_library;
Returns the associated to_library for this transfer.
$transfer->transit({ [ skip_record_index => 0|1 ] });
Set the transfer as in transit by updating the datesent time.
Also, update date last seen and ensure item holdingbranch is correctly set.
An optional skip_record_index parameter can be passed to avoid triggering reindex.
Boolean returning whether the transfer is in transit or waiting
Receive the transfer by setting the datearrived time.
$transfer->cancel({ reason => $reason, [force => 1]});
Cancel the transfer by setting the datecancelled time and recording the reason.
Returns a map of column name to string representations including the string.