File tree Expand file tree Collapse file tree 7 files changed +50
-3
lines changed
src/main/java/com/alipay/global/api
response/ams/subscription Expand file tree Collapse file tree 7 files changed +50
-3
lines changed Original file line number Diff line number Diff line change @@ -139,4 +139,6 @@ update --- 优化base64多jdk版本兼容
139
139
1. CKP二期支持商户传入可选支付方式列表
140
140
2. AMS独立绑卡支持MIT交易
141
141
42、Version:2.0.51
142
- update --- 支付方式枚举类新增ABA
142
+ update --- 支付方式枚举类新增ABA
143
+ 43、Version:2.0.52
144
+ 1. 订阅支付新增“更新接口”
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ https://mvnrepository.com/artifact/com.alipay.global.sdk/global-open-sdk-java
12
12
<dependency >
13
13
<groupId >com.alipay.global.sdk</groupId >
14
14
<artifactId >global-open-sdk-java</artifactId >
15
- <version >2.0.51 </version >
15
+ <version >2.0.52 </version >
16
16
</dependency >
17
17
```
18
18
Original file line number Diff line number Diff line change 4
4
<groupId >com.alipay.global.sdk</groupId >
5
5
<artifactId >global-open-sdk-java</artifactId >
6
6
<packaging >jar</packaging >
7
- <version >2.0.51 </version >
7
+ <version >2.0.52 </version >
8
8
<name >global-open-sdk-java</name >
9
9
<url >https://github.com/alipay/global-open-sdk-java</url >
10
10
<description >
Original file line number Diff line number Diff line change 11
11
@ AllArgsConstructor
12
12
public class Discount {
13
13
14
+ private String discountTag ;
14
15
private String discountName ;
15
16
private Amount savingsAmount ;
17
+ private Amount estimateSavingsAmount ;
16
18
17
19
}
Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ public class AntomPathConstants {
92
92
*/
93
93
public static final String SUBSCRIPTION_CANCEL_PATH = "/ams/api/v1/subscriptions/cancel" ;
94
94
95
+ public static final String SUBSCRIPTION_UPDATE_PATH = "/ams/api/v1/subscriptions/update" ;
96
+
95
97
96
98
/**
97
99
* see <a href="https://global.alipay.com/docs/ac/ams/accept">accept dispute</a>
Original file line number Diff line number Diff line change
1
+ package com .alipay .global .api .request .ams .subscription ;
2
+
3
+ import com .alipay .global .api .model .ams .Amount ;
4
+ import com .alipay .global .api .model .ams .OrderInfo ;
5
+ import com .alipay .global .api .model .ams .PeriodRule ;
6
+ import com .alipay .global .api .model .constants .AntomPathConstants ;
7
+ import com .alipay .global .api .request .AlipayRequest ;
8
+ import com .alipay .global .api .response .ams .subscription .AlipaySubscriptionUpdateResponse ;
9
+ import lombok .Data ;
10
+ import lombok .EqualsAndHashCode ;
11
+
12
+
13
+ @ EqualsAndHashCode (callSuper = true )
14
+ @ Data
15
+ public class AlipaySubscriptionUpdateRequest extends AlipayRequest <AlipaySubscriptionUpdateResponse > {
16
+
17
+ private String subscriptionUpdateRequestId ;
18
+ private String subscriptionId ;
19
+ private String subscriptionDescription ;
20
+ private PeriodRule periodRule ;
21
+ private Amount paymentAmount ;
22
+ private String subscriptionEndTime ;
23
+ private OrderInfo orderInfo ;
24
+
25
+
26
+ public AlipaySubscriptionUpdateRequest () {
27
+ this .setPath (AntomPathConstants .SUBSCRIPTION_UPDATE_PATH );
28
+ }
29
+
30
+
31
+ @ Override
32
+ public Class <AlipaySubscriptionUpdateResponse > getResponseClass () {
33
+ return AlipaySubscriptionUpdateResponse .class ;
34
+ }
35
+ }
Original file line number Diff line number Diff line change
1
+ package com .alipay .global .api .response .ams .subscription ;
2
+
3
+ import com .alipay .global .api .response .AlipayResponse ;
4
+
5
+ public class AlipaySubscriptionUpdateResponse extends AlipayResponse {
6
+ }
You can’t perform that action at this time.
0 commit comments