com.wechat.pay.java.service.cashcoupons.model.CouponCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechatpay-java Show documentation
Show all versions of wechatpay-java Show documentation
A Java SDK for WeChat Pay APIv3
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 微信支付营销系统开放API
//
// 新增立减金api
//
// API version: 3.4.0
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.cashcoupons.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/** CouponCollection */
public class CouponCollection {
/** 结果集 说明:结果集 */
@SerializedName("data")
private List data;
/** 查询结果总数 说明:查询结果总数 */
@SerializedName("total_count")
private Integer totalCount;
/** 分页大小 说明:分页大小 */
@SerializedName("limit")
private Integer limit;
/** 分页页码 说明:分页页码 */
@SerializedName("offset")
private Integer offset;
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
public Integer getTotalCount() {
return totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CouponCollection {\n");
sb.append(" data: ").append(toIndentedString(data)).append("\n");
sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append("}");
return sb.toString();
}
}