Sha256: e2b0e709ffff02a074ed513be4745cc09c42a732abb4c04707f87a50333f9485

Contents?: true

Size: 1.49 KB

Versions: 9

Compression:

Stored size: 1.49 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Account
      module UnbindBankCard
        # 解绑银行卡
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :card_no [String] 电子账号
        #       * :name [String] 持卡人姓名
        #       * :sign_flag [String] 签约状态 0:未签约 1:已签约
        #       * :sign_date [String] 签约日期
        #       * :sign_time [String] 签约时间
        #       * :states [String] 解绑状态
        #       * :revoke_sign_date [String] 签约取消日期
        #       * :revoke_sign_time [String] 签约取消时间
        #
        def unbind_bank_card(card_no, bank_card_no, customer_no, serial_no, card_type,
                             devise='000001', remark='')
          service = 'unbind_bank_card'

          params = {
            serial_no: serial_no,
            customer_no: customer_no,
            card_no: card_no,
            bank_card_no: bank_card_no,
            card_type: card_type,
            client: devise,
            custom: remark,
          }

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

          res
        end

      end # module
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.18.4 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.18.1 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.17.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.16.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.15.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.14.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.13.0 lib/rock_fintech/api/account/unbind_bank_card.rb
rock_fintech-0.12.0 lib/rock_fintech/api/account/unbind_bank_card.rb