Sha256: 099fd9b1fd60cd34e7fa06f4739da61a071a0049b68f512a4a5f3efaa2558187

Contents?: true

Size: 1.34 KB

Versions: 8

Compression:

Stored size: 1.34 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Money
      module SignTransferCheck
        # 网关充值
        #
        # @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(未签约))
        #       * :start_time [Date]	签约开始时间
        #       * :end_time	[Date] 签约结束时间
        #       * :amount	[Decimal] 金额
        #       * :sign_date [Date] 	签约日期
        #       * :sign_time [Date] 	签约时间
        #
        def sign_transfer_check(card_no, devise='000001', remark='')
          service = 'sign_transfer_check'

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

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

          RockFintech.logger.info res

          res
        end

      end # module
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.18.4 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.18.1 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.17.0 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.16.0 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.15.0 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.14.0 lib/rock_fintech/api/money/sign_transfer_check.rb
rock_fintech-0.13.0 lib/rock_fintech/api/money/sign_transfer_check.rb