Skip to content

Commit 8e6db94

Browse files
author
BitsAdmin
committed
Merge branch 'billing-Java-2022-01-01-online-962-2025_02_12_14_11_50' into 'integration_2025-02-13_752902185218'
feat: [development task] billing-962-Java (1013096) See merge request iaasng/volcengine-java-sdk!377
2 parents 5fac1e4 + add5fe9 commit 8e6db94

12 files changed

+668
-35
lines changed

volcengine-java-sdk-billing/src/main/java/com/volcengine/billing/model/CancelInvitationRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class CancelInvitationRequest {
4343
private String relationID = null;
4444

4545
@SerializedName("SubAccountID")
46-
private Integer subAccountID = null;
46+
private Long subAccountID = null;
4747

4848
public CancelInvitationRequest authID(String authID) {
4949
this.authID = authID;
@@ -119,7 +119,7 @@ public void setRelationID(String relationID) {
119119
this.relationID = relationID;
120120
}
121121

122-
public CancelInvitationRequest subAccountID(Integer subAccountID) {
122+
public CancelInvitationRequest subAccountID(Long subAccountID) {
123123
this.subAccountID = subAccountID;
124124
return this;
125125
}
@@ -129,11 +129,11 @@ public CancelInvitationRequest subAccountID(Integer subAccountID) {
129129
* @return subAccountID
130130
**/
131131
@Schema(description = "")
132-
public Integer getSubAccountID() {
132+
public Long getSubAccountID() {
133133
return subAccountID;
134134
}
135135

136-
public void setSubAccountID(Integer subAccountID) {
136+
public void setSubAccountID(Long subAccountID) {
137137
this.subAccountID = subAccountID;
138138
}
139139

volcengine-java-sdk-billing/src/main/java/com/volcengine/billing/model/CreateFinancialRelationRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class CreateFinancialRelationRequest {
4040
private Integer relation = null;
4141

4242
@SerializedName("SubAccountID")
43-
private Integer subAccountID = null;
43+
private Long subAccountID = null;
4444

4545
public CreateFinancialRelationRequest accountAlias(String accountAlias) {
4646
this.accountAlias = accountAlias;
@@ -97,7 +97,7 @@ public void setRelation(Integer relation) {
9797
this.relation = relation;
9898
}
9999

100-
public CreateFinancialRelationRequest subAccountID(Integer subAccountID) {
100+
public CreateFinancialRelationRequest subAccountID(Long subAccountID) {
101101
this.subAccountID = subAccountID;
102102
return this;
103103
}
@@ -108,11 +108,11 @@ public CreateFinancialRelationRequest subAccountID(Integer subAccountID) {
108108
**/
109109
@NotNull
110110
@Schema(required = true, description = "")
111-
public Integer getSubAccountID() {
111+
public Long getSubAccountID() {
112112
return subAccountID;
113113
}
114114

115-
public void setSubAccountID(Integer subAccountID) {
115+
public void setSubAccountID(Long subAccountID) {
116116
this.subAccountID = subAccountID;
117117
}
118118

volcengine-java-sdk-billing/src/main/java/com/volcengine/billing/model/DeleteFinancialRelationRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DeleteFinancialRelationRequest {
3737
private String relationID = null;
3838

3939
@SerializedName("SubAccountID")
40-
private Integer subAccountID = null;
40+
private Long subAccountID = null;
4141

4242
public DeleteFinancialRelationRequest relation(Integer relation) {
4343
this.relation = relation;
@@ -77,7 +77,7 @@ public void setRelationID(String relationID) {
7777
this.relationID = relationID;
7878
}
7979

80-
public DeleteFinancialRelationRequest subAccountID(Integer subAccountID) {
80+
public DeleteFinancialRelationRequest subAccountID(Long subAccountID) {
8181
this.subAccountID = subAccountID;
8282
return this;
8383
}
@@ -88,11 +88,11 @@ public DeleteFinancialRelationRequest subAccountID(Integer subAccountID) {
8888
**/
8989
@NotNull
9090
@Schema(required = true, description = "")
91-
public Integer getSubAccountID() {
91+
public Long getSubAccountID() {
9292
return subAccountID;
9393
}
9494

95-
public void setSubAccountID(Integer subAccountID) {
95+
public void setSubAccountID(Long subAccountID) {
9696
this.subAccountID = subAccountID;
9797
}
9898

volcengine-java-sdk-billing/src/main/java/com/volcengine/billing/model/HandleInvitationRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class HandleInvitationRequest {
4040
private Integer invitationType = null;
4141

4242
@SerializedName("MajorAccountID")
43-
private Integer majorAccountID = null;
43+
private Long majorAccountID = null;
4444

4545
@SerializedName("Relation")
4646
private Integer relation = null;
@@ -104,7 +104,7 @@ public void setInvitationType(Integer invitationType) {
104104
this.invitationType = invitationType;
105105
}
106106

107-
public HandleInvitationRequest majorAccountID(Integer majorAccountID) {
107+
public HandleInvitationRequest majorAccountID(Long majorAccountID) {
108108
this.majorAccountID = majorAccountID;
109109
return this;
110110
}
@@ -114,11 +114,11 @@ public HandleInvitationRequest majorAccountID(Integer majorAccountID) {
114114
* @return majorAccountID
115115
**/
116116
@Schema(description = "")
117-
public Integer getMajorAccountID() {
117+
public Long getMajorAccountID() {
118118
return majorAccountID;
119119
}
120120

121-
public void setMajorAccountID(Integer majorAccountID) {
121+
public void setMajorAccountID(Long majorAccountID) {
122122
this.majorAccountID = majorAccountID;
123123
}
124124

volcengine-java-sdk-billing/src/main/java/com/volcengine/billing/model/ListForListFinancialRelationOutput.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ListForListFinancialRelationOutput {
4646
private String filiationDesc = null;
4747

4848
@SerializedName("MajorAccountID")
49-
private Integer majorAccountID = null;
49+
private Long majorAccountID = null;
5050

5151
@SerializedName("MajorAccountName")
5252
private String majorAccountName = null;
@@ -67,7 +67,7 @@ public class ListForListFinancialRelationOutput {
6767
private String statusDesc = null;
6868

6969
@SerializedName("SubAccountID")
70-
private Integer subAccountID = null;
70+
private Long subAccountID = null;
7171

7272
@SerializedName("SubAccountName")
7373
private String subAccountName = null;
@@ -156,7 +156,7 @@ public void setFiliationDesc(String filiationDesc) {
156156
this.filiationDesc = filiationDesc;
157157
}
158158

159-
public ListForListFinancialRelationOutput majorAccountID(Integer majorAccountID) {
159+
public ListForListFinancialRelationOutput majorAccountID(Long majorAccountID) {
160160
this.majorAccountID = majorAccountID;
161161
return this;
162162
}
@@ -166,11 +166,11 @@ public ListForListFinancialRelationOutput majorAccountID(Integer majorAccountID)
166166
* @return majorAccountID
167167
**/
168168
@Schema(description = "")
169-
public Integer getMajorAccountID() {
169+
public Long getMajorAccountID() {
170170
return majorAccountID;
171171
}
172172

173-
public void setMajorAccountID(Integer majorAccountID) {
173+
public void setMajorAccountID(Long majorAccountID) {
174174
this.majorAccountID = majorAccountID;
175175
}
176176

@@ -282,7 +282,7 @@ public void setStatusDesc(String statusDesc) {
282282
this.statusDesc = statusDesc;
283283
}
284284

285-
public ListForListFinancialRelationOutput subAccountID(Integer subAccountID) {
285+
public ListForListFinancialRelationOutput subAccountID(Long subAccountID) {
286286
this.subAccountID = subAccountID;
287287
return this;
288288
}
@@ -292,11 +292,11 @@ public ListForListFinancialRelationOutput subAccountID(Integer subAccountID) {
292292
* @return subAccountID
293293
**/
294294
@Schema(description = "")
295-
public Integer getSubAccountID() {
295+
public Long getSubAccountID() {
296296
return subAccountID;
297297
}
298298

299-
public void setSubAccountID(Integer subAccountID) {
299+
public void setSubAccountID(Long subAccountID) {
300300
this.subAccountID = subAccountID;
301301
}
302302

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
/*
2+
* billing
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: common-version
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
package com.volcengine.billing.model;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import com.google.gson.TypeAdapter;
18+
import com.google.gson.annotations.JsonAdapter;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.google.gson.stream.JsonReader;
21+
import com.google.gson.stream.JsonWriter;
22+
import io.swagger.v3.oas.annotations.media.Schema;
23+
import java.io.IOException;
24+
import javax.validation.constraints.*;
25+
import javax.validation.Valid;
26+
/**
27+
* OrderFailRefundInfoForGetOrderOutput
28+
*/
29+
30+
31+
32+
public class OrderFailRefundInfoForGetOrderOutput {
33+
@SerializedName("CouponAmount")
34+
private String couponAmount = null;
35+
36+
@SerializedName("DiscountAmount")
37+
private String discountAmount = null;
38+
39+
@SerializedName("OriginalAmount")
40+
private String originalAmount = null;
41+
42+
@SerializedName("PaidAmount")
43+
private String paidAmount = null;
44+
45+
@SerializedName("PayableAmount")
46+
private String payableAmount = null;
47+
48+
public OrderFailRefundInfoForGetOrderOutput couponAmount(String couponAmount) {
49+
this.couponAmount = couponAmount;
50+
return this;
51+
}
52+
53+
/**
54+
* Get couponAmount
55+
* @return couponAmount
56+
**/
57+
@Schema(description = "")
58+
public String getCouponAmount() {
59+
return couponAmount;
60+
}
61+
62+
public void setCouponAmount(String couponAmount) {
63+
this.couponAmount = couponAmount;
64+
}
65+
66+
public OrderFailRefundInfoForGetOrderOutput discountAmount(String discountAmount) {
67+
this.discountAmount = discountAmount;
68+
return this;
69+
}
70+
71+
/**
72+
* Get discountAmount
73+
* @return discountAmount
74+
**/
75+
@Schema(description = "")
76+
public String getDiscountAmount() {
77+
return discountAmount;
78+
}
79+
80+
public void setDiscountAmount(String discountAmount) {
81+
this.discountAmount = discountAmount;
82+
}
83+
84+
public OrderFailRefundInfoForGetOrderOutput originalAmount(String originalAmount) {
85+
this.originalAmount = originalAmount;
86+
return this;
87+
}
88+
89+
/**
90+
* Get originalAmount
91+
* @return originalAmount
92+
**/
93+
@Schema(description = "")
94+
public String getOriginalAmount() {
95+
return originalAmount;
96+
}
97+
98+
public void setOriginalAmount(String originalAmount) {
99+
this.originalAmount = originalAmount;
100+
}
101+
102+
public OrderFailRefundInfoForGetOrderOutput paidAmount(String paidAmount) {
103+
this.paidAmount = paidAmount;
104+
return this;
105+
}
106+
107+
/**
108+
* Get paidAmount
109+
* @return paidAmount
110+
**/
111+
@Schema(description = "")
112+
public String getPaidAmount() {
113+
return paidAmount;
114+
}
115+
116+
public void setPaidAmount(String paidAmount) {
117+
this.paidAmount = paidAmount;
118+
}
119+
120+
public OrderFailRefundInfoForGetOrderOutput payableAmount(String payableAmount) {
121+
this.payableAmount = payableAmount;
122+
return this;
123+
}
124+
125+
/**
126+
* Get payableAmount
127+
* @return payableAmount
128+
**/
129+
@Schema(description = "")
130+
public String getPayableAmount() {
131+
return payableAmount;
132+
}
133+
134+
public void setPayableAmount(String payableAmount) {
135+
this.payableAmount = payableAmount;
136+
}
137+
138+
139+
@Override
140+
public boolean equals(java.lang.Object o) {
141+
if (this == o) {
142+
return true;
143+
}
144+
if (o == null || getClass() != o.getClass()) {
145+
return false;
146+
}
147+
OrderFailRefundInfoForGetOrderOutput orderFailRefundInfoForGetOrderOutput = (OrderFailRefundInfoForGetOrderOutput) o;
148+
return Objects.equals(this.couponAmount, orderFailRefundInfoForGetOrderOutput.couponAmount) &&
149+
Objects.equals(this.discountAmount, orderFailRefundInfoForGetOrderOutput.discountAmount) &&
150+
Objects.equals(this.originalAmount, orderFailRefundInfoForGetOrderOutput.originalAmount) &&
151+
Objects.equals(this.paidAmount, orderFailRefundInfoForGetOrderOutput.paidAmount) &&
152+
Objects.equals(this.payableAmount, orderFailRefundInfoForGetOrderOutput.payableAmount);
153+
}
154+
155+
@Override
156+
public int hashCode() {
157+
return Objects.hash(couponAmount, discountAmount, originalAmount, paidAmount, payableAmount);
158+
}
159+
160+
161+
@Override
162+
public String toString() {
163+
StringBuilder sb = new StringBuilder();
164+
sb.append("class OrderFailRefundInfoForGetOrderOutput {\n");
165+
166+
sb.append(" couponAmount: ").append(toIndentedString(couponAmount)).append("\n");
167+
sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n");
168+
sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n");
169+
sb.append(" paidAmount: ").append(toIndentedString(paidAmount)).append("\n");
170+
sb.append(" payableAmount: ").append(toIndentedString(payableAmount)).append("\n");
171+
sb.append("}");
172+
return sb.toString();
173+
}
174+
175+
/**
176+
* Convert the given object to string with each line indented by 4 spaces
177+
* (except the first line).
178+
*/
179+
private String toIndentedString(java.lang.Object o) {
180+
if (o == null) {
181+
return "null";
182+
}
183+
return o.toString().replace("\n", "\n ");
184+
}
185+
186+
}

0 commit comments

Comments
 (0)