Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1663a6b

Browse files
committed
Add RenderH5Order Interface.
1 parent f5cbb9d commit 1663a6b

File tree

5 files changed

+720
-1
lines changed

5 files changed

+720
-1
lines changed

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+
2020-04-20 Version: 2.12.4
2+
- Add RenderH5Order Interface.
3+
14
2020-04-03 Version: 2.12.3
25
- Support lmItemId.
36
- Support STSToken.

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.12.3</version>
7+
<version>2.12.4</version>
88
<name>aliyun-java-sdk-linkedmall</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
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+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.linkedmall.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class RenderH5OrderRequest extends RpcAcsRequest<RenderH5OrderResponse> {
26+
27+
28+
private String buyOrderRequestModel;
29+
30+
private String bizUid;
31+
32+
private Boolean useAnonymousTbAccount;
33+
34+
private String thirdPartyUserId;
35+
36+
private String bizId;
37+
public RenderH5OrderRequest() {
38+
super("linkedmall", "2018-01-16", "RenderH5Order", "linkedmall");
39+
setMethod(MethodType.POST);
40+
try {
41+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
42+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
43+
} catch (Exception e) {}
44+
}
45+
46+
public String getBuyOrderRequestModel() {
47+
return this.buyOrderRequestModel;
48+
}
49+
50+
public void setBuyOrderRequestModel(String buyOrderRequestModel) {
51+
this.buyOrderRequestModel = buyOrderRequestModel;
52+
if(buyOrderRequestModel != null){
53+
putQueryParameter("BuyOrderRequestModel", buyOrderRequestModel);
54+
}
55+
}
56+
57+
public String getBizUid() {
58+
return this.bizUid;
59+
}
60+
61+
public void setBizUid(String bizUid) {
62+
this.bizUid = bizUid;
63+
if(bizUid != null){
64+
putQueryParameter("BizUid", bizUid);
65+
}
66+
}
67+
68+
public Boolean getUseAnonymousTbAccount() {
69+
return this.useAnonymousTbAccount;
70+
}
71+
72+
public void setUseAnonymousTbAccount(Boolean useAnonymousTbAccount) {
73+
this.useAnonymousTbAccount = useAnonymousTbAccount;
74+
if(useAnonymousTbAccount != null){
75+
putQueryParameter("UseAnonymousTbAccount", useAnonymousTbAccount.toString());
76+
}
77+
}
78+
79+
public String getThirdPartyUserId() {
80+
return this.thirdPartyUserId;
81+
}
82+
83+
public void setThirdPartyUserId(String thirdPartyUserId) {
84+
this.thirdPartyUserId = thirdPartyUserId;
85+
if(thirdPartyUserId != null){
86+
putQueryParameter("ThirdPartyUserId", thirdPartyUserId);
87+
}
88+
}
89+
90+
public String getBizId() {
91+
return this.bizId;
92+
}
93+
94+
public void setBizId(String bizId) {
95+
this.bizId = bizId;
96+
if(bizId != null){
97+
putQueryParameter("BizId", bizId);
98+
}
99+
}
100+
101+
@Override
102+
public Class<RenderH5OrderResponse> getResponseClass() {
103+
return RenderH5OrderResponse.class;
104+
}
105+
106+
}

0 commit comments

Comments
 (0)