lib/lanmao/api/trade/cancel_pre_transaction.rb in lanmao-0.10.0 vs lib/lanmao/api/trade/cancel_pre_transaction.rb in lanmao-0.11.0

- old
+ new

@@ -15,10 +15,10 @@ # * :code [Enum] 返回吗 # * :status [Enum] 业务处理状态(处理失败INIT;处理成功SUCCESS) # * :errorCode [String] 错误码 # * :errorMessage [String] 错误描述 # - def cancel_pre_transaction(flow_id, pre_transaction_no, amount, commission="", profit_details=[]) + def cancel_pre_transaction(flow_id, pre_transaction_no, amount, commission=nil, profit_details=nil) service = "CANCEL_PRE_TRANSACTION" params = { requestNo: flow_id,