Sha256: feeecedda1f8f2d9d2e4b4aeae35a54a420a0b8118afad65f535e5187ef62e2e

Contents?: true

Size: 1.2 KB

Versions: 20

Compression:

Stored size: 1.2 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Account
      module AccountBalance
        # 电子账户余额查询
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :card_no [String] 电子账号
        #       * :name [String] 持卡人姓名
        #       * :balance [String] 账户可用余额
        #       * :freBi [String] 账户冻结余额
        #       * :third_custom [String] 第三方保留域
        #
        def account_balance(card_no, customer_no, third_custom='', devise='000001', remark='')
          service = 'account_balance'

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

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

          res
        end

      end # module
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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