Sha256: ba3c8104ed19f9961dec771b94e987a00ccd75cf36e5f81a8667fc1a74c74cec

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 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)
          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,
          }

          res = get_form_data(service, params)

          res
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lanmao-0.16.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.15.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.14.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.13.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.12.0 lib/lanmao/form/trade/user_pre_transaction_form.rb
lanmao-0.11.0 lib/lanmao/form/trade/user_pre_transaction_form.rb