Lines 194-199
sub get_sharable_info {
Link Here
|
194 |
return $sub_mana_info; |
194 |
return $sub_mana_info; |
195 |
} |
195 |
} |
196 |
|
196 |
|
|
|
197 |
=head3 to_api_mapping |
198 |
|
199 |
This method returns the mapping for representing a Koha::Subscription object |
200 |
on the API. |
201 |
|
202 |
=cut |
203 |
|
204 |
sub to_api_mapping { |
205 |
return { |
206 |
subscriptionid => 'id', |
207 |
biblionumber => 'biblio_id', |
208 |
librarian => undef, |
209 |
startdate => 'start_date', |
210 |
aqbooksellerid => 'vendor_id', |
211 |
aqbudgetid => 'budget_id', |
212 |
weeklength => 'length_in_weeks', |
213 |
monthlength => 'length_in_months', |
214 |
numberlength => 'length_in_issues', |
215 |
}; |
216 |
} |
197 |
|
217 |
|
198 |
=head3 _type |
218 |
=head3 _type |
199 |
|
219 |
|