Skip to content

Commit d630bc5

Browse files
committed
Added param for ActivateLicenseResponse .
1 parent df416ae commit d630bc5

File tree

5 files changed

+256
-7
lines changed

5 files changed

+256
-7
lines changed

aliyun-java-sdk-mseap/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-22 Version: 1.0.4
2+
- Added param for ActivateLicenseResponse .
3+
14
2025-05-21 Version: 1.0.3
25
- Added param for ActivateLicenseResponse .
36

aliyun-java-sdk-mseap/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-mseap</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.3</version>
7+
<version>1.0.4</version>
88
<name>aliyun-java-sdk-mseap</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -104,14 +104,14 @@ http://www.aliyun.com</description>
104104
</executions>
105105
</plugin>
106106
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.3</version>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<version>0.8.0</version>
110110
<extensions>true</extensions>
111111
<configuration>
112-
<serverId>sonatype-nexus-staging</serverId>
113-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
112+
<publishingServerId>central</publishingServerId>
113+
<autoPublish>true</autoPublish>
114+
<waitUntil>published</waitUntil>
115115
</configuration>
116116
</plugin>
117117
</plugins>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.model.v20210118;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetOrderSummaryForPartnerRequest extends RpcAcsRequest<GetOrderSummaryForPartnerResponse> {
26+
27+
28+
private String orderId;
29+
public GetOrderSummaryForPartnerRequest() {
30+
super("mseap", "2021-01-18", "GetOrderSummaryForPartner");
31+
setProtocol(ProtocolType.HTTPS);
32+
setMethod(MethodType.POST);
33+
}
34+
35+
public String getOrderId() {
36+
return this.orderId;
37+
}
38+
39+
public void setOrderId(String orderId) {
40+
this.orderId = orderId;
41+
if(orderId != null){
42+
putQueryParameter("OrderId", orderId);
43+
}
44+
}
45+
46+
@Override
47+
public Class<GetOrderSummaryForPartnerResponse> getResponseClass() {
48+
return GetOrderSummaryForPartnerResponse.class;
49+
}
50+
51+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.model.v20210118;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.mseap.transform.v20210118.GetOrderSummaryForPartnerResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class GetOrderSummaryForPartnerResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private Data data;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public Data getData() {
41+
return this.data;
42+
}
43+
44+
public void setData(Data data) {
45+
this.data = data;
46+
}
47+
48+
public static class Data {
49+
50+
private String orderId;
51+
52+
private String encryptedBuyerId;
53+
54+
private String encryptedPayerId;
55+
56+
private String encryptedUserId;
57+
58+
private List<OrderLine> orderLines;
59+
60+
public String getOrderId() {
61+
return this.orderId;
62+
}
63+
64+
public void setOrderId(String orderId) {
65+
this.orderId = orderId;
66+
}
67+
68+
public String getEncryptedBuyerId() {
69+
return this.encryptedBuyerId;
70+
}
71+
72+
public void setEncryptedBuyerId(String encryptedBuyerId) {
73+
this.encryptedBuyerId = encryptedBuyerId;
74+
}
75+
76+
public String getEncryptedPayerId() {
77+
return this.encryptedPayerId;
78+
}
79+
80+
public void setEncryptedPayerId(String encryptedPayerId) {
81+
this.encryptedPayerId = encryptedPayerId;
82+
}
83+
84+
public String getEncryptedUserId() {
85+
return this.encryptedUserId;
86+
}
87+
88+
public void setEncryptedUserId(String encryptedUserId) {
89+
this.encryptedUserId = encryptedUserId;
90+
}
91+
92+
public List<OrderLine> getOrderLines() {
93+
return this.orderLines;
94+
}
95+
96+
public void setOrderLines(List<OrderLine> orderLines) {
97+
this.orderLines = orderLines;
98+
}
99+
100+
public static class OrderLine {
101+
102+
private String orderType;
103+
104+
private String instanceId;
105+
106+
private String orderLineId;
107+
108+
public String getOrderType() {
109+
return this.orderType;
110+
}
111+
112+
public void setOrderType(String orderType) {
113+
this.orderType = orderType;
114+
}
115+
116+
public String getInstanceId() {
117+
return this.instanceId;
118+
}
119+
120+
public void setInstanceId(String instanceId) {
121+
this.instanceId = instanceId;
122+
}
123+
124+
public String getOrderLineId() {
125+
return this.orderLineId;
126+
}
127+
128+
public void setOrderLineId(String orderLineId) {
129+
this.orderLineId = orderLineId;
130+
}
131+
}
132+
}
133+
134+
@Override
135+
public GetOrderSummaryForPartnerResponse getInstance(UnmarshallerContext context) {
136+
return GetOrderSummaryForPartnerResponseUnmarshaller.unmarshall(this, context);
137+
}
138+
139+
@Override
140+
public boolean checkShowJsonItemName() {
141+
return false;
142+
}
143+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.transform.v20210118;
16+
17+
import java.util.ArrayList;
18+
import java.util.List;
19+
20+
import com.aliyuncs.mseap.model.v20210118.GetOrderSummaryForPartnerResponse;
21+
import com.aliyuncs.mseap.model.v20210118.GetOrderSummaryForPartnerResponse.Data;
22+
import com.aliyuncs.mseap.model.v20210118.GetOrderSummaryForPartnerResponse.Data.OrderLine;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
26+
public class GetOrderSummaryForPartnerResponseUnmarshaller {
27+
28+
public static GetOrderSummaryForPartnerResponse unmarshall(GetOrderSummaryForPartnerResponse getOrderSummaryForPartnerResponse, UnmarshallerContext _ctx) {
29+
30+
getOrderSummaryForPartnerResponse.setRequestId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.RequestId"));
31+
32+
Data data = new Data();
33+
data.setOrderId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.OrderId"));
34+
data.setEncryptedBuyerId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.EncryptedBuyerId"));
35+
data.setEncryptedPayerId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.EncryptedPayerId"));
36+
data.setEncryptedUserId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.EncryptedUserId"));
37+
38+
List<OrderLine> orderLines = new ArrayList<OrderLine>();
39+
for (int i = 0; i < _ctx.lengthValue("GetOrderSummaryForPartnerResponse.Data.OrderLines.Length"); i++) {
40+
OrderLine orderLine = new OrderLine();
41+
orderLine.setOrderType(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.OrderLines["+ i +"].OrderType"));
42+
orderLine.setInstanceId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.OrderLines["+ i +"].InstanceId"));
43+
orderLine.setOrderLineId(_ctx.stringValue("GetOrderSummaryForPartnerResponse.Data.OrderLines["+ i +"].OrderLineId"));
44+
45+
orderLines.add(orderLine);
46+
}
47+
data.setOrderLines(orderLines);
48+
getOrderSummaryForPartnerResponse.setData(data);
49+
50+
return getOrderSummaryForPartnerResponse;
51+
}
52+
}

0 commit comments

Comments
 (0)