Module: Lanmao::Api::Trade::CancelPreTransaction
- Defined in:
- lib/lanmao/api/trade/cancel_pre_transaction.rb
Instance Method Summary collapse
Instance Method Details
#cancel_pre_transaction(flow_id, pre_transaction_no, amount, commission = nil, profit_details = nil) ⇒ Hash
预处理取消
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/lanmao/api/trade/cancel_pre_transaction.rb', line 20 def cancel_pre_transaction(flow_id, pre_transaction_no, amount, commission=nil, profit_details=nil) service = "CANCEL_PRE_TRANSACTION" params = { requestNo: flow_id, preTransactionNo: pre_transaction_no, amount: amount, commission: commission, profitDetails: profit_details } res = operate_post(:operate, service, params, :service) res end |