Module: RockFintech::Form::Trade::BidApplyP
- Defined in:
- lib/rock_fintech/form/trade/bid_apply_p.rb
Instance Method Summary collapse
Instance Method Details
#bid_apply_p(card_no, flow_id, amount, asset_no, interest_date, interest_type, interest_day, end_date, interest_rate, frozen_flag, use_bonus, bonus_amount, mobile, transact_date, third_custom, success_url, fail_url, forget_pwd_url, callback_url, devise = '000001', remark = '') ⇒ Hash
投资人投标申请
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/rock_fintech/form/trade/bid_apply_p.rb', line 22 def bid_apply_p(card_no, flow_id, amount, asset_no, interest_date, interest_type, interest_day, end_date, interest_rate, frozen_flag, use_bonus, bonus_amount, mobile, transact_date, third_custom, success_url, fail_url, forget_pwd_url, callback_url,devise='000001', remark='') service = 'bid_apply_p' params = { card_no: card_no, out_serial_no: flow_id, amount: amount, asset_no: asset_no, interest_date: interest_date.strftime('%Y%m%d'), interest_type: interest_type, interest_day: interest_day, end_date: end_date.strftime('%Y%m%d'), interest_rate: interest_rate, frozen_flag: frozen_flag, use_bonus: use_bonus, bonus_amount: bonus_amount, transact_date: '' == transact_date ? '' : transact_date.strftime('%Y%m%d'), third_custom: third_custom, success_url: success_url, fail_url: fail_url, callback_url: callback_url, forget_pwd_url: forget_pwd_url, client: devise, custom: remark, } res = operate_post(:operate, service, params, Http::ErrorCode.bid_apply_p, ['RD000000']) res end |