Lines 228-233
sub _to_model {
Link Here
|
228 |
our $to_api_mapping = { |
228 |
our $to_api_mapping = { |
229 |
accountlines_id => 'account_line_id', |
229 |
accountlines_id => 'account_line_id', |
230 |
accounttype => 'account_type', |
230 |
accounttype => 'account_type', |
|
|
231 |
debit_type_code => 'debit_type', |
231 |
amountoutstanding => 'amount_outstanding', |
232 |
amountoutstanding => 'amount_outstanding', |
232 |
borrowernumber => 'patron_id', |
233 |
borrowernumber => 'patron_id', |
233 |
branchcode => 'library_id', |
234 |
branchcode => 'library_id', |
Lines 244-249
our $to_api_mapping = {
Link Here
|
244 |
our $to_model_mapping = { |
245 |
our $to_model_mapping = { |
245 |
account_line_id => 'accountlines_id', |
246 |
account_line_id => 'accountlines_id', |
246 |
account_type => 'accounttype', |
247 |
account_type => 'accounttype', |
|
|
248 |
debit_type => 'debit_type_code', |
247 |
amount_outstanding => 'amountoutstanding', |
249 |
amount_outstanding => 'amountoutstanding', |
248 |
checkout_id => 'issue_id', |
250 |
checkout_id => 'issue_id', |
249 |
internal_note => 'note', |
251 |
internal_note => 'note', |