退款对象新增附加属性,用于兼容更多种支付平台

This commit is contained in:
egzosn
2020-05-17 23:34:41 +08:00
parent 370f7941ec
commit b17dd02d65
5 changed files with 41 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ public class PayTest {
/*-----------退货交易:后台资金类交易,有同步应答和后台通知应答------------------------------*/
payOrder.setTransactionType(UnionTransactionType.REFUND);
params = service.refund("原交易查询流水号", "订单号", null,new BigDecimal("退款金额" ));
params = service.refund(new RefundOrder("原交易查询流水号", "订单号", null, new BigDecimal("退款金额" )));
/*-----------退货交易:后台资金类交易,有同步应答和后台通知应答------------------------------*/