Sha256: c490f2f1a08937066028585cc4a0c5e2ffcdba405e29497ce9a4308ae24112c2

Contents?: true

Size: 1.47 KB

Versions: 18

Compression:

Stored size: 1.47 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Query
      module BuyCreditQuery

        #  投资人购买债权查询
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :in_card_no [String] 承接方电子账号
        #       * :in_name [String] 承接方姓名
        #       * :out_card_no [Stroutg] 转让方电子账号
        #       * :out_name [Stroutg] 转让方姓名
        #       * :amount [Stroutg] 转让金额
        #       * :transfer_price [Stroutg] 转让价格
        #       * :transfer_balance [Stroutg] 剩余可转让金额
        #       * :fee [Stroutg] 转让手续费
        #       * :income [Stroutg] 转让所得
        #       * :auth_code [Stroutg] 投标申请授权码
        #
        def buy_credit_query(in_card_no, out_serial_no,
                             devise='000001', remark='')

          service = 'buy_credit_query'

          params = {
            in_card_no: in_card_no,
            out_serial_no: out_serial_no,
            client: devise,
            custom: remark,
          }

          res = operate_post(:query, service, params, Http::ErrorCode.buy_credit_query, ['RD000000'])

          res
        end

      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.18.4 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.18.1 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.17.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.16.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.15.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.14.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.13.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.12.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.11.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.10.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.9.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.8.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.7.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.6.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.5.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.4.0 lib/rock_fintech/api/query/buy_credit_query.rb
rock_fintech-0.3.0 lib/rock_fintech/api/query/buy_credit_query.rb