Module: RockFintech::Form::BuyCreditP
- Defined in:
- lib/rock_fintech/form/trade/buy_credit_p.rb
Instance Method Summary collapse
Instance Method Details
#buy_credit_p(card_no_in, flow_id, origin_serial_no, card_no_out, total_balance, amount, transfer_price, interest_date, interest_rate, fee_way, fee, third_custom, mobile, success_url, fail_url, forget_pwd_url, callback_url, devise = '000001', remark = '') ⇒ Hash
投资人购买债权
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/rock_fintech/form/trade/buy_credit_p.rb', line 38 def buy_credit_p(card_no_in, flow_id, origin_serial_no, card_no_out, total_balance, amount, transfer_price, interest_date, interest_rate, fee_way, fee, third_custom, mobile, success_url, fail_url, forget_pwd_url, callback_url, devise='000001', remark='') service = 'buy_credit_p' params = { card_no_in: card_no_in, out_serial_no: flow_id, origin_serial_no: origin_serial_no, card_no_out: card_no_out, total_balance: total_balance, amount: amount, transfer_price: transfer_price, interest_date: interest_date, interest_rate: interest_rate, fee_way: fee_way, fee: fee, third_custom: third_custom, mobile: mobile, success_url: success_url, fail_url: fail_url, forget_pwd_url: forget_pwd_url, callback_url: callback_url, client: devise, custom: remark, } res = operate_post(:operate, service, params, Http::ErrorCode.buy_credit_p, ['RD000000']) res end |