# coding: utf-8 module RockFintech module Form module Money module SignBorrowerP # 借款人放款手续费和还款手续费签约 # # @param payment_start_time [ Time ] 放款手续费签约开始时间 # @param repayment_start_time [ Time ] 还款签约开始时间 # @param payment_end_time [ Time ] 放款手续费签约结束时间 # @param repayment_end_time [ Time ] 还款签约结束时间 # # @return [ Hash ] 结果集 # * :result [String] "S"/"F"/"P" # * :request_params [Hash] 请求参数 # * :response [Object] 请求返回对象 # * :code [String] 结果代码 # * :msg [String] 结果信息 # * :data: 具体业务返回信息 # * :out_serial_no [String] 流水号 # * :order_no [String] 订单编号 # * :order_id [String] 订单号 # * :url [String] 页面跳转 url # def sign_borrower_p(card_no, payment_amount, repayment_amount, out_serial_no, payment_start_time, repayment_start_time, payment_end_time, repayment_end_time, callback_url, success_url, fail_url, devise='000001', remark='') service = 'sign_borrower_p' params = { card_no: card_no, payment_amount: payment_amount, repayment_amount: repayment_amount, out_serial_no: out_serial_no, payment_start_time: payment_start_time.to_i, repayment_start_time: repayment_start_time.to_i, payment_end_time: payment_end_time.to_i, repayment_end_time: repayment_end_time.to_i, callback_url: callback_url, success_url: success_url, fail_url: fail_url, client: devise, custom: remark, } res = operate_post(:operate, service, params, Http::ErrorCode.sign_borrower_p, ['RD000000']) res end end end end end