Module: Reapal::Form::TenderRefundForm
- Defined in:
- lib/reapal/form/tender_refund_form.rb
Instance Method Summary collapse
Instance Method Details
#tender_refund_form(flow_id, tender_no, debit_contracts, debit_details, periods, return_url, notify_url, fee_details = [], defray_details = [], busway = '01', remark = '') ⇒ Hash
还款
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/reapal/form/tender_refund_form.rb', line 47 def tender_refund_form(flow_id, tender_no, debit_contracts, debit_details, periods, return_url, notify_url, fee_details = [], defray_details = [], busway = '01', remark = '') service = 'reapal.trust.tenderRefund' post_path = '/tender/rest.htm' params = { orderNo: flow_id, tenderNo: tender_no, debitContracts: debit_contracts, debitDetails: debit_details, feeDetails: fee_details, defrayDetails: defray_details, periods: periods, returnUrl: return_url, notifyUrl: notify_url, busway: busway, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S') } get_form_data(service, params, post_path) end |