Sha256: 2a7ebe6e5dce81216038e4f7503c66a5a5c4e1655e9687a029273f8ff7d72765

Contents?: true

Size: 1.37 KB

Versions: 11

Compression:

Stored size: 1.37 KB

Contents

# coding: utf-8
module Lanmao
  module Api
    module Trade
      module UserAutoPreTransaction
        # 授权预处理
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :bizType
        #       * :status
        #       * :errorCode
        #       * :errorMessage
        #       * :requestNo
        #
        def user_auto_pre_transaction(flow_id, platform_user_id,  biz_type, amount,  project_no, original_recharge_no=nil, pre_marketing_amount=nil, share=nil, credit_sale_request_no=nil, remark="")

          service = "USER_AUTO_PRE_TRANSACTION"
          params = {
            requestNo: flow_id,
            platformUserNo: platform_user_id,
            originalRechargeNo: original_recharge_no,
            bizType: biz_type,
            amount: amount,
            preMarketingAmount: pre_marketing_amount,
            remark: remark,
            projectNo: project_no,
            share: share,
            creditsaleRequestNo: credit_sale_request_no,
          }

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

          res
        end

      end # module
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
lanmao-0.16.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.15.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.14.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.13.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.12.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.11.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.10.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.9.1 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.8.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.7.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb
lanmao-0.6.0 lib/lanmao/api/trade/user_auto_pre_transaction.rb