File tree Expand file tree Collapse file tree 4 files changed +50
-2
lines changed
src/main/java/com/alipay/global/api Expand file tree Collapse file tree 4 files changed +50
-2
lines changed 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.35 </version>
15
+ <version>2.0.36 </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.35 </version >
7
+ <version >2.0.36 </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
1
+ package com .alipay .global .api .request .ams .auth ;
2
+
3
+ import com .alipay .global .api .model .ams .AgreementInfo ;
4
+ import com .alipay .global .api .model .ams .PaymentMethod ;
5
+ import com .alipay .global .api .model .ams .ProductCodeType ;
6
+ import com .alipay .global .api .model .ams .ScopeType ;
7
+ import com .alipay .global .api .model .constants .AntomPathConstants ;
8
+ import com .alipay .global .api .request .AlipayRequest ;
9
+ import com .alipay .global .api .response .ams .auth .AlipayAuthCreateSessionResponse ;
10
+ import lombok .Data ;
11
+ import lombok .EqualsAndHashCode ;
12
+
13
+ @ EqualsAndHashCode (callSuper = true )
14
+ @ Data
15
+ public class AlipayAuthCreateSessionRequest extends AlipayRequest <AlipayAuthCreateSessionResponse > {
16
+
17
+ private ProductCodeType productCode ;
18
+ private AgreementInfo agreementInfo ;
19
+ private ScopeType [] scopes ;
20
+ private PaymentMethod paymentMethod ;
21
+ private String paymentRedirectUrl ;
22
+
23
+ public AlipayAuthCreateSessionRequest () {
24
+ this .setPath (AntomPathConstants .CREATE_SESSION_PATH );
25
+ this .setProductCode (ProductCodeType .AGREEMENT_PAYMENT );
26
+ }
27
+
28
+ @ Override
29
+ public Class <AlipayAuthCreateSessionResponse > getResponseClass () {
30
+ return AlipayAuthCreateSessionResponse .class ;
31
+ }
32
+
33
+ }
Original file line number Diff line number Diff line change
1
+ package com .alipay .global .api .response .ams .auth ;
2
+
3
+ import com .alipay .global .api .response .AlipayResponse ;
4
+ import lombok .Data ;
5
+ import lombok .EqualsAndHashCode ;
6
+
7
+ @ EqualsAndHashCode (callSuper = true )
8
+ @ Data
9
+ public class AlipayAuthCreateSessionResponse extends AlipayResponse {
10
+
11
+ private String paymentSessionId ;
12
+ private String paymentSessionData ;
13
+ private String paymentSessionExpiryTime ;
14
+
15
+ }
You can’t perform that action at this time.
0 commit comments