interface InternalCombinePayApi
| 限定符和类型 | 方法和说明 |
|---|---|
cn.felord.retrofit.VoidResponse |
close(String combineOutTradeNo,
CombinePayCloseParams combinePayCloseParams)
合单关闭订单API
|
PrepayResponse |
prePay(String payType,
CombinePayParams combinePayParams)
生成预支付交易单
|
CombinePayDetailResponse |
queryTransactionByOutTradeNo(String combineOutTradeNo)
合单查询订单API
|
@POST(value="v3/pay/combine-transactions/{payType}")
PrepayResponse prePay(@Path(value="payType")
String payType,
@Body
CombinePayParams combinePayParams)
throws PayException
payType - the pay typecombinePayParams - the combine pay paramsPayException - the pay exception@GET(value="v3/combine-transactions/out-trade-no/{combine_out_trade_no}")
CombinePayDetailResponse queryTransactionByOutTradeNo(@Path(value="combine_out_trade_no")
String combineOutTradeNo)
throws PayException
combineOutTradeNo - the combine out trade noPayException - the pay exception@POST(value="v3/combine-transactions/out-trade-no/{combine_out_trade_no}/close")
cn.felord.retrofit.VoidResponse close(@Path(value="combine_out_trade_no")
String combineOutTradeNo,
@Body
CombinePayCloseParams combinePayCloseParams)
throws PayException
combineOutTradeNo - the combine out trade nocombinePayCloseParams - the combine pay close paramsPayException - the pay exceptionCopyright © 2023. All rights reserved.