recall_items => [],
unavail_holds => [],
inet => 1,
+ expire => '20501231',
},
miker => {
name => "Mike Rylander",
recall_items => [],
unavail_holds => [],
inet => 0,
+ expire => '20501120',
},
);
return $self->{birthdate};
}
+sub sip_expire {
+ my $self = shift;
+
+ return $self->{expire};
+}
+
sub ptype {
my $self = shift;
$str = $patron->email_addr;
$str = $patron->home_phone;
$str = $patron->sip_birthdate;
+ $str = $patron->sip_expire;
$str = $patron->ptype;
$str = $patron->language;
$str = $patron->password;
YYYYMMDD HHMMSS
+=head2 C<$str = $patron-E<gt>sip_expire;>
+
+Returns the patron's expiration formated according to the SIP
+specification:
+
+ YYYYMMDD HHMMSS
+
=head2 C<$str = $patron-E<gt>ptype;>
Returns the "patron type" of the patron. This is not used by the
FID_VALID_PATRON_PWD => 'CQ',
# SIP Extensions used by Envisionware Terminals
+ FID_PATRON_EXPIRE => 'PA',
FID_PATRON_BIRTHDATE => 'PB',
FID_PATRON_CLASS => 'PC',
# SIP 2.0 extensions used by Envisionware
# Other types of terminals will ignore the fields, if
# they don't recognize the codes
+ $resp .= maybe_add(FID_PATRON_EXPIRE, $patron->sip_expire);
$resp .= maybe_add(FID_PATRON_BIRTHDATE, $patron->sip_birthdate);
$resp .= maybe_add(FID_PATRON_CLASS, $patron->ptype);