Sha256: a3cd284cdb6ea58dbee96420790437d8d8517120154971406e21161d57f8d2c6

Contents?: true

Size: 1 KB

Versions: 8

Compression:

Stored size: 1 KB

Contents

# coding: utf-8
module Lanmao
  module Api
    module Money
      module InterceptWithdraw
        # 提现拦截
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :request_no [String] 交易流水号
        #       * :code [Enum] 返回码
        #       * :status [Enum]
        #       * :errorCode [String] 错误吗
        #       * :errorMessage [String] 错误描述
        #
        def intercept_withdraw(flow_id, pre_transaction_no)

          service = "INTERCEPT_WITHDRAW"

          params = {
            requestNo: flow_id,
            preTransactionNo: pre_transaction_no
          }

          res = operate_post(:operate, service, params, :service)

          res
        end

      end # module
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lanmao-0.10.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.9.1 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.8.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.7.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.6.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.5.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.4.0 lib/lanmao/api/money/intercept_withdraw.rb
lanmao-0.2.0 lib/lanmao/api/money/intercept_withdraw.rb