Sha256: bfd5ee474fcc982e2443ad0873f484b7a18e0ef9e2f6870e1ec0baa543508e85

Contents?: true

Size: 1.29 KB

Versions: 13

Compression:

Stored size: 1.29 KB

Contents

# coding: utf-8
module Lanmao
  module Api
    module Trade
      module VerifyDeduct
        # 验密扣费
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :requestNo [String] 请求流水号
        #       * :code [Enum] 返回吗
        #       * :status [Enum] 业务处理状态(处理失败INIT;处理成功SUCCESS)
        #       * :errorCode [String] 错误码
        #       * :errorMessage [String] 错误描述
        #
        def verify_deduct_form(flow_id, platform_user_no, amount, target_platform_user_no, redirect_url, expired, custom_define="")

          service = "VERIFY_DEDUCT"

          params = {
            requestNo: flow_id,
            platformUserNo: platform_user_no,
            amount: amount,
            targetPlatformUserNo: target_platform_user_no,
            redirectUrl: redirect_url,
            expired: expired,
            customDefine: custom_define
          }

          res = get_form_data(service, params)

          res
        end

      end # module
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lanmao-0.16.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.15.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.14.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.13.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.12.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.11.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.10.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.9.1 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.8.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.7.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.6.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.5.0 lib/lanmao/form/trade/verify_deduct_form.rb
lanmao-0.4.0 lib/lanmao/form/trade/verify_deduct_form.rb