Skip to content

Commit dbd4e01

Browse files
committed
Generated 2018-01-16 for linkedmall.
1 parent 0d0796b commit dbd4e01

5 files changed

Lines changed: 239 additions & 1 deletion

File tree

aliyun-java-sdk-linkedmall/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-06-21 Version: 2.3.0
2+
- Generated 2018-01-16 for `linkedmall`.
3+
14
2019-06-19 Version: 2.2.2
25
- Generated 2018-01-16 for `linkedmall`.
36

aliyun-java-sdk-linkedmall/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-linkedmall</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.2.2</version>
7+
<version>2.3.0</version>
88
<name>aliyun-java-sdk-linkedmall</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.linkedmall.model.v20180116;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class QueryOrderItemInfoByPaymentIdForAiZhanYouRequest extends RpcAcsRequest<QueryOrderItemInfoByPaymentIdForAiZhanYouResponse> {
24+
25+
public QueryOrderItemInfoByPaymentIdForAiZhanYouRequest() {
26+
super("linkedmall", "2018-01-16", "QueryOrderItemInfoByPaymentIdForAiZhanYou", "linkedmall");
27+
}
28+
29+
private String bizUid;
30+
31+
private String paymentId;
32+
33+
private String bizId;
34+
35+
public String getBizUid() {
36+
return this.bizUid;
37+
}
38+
39+
public void setBizUid(String bizUid) {
40+
this.bizUid = bizUid;
41+
if(bizUid != null){
42+
putQueryParameter("BizUid", bizUid);
43+
}
44+
}
45+
46+
public String getPaymentId() {
47+
return this.paymentId;
48+
}
49+
50+
public void setPaymentId(String paymentId) {
51+
this.paymentId = paymentId;
52+
if(paymentId != null){
53+
putQueryParameter("PaymentId", paymentId);
54+
}
55+
}
56+
57+
public String getBizId() {
58+
return this.bizId;
59+
}
60+
61+
public void setBizId(String bizId) {
62+
this.bizId = bizId;
63+
if(bizId != null){
64+
putQueryParameter("BizId", bizId);
65+
}
66+
}
67+
68+
@Override
69+
public Class<QueryOrderItemInfoByPaymentIdForAiZhanYouResponse> getResponseClass() {
70+
return QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.class;
71+
}
72+
73+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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.linkedmall.model.v20180116;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.linkedmall.transform.v20180116.QueryOrderItemInfoByPaymentIdForAiZhanYouResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class QueryOrderItemInfoByPaymentIdForAiZhanYouResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private String code;
31+
32+
private String message;
33+
34+
private List<LmOrderListItem> lmOrderList;
35+
36+
public String getRequestId() {
37+
return this.requestId;
38+
}
39+
40+
public void setRequestId(String requestId) {
41+
this.requestId = requestId;
42+
}
43+
44+
public String getCode() {
45+
return this.code;
46+
}
47+
48+
public void setCode(String code) {
49+
this.code = code;
50+
}
51+
52+
public String getMessage() {
53+
return this.message;
54+
}
55+
56+
public void setMessage(String message) {
57+
this.message = message;
58+
}
59+
60+
public List<LmOrderListItem> getLmOrderList() {
61+
return this.lmOrderList;
62+
}
63+
64+
public void setLmOrderList(List<LmOrderListItem> lmOrderList) {
65+
this.lmOrderList = lmOrderList;
66+
}
67+
68+
public static class LmOrderListItem {
69+
70+
private String itemName;
71+
72+
private Long lmOrderId;
73+
74+
private Long skuId;
75+
76+
private String skuName;
77+
78+
public String getItemName() {
79+
return this.itemName;
80+
}
81+
82+
public void setItemName(String itemName) {
83+
this.itemName = itemName;
84+
}
85+
86+
public Long getLmOrderId() {
87+
return this.lmOrderId;
88+
}
89+
90+
public void setLmOrderId(Long lmOrderId) {
91+
this.lmOrderId = lmOrderId;
92+
}
93+
94+
public Long getSkuId() {
95+
return this.skuId;
96+
}
97+
98+
public void setSkuId(Long skuId) {
99+
this.skuId = skuId;
100+
}
101+
102+
public String getSkuName() {
103+
return this.skuName;
104+
}
105+
106+
public void setSkuName(String skuName) {
107+
this.skuName = skuName;
108+
}
109+
}
110+
111+
@Override
112+
public QueryOrderItemInfoByPaymentIdForAiZhanYouResponse getInstance(UnmarshallerContext context) {
113+
return QueryOrderItemInfoByPaymentIdForAiZhanYouResponseUnmarshaller.unmarshall(this, context);
114+
}
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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.linkedmall.transform.v20180116;
16+
17+
import java.util.ArrayList;
18+
import java.util.List;
19+
20+
import com.aliyuncs.linkedmall.model.v20180116.QueryOrderItemInfoByPaymentIdForAiZhanYouResponse;
21+
import com.aliyuncs.linkedmall.model.v20180116.QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderListItem;
22+
import com.aliyuncs.transform.UnmarshallerContext;
23+
24+
25+
public class QueryOrderItemInfoByPaymentIdForAiZhanYouResponseUnmarshaller {
26+
27+
public static QueryOrderItemInfoByPaymentIdForAiZhanYouResponse unmarshall(QueryOrderItemInfoByPaymentIdForAiZhanYouResponse queryOrderItemInfoByPaymentIdForAiZhanYouResponse, UnmarshallerContext context) {
28+
29+
queryOrderItemInfoByPaymentIdForAiZhanYouResponse.setRequestId(context.stringValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.RequestId"));
30+
queryOrderItemInfoByPaymentIdForAiZhanYouResponse.setCode(context.stringValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.Code"));
31+
queryOrderItemInfoByPaymentIdForAiZhanYouResponse.setMessage(context.stringValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.Message"));
32+
33+
List<LmOrderListItem> lmOrderList = new ArrayList<LmOrderListItem>();
34+
for (int i = 0; i < context.lengthValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderList.Length"); i++) {
35+
LmOrderListItem lmOrderListItem = new LmOrderListItem();
36+
lmOrderListItem.setItemName(context.stringValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderList["+ i +"].ItemName"));
37+
lmOrderListItem.setLmOrderId(context.longValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderList["+ i +"].LmOrderId"));
38+
lmOrderListItem.setSkuId(context.longValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderList["+ i +"].SkuId"));
39+
lmOrderListItem.setSkuName(context.stringValue("QueryOrderItemInfoByPaymentIdForAiZhanYouResponse.LmOrderList["+ i +"].SkuName"));
40+
41+
lmOrderList.add(lmOrderListItem);
42+
}
43+
queryOrderItemInfoByPaymentIdForAiZhanYouResponse.setLmOrderList(lmOrderList);
44+
45+
return queryOrderItemInfoByPaymentIdForAiZhanYouResponse;
46+
}
47+
}

0 commit comments

Comments
 (0)