Sha256: 05205c82874cdc23f82f84c1ccb0b6e399b563f6edee4b7e7ea683159dd5dde8

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

# coding: utf-8
module Lanmao
  module Form
    module Trade
      module UserPreTransactionForm
        #
        #
        # @return [ Hash ] 结果集
        #   * :form_method
        #     * :method
        #     * :url
        #   * :form_data
        #     * :data
        #
        def user_pre_transaction_form(request_no, user_no, biz_type,
                                 amount, expired, redirect_url,
                                 project_no, share, creditsale_request_no,
                                 pre_marketing_amount, remark="")
          service = 'USER_PRE_TRANSACTION'

          params = {
            platformUserNo: user_no,
            requestNo: request_no,
            bizType: biz_type,
            amount: amount,
            expired: expired,
            redirectUrl: redirect_url,
            projectNo: project_no,
            share: share,
            creditsaleRequestNo: creditsale_request_no,
            preMarketingAmount: pre_marketing_amount,
            remark: remark,
          }

          res = get_form_data(service, params)

          res
        end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lanmao-0.10.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.9.1 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.8.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.7.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.6.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.5.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.4.0 lib/lanmao/form/trade/user_pre_transaction_form.rb