Sha256: 4e16b57149e4a192aaa1e6dec85944740b345f04af3f69e79f569dc92907348c

Contents?: true

Size: 1.37 KB

Versions: 14

Compression:

Stored size: 1.37 KB

Contents

# coding: utf-8
module Lanmao
  module Api
    module Trade
      module EstablishProject
        # 创建标的
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #
        def establish_project(request_no, user_no, project_no,
                              project_amount, project_name,
                              project_type, annnual_interest_rate,
                              repayment_way, project_period, project_description=nil, extend_info=nil)

          service = 'ESTABLISH_PROJECT'

          params = {
            platformUserNo: user_no,
            requestNo: request_no,
            projectNo: project_no,
            projectAmount: project_amount,
            projectName: project_name,
            projectDescription: project_description,
            projectType: project_type,
            projectPeriod: project_period,
            annnualInterestRate: annnual_interest_rate,
            repaymentWay: repayment_way,
            extend: extend_info,
          }

          res = operate_post(:operate, service, params, :service)

          res
        end

      end # module
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
lanmao-0.16.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.15.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.14.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.13.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.12.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.11.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.10.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.9.1 lib/lanmao/api/trade/establish_project.rb
lanmao-0.8.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.7.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.6.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.5.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.4.0 lib/lanmao/api/trade/establish_project.rb
lanmao-0.2.0 lib/lanmao/api/trade/establish_project.rb