mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
充电桩预约功能
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user