Sha256: 55aa90e99b6ec738ac449e3e59ad9e312d24f50fca2387be007c5da48ca5ed23

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# coding: utf-8
module Lanmao
  module Form
    module Account
      module UserPreTransaction

        #
        # @return [ Hash ] 结果集
        #   * :form_method
        #     * :method
        #     * :url
        #   * :form_data
        #     * :data
        #
        def user_pre_transaction(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

1 entries across 1 versions & 1 rubygems

Version Path
lanmao-0.1.0 lib/lanmao/form/account/user_pre_transaction_form.rb