Sha256: 2a7e3894d50f51eda1f16d2f72867db7570f10213a9abea33a3d4219a0197990

Contents?: true

Size: 1.74 KB

Versions: 7

Compression:

Stored size: 1.74 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Trade
      module SignTransferQuery
        # 投资人自动债转签约状态查询
        #
        # @param card_no	[String] 订单号
        # @param devise [ String ] 交易终端,默认手机 000001手机APP 000002网页 000003微信 000004柜面
        # @param remark [ String ] 备注,默认为空
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :out_serial_no [String] 流水号
        #       * :card_no	[String] 电子账号,19
        #       * :state [String] 签约状况(having:已签约;revoking:已撤销)
        #       * :sign_date [String] 签约日期,8
        #       * :sign_time [String] 签约时间,6
        #       * :third_custom [String] 第三方保留域
        #       * :amount [String] 签约最高金额,(13)位数保留2位
        #       * :unit_amount [String] 单笔签约最高金额
        #       * :start_time [Fixnum] 签约开始时间
        #       * :end_time [Fixnum] 签约结束时间
        #       * :service [Object] 交易代码
        #
        def sign_transfer_query(card_no, devise="000001", remark='')
          service = "sign_transfer_query"

          params = {
            card_no: card_no,
            client: devise,
            custom: remark,
          }

          res = operate_post(:operate, service, params, Http::ErrorCode.sign_transfer_query, ["RD000000"] )

          res
        end
      end #SignTransferQuery
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.18.4 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.18.1 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.17.0 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.16.0 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.15.0 lib/rock_fintech/api/trade/sign_transfer_query.rb
rock_fintech-0.14.0 lib/rock_fintech/api/trade/sign_transfer_query.rb