Module: RockFintech::Api::Asset::AssetsEnroll
- Defined in:
- lib/rock_fintech/api/asset/asset_query.rb,
lib/rock_fintech/api/asset/assets_enroll.rb
Instance Method Summary collapse
-
#asset_query(asset_no, third_custom = '', devise = '000001', remark = '') ⇒ Hash
标的单笔查询.
-
#assets_enroll(asset_no, asset_brief, card_no, amount, interest_type, loan_term, interest_rate, trustee_pay_flag, warrant_card_no = "", debtor_card_no = "", borrow_card_no = "", third_custom = "", devise = '000001', remark = '') ⇒ Hash
发标.
Instance Method Details
#asset_query(asset_no, third_custom = '', devise = '000001', remark = '') ⇒ Hash
标的单笔查询
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/rock_fintech/api/asset/asset_query.rb', line 28 def asset_query(asset_no, third_custom='', devise='000001', remark='') service = 'asset_query' params = { asset_no: asset_no, third_custom: third_custom, client: devise, custom: remark, } res = operate_post(:query, service, params, Http::ErrorCode.asset_query, ['RD000000']) res end |
#assets_enroll(asset_no, asset_brief, card_no, amount, interest_type, loan_term, interest_rate, trustee_pay_flag, warrant_card_no = "", debtor_card_no = "", borrow_card_no = "", third_custom = "", devise = '000001', remark = '') ⇒ Hash
发标
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 54 55 56 57 |
# File 'lib/rock_fintech/api/asset/assets_enroll.rb', line 29 def assets_enroll(asset_no, asset_brief, card_no, amount, interest_type, loan_term, interest_rate, trustee_pay_flag, warrant_card_no="", debtor_card_no="", borrow_card_no="", third_custom="", devise='000001', remark='') service = 'assets_enroll' params = { asset_no: asset_no, asset_brief: asset_brief, card_no: card_no, amount: amount, interest_type: interest_type, loan_term: loan_term, interest_rate: interest_rate, warrant_card_no: warrant_card_no, borrow_card_no: borrow_card_no, debtor_card_no: debtor_card_no, trustee_pay_flag: trustee_pay_flag, third_custom: third_custom, client: devise, custom: remark, } res = operate_post(:operate, service, params, Http::ErrorCode.assets_enroll, ['RD000000']) res end |