update 汇付协议

This commit is contained in:
Guoqs
2024-08-06 15:46:43 +08:00
parent f5d5e3c6eb
commit c87e612ab5
13 changed files with 85 additions and 17 deletions

View File

@@ -1076,13 +1076,14 @@ public class SpringBootTestController {
}
/**
* 延迟分账未确认调撤销调撤销接口退款
* 延迟分账未确认调撤销调撤销接口退款/部分退
*/
@Test
public void createPaymentReverseRequestTest() {
String paymentId = "002212024080614142410666779361873702912";
BigDecimal refundAmount = new BigDecimal("0.64");
String memberId = null;
String memberId = "65622699";
String orderCode = "C46673304368";
// 延迟分账未确认调撤销调撤销接口退款
PaymentReverseOperation operation = new PaymentReverseOperation();
@@ -1091,7 +1092,7 @@ public class SpringBootTestController {
operation.setMerchantKey(wechatAppId1);
operation.setMemberId(memberId);
operation.setScenarioType(ScenarioEnum.ORDER.getValue());
operation.setOrderCode("C82929272783");
operation.setOrderCode(orderCode);
PaymentReverseResponse response = adapayService.createPaymentReverseRequest(operation);
System.out.println(JSON.toJSONString(response));
}