充电桩预约功能

This commit is contained in:
Guoqs
2024-06-18 14:21:20 +08:00
parent 1e05c0288e
commit 67a8a7442e
7 changed files with 685 additions and 4 deletions

View File

@@ -1000,18 +1000,18 @@ public class SpringBootTestController {
*/
@Test
public void createPaymentReverseRequestTest() {
String paymentId = "002212023082409392010540599165461884928";
BigDecimal refundAmount = new BigDecimal("0.09");
String paymentId = "002212024061717243610648707836701741056";
BigDecimal refundAmount = new BigDecimal("46.49");
String memberId = null;
// 延迟分账未确认调撤销调撤销接口退款
PaymentReverseOperation operation = new PaymentReverseOperation();
operation.setPaymentId(paymentId);
operation.setReverseAmt(refundAmount);
operation.setMerchantKey(wechatAppId2);
operation.setMerchantKey(wechatAppId1);
operation.setMemberId(memberId);
operation.setScenarioType(ScenarioEnum.ORDER.getValue());
operation.setOrderCode(null);
operation.setOrderCode("C82929272783");
PaymentReverseResponse response = adapayService.createPaymentReverseRequest(operation);
System.out.println(JSON.toJSONString(response));
}