Sha256: 7a0f2d3e1bccca5b198c37a8f1661da061e988ee51d605ea9e2c7627c6d53d20

Contents?: true

Size: 1.32 KB

Versions: 20

Compression:

Stored size: 1.32 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Trade
      module RevokeAutoBid

        # 撤销自动投标签约
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :out_serial_no [String] 申请流水号
        #       * :card_no [String] 电子账号
        #       * :name [String] 持卡人姓名
        #       * :sign_flag [String] 签约状态 "having(已签约), revoking(已撤销)"
        #       * :sign_date [String] 签约日期
        #       * :sign_time [String] 签约时间
        #
        def revoke_auto_bid(card_no, out_serial_no, origin_serial_no="",
                            devise='000001', remark='')

          service = 'revoke_auto_bid'

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

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

          res
        end

      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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