Class: AlipayMini::Api::TradeCreate

Inherits:
AlipayBase show all
Defined in:
lib/alipay_mini/api/trade_create.rb

Instance Method Summary collapse

Methods inherited from AlipayBase

#base_params, #sign_params, #timestamp

Instance Method Details

#get(trade_no, amount, subject, buyer_id, options = {}) ⇒ Object



5
6
7
8
9
10
# File 'lib/alipay_mini/api/trade_create.rb', line 5

def get(trade_no, amount, subject, buyer_id, options = {})
  trade_params = get_trade_params(trade_no, amount, subject, buyer_id, options)
  params = base_params.merge(trade_params)

  AlipayMini::Request.get(method, sign_params(params))
end