Skip to content

Commit 700105c

Browse files
author
BitsAdmin
committed
Merge branch 'billing-Java-2022-01-01-online-1467-2025_08_21_10_42_22' into 'integration_2025-08-21_1037883052802'
feat: [development task] billing-1467-Java (1576756) See merge request iaasng/volcengine-java-sdk!616
2 parents e66c37b + b0186e4 commit 700105c

File tree

2 files changed

+42
-19
lines changed

2 files changed

+42
-19
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
public class ListForListCouponUsageRecordsOutput {
3333
@SerializedName("AccountID")
34-
private Integer accountID = null;
34+
private Long accountID = null;
3535

3636
@SerializedName("ChangeAmount")
3737
private Double changeAmount = null;
@@ -58,9 +58,9 @@ public class ListForListCouponUsageRecordsOutput {
5858
private String subBusinessID = null;
5959

6060
@SerializedName("UserAccountID")
61-
private Integer userAccountID = null;
61+
private Long userAccountID = null;
6262

63-
public ListForListCouponUsageRecordsOutput accountID(Integer accountID) {
63+
public ListForListCouponUsageRecordsOutput accountID(Long accountID) {
6464
this.accountID = accountID;
6565
return this;
6666
}
@@ -70,11 +70,11 @@ public ListForListCouponUsageRecordsOutput accountID(Integer accountID) {
7070
* @return accountID
7171
**/
7272
@Schema(description = "")
73-
public Integer getAccountID() {
73+
public Long getAccountID() {
7474
return accountID;
7575
}
7676

77-
public void setAccountID(Integer accountID) {
77+
public void setAccountID(Long accountID) {
7878
this.accountID = accountID;
7979
}
8080

@@ -222,7 +222,7 @@ public void setSubBusinessID(String subBusinessID) {
222222
this.subBusinessID = subBusinessID;
223223
}
224224

225-
public ListForListCouponUsageRecordsOutput userAccountID(Integer userAccountID) {
225+
public ListForListCouponUsageRecordsOutput userAccountID(Long userAccountID) {
226226
this.userAccountID = userAccountID;
227227
return this;
228228
}
@@ -232,11 +232,11 @@ public ListForListCouponUsageRecordsOutput userAccountID(Integer userAccountID)
232232
* @return userAccountID
233233
**/
234234
@Schema(description = "")
235-
public Integer getUserAccountID() {
235+
public Long getUserAccountID() {
236236
return userAccountID;
237237
}
238238

239-
public void setUserAccountID(Integer userAccountID) {
239+
public void setUserAccountID(Long userAccountID) {
240240
this.userAccountID = userAccountID;
241241
}
242242

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

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
public class ListForListCouponsOutput {
3636
@SerializedName("AccountID")
37-
private Integer accountID = null;
37+
private Long accountID = null;
3838

3939
@SerializedName("AcquireTime")
4040
private String acquireTime = null;
@@ -43,7 +43,7 @@ public class ListForListCouponsOutput {
4343
private Double amountLimit = null;
4444

4545
@SerializedName("AssignedOwnerIDList")
46-
private List<Integer> assignedOwnerIDList = null;
46+
private List<Long> assignedOwnerIDList = null;
4747

4848
@SerializedName("BeginTime")
4949
private String beginTime = null;
@@ -75,10 +75,13 @@ public class ListForListCouponsOutput {
7575
@SerializedName("Status")
7676
private Integer status = null;
7777

78+
@SerializedName("TotalAmount")
79+
private Double totalAmount = null;
80+
7881
@SerializedName("UsageLimit")
7982
private Integer usageLimit = null;
8083

81-
public ListForListCouponsOutput accountID(Integer accountID) {
84+
public ListForListCouponsOutput accountID(Long accountID) {
8285
this.accountID = accountID;
8386
return this;
8487
}
@@ -88,11 +91,11 @@ public ListForListCouponsOutput accountID(Integer accountID) {
8891
* @return accountID
8992
**/
9093
@Schema(description = "")
91-
public Integer getAccountID() {
94+
public Long getAccountID() {
9295
return accountID;
9396
}
9497

95-
public void setAccountID(Integer accountID) {
98+
public void setAccountID(Long accountID) {
9699
this.accountID = accountID;
97100
}
98101

@@ -132,14 +135,14 @@ public void setAmountLimit(Double amountLimit) {
132135
this.amountLimit = amountLimit;
133136
}
134137

135-
public ListForListCouponsOutput assignedOwnerIDList(List<Integer> assignedOwnerIDList) {
138+
public ListForListCouponsOutput assignedOwnerIDList(List<Long> assignedOwnerIDList) {
136139
this.assignedOwnerIDList = assignedOwnerIDList;
137140
return this;
138141
}
139142

140-
public ListForListCouponsOutput addAssignedOwnerIDListItem(Integer assignedOwnerIDListItem) {
143+
public ListForListCouponsOutput addAssignedOwnerIDListItem(Long assignedOwnerIDListItem) {
141144
if (this.assignedOwnerIDList == null) {
142-
this.assignedOwnerIDList = new ArrayList<Integer>();
145+
this.assignedOwnerIDList = new ArrayList<Long>();
143146
}
144147
this.assignedOwnerIDList.add(assignedOwnerIDListItem);
145148
return this;
@@ -150,11 +153,11 @@ public ListForListCouponsOutput addAssignedOwnerIDListItem(Integer assignedOwner
150153
* @return assignedOwnerIDList
151154
**/
152155
@Schema(description = "")
153-
public List<Integer> getAssignedOwnerIDList() {
156+
public List<Long> getAssignedOwnerIDList() {
154157
return assignedOwnerIDList;
155158
}
156159

157-
public void setAssignedOwnerIDList(List<Integer> assignedOwnerIDList) {
160+
public void setAssignedOwnerIDList(List<Long> assignedOwnerIDList) {
158161
this.assignedOwnerIDList = assignedOwnerIDList;
159162
}
160163

@@ -347,6 +350,24 @@ public void setStatus(Integer status) {
347350
this.status = status;
348351
}
349352

353+
public ListForListCouponsOutput totalAmount(Double totalAmount) {
354+
this.totalAmount = totalAmount;
355+
return this;
356+
}
357+
358+
/**
359+
* Get totalAmount
360+
* @return totalAmount
361+
**/
362+
@Schema(description = "")
363+
public Double getTotalAmount() {
364+
return totalAmount;
365+
}
366+
367+
public void setTotalAmount(Double totalAmount) {
368+
this.totalAmount = totalAmount;
369+
}
370+
350371
public ListForListCouponsOutput usageLimit(Integer usageLimit) {
351372
this.usageLimit = usageLimit;
352373
return this;
@@ -389,12 +410,13 @@ public boolean equals(java.lang.Object o) {
389410
Objects.equals(this.remainingAmount, listForListCouponsOutput.remainingAmount) &&
390411
Objects.equals(this.remark, listForListCouponsOutput.remark) &&
391412
Objects.equals(this.status, listForListCouponsOutput.status) &&
413+
Objects.equals(this.totalAmount, listForListCouponsOutput.totalAmount) &&
392414
Objects.equals(this.usageLimit, listForListCouponsOutput.usageLimit);
393415
}
394416

395417
@Override
396418
public int hashCode() {
397-
return Objects.hash(accountID, acquireTime, amountLimit, assignedOwnerIDList, beginTime, couponID, couponName, expiredTime, orderTypeLimit, payTypeLimit, productLimitList, remainingAmount, remark, status, usageLimit);
419+
return Objects.hash(accountID, acquireTime, amountLimit, assignedOwnerIDList, beginTime, couponID, couponName, expiredTime, orderTypeLimit, payTypeLimit, productLimitList, remainingAmount, remark, status, totalAmount, usageLimit);
398420
}
399421

400422

@@ -417,6 +439,7 @@ public String toString() {
417439
sb.append(" remainingAmount: ").append(toIndentedString(remainingAmount)).append("\n");
418440
sb.append(" remark: ").append(toIndentedString(remark)).append("\n");
419441
sb.append(" status: ").append(toIndentedString(status)).append("\n");
442+
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
420443
sb.append(" usageLimit: ").append(toIndentedString(usageLimit)).append("\n");
421444
sb.append("}");
422445
return sb.toString();

0 commit comments

Comments
 (0)