com.wechat.pay.java.service.cashcoupons.model.AvailableMerchantCollection 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;
/** AvailableMerchantCollection */
public class AvailableMerchantCollection {
/** 可用商户总数量 说明:可用商户总数量 */
@SerializedName("total_count")
private Integer totalCount;
/** 可用商户列表 说明:可用商户列表 */
@SerializedName("data")
private List data;
/** 分页页码 说明:分页页码 */
@SerializedName("offset")
private Integer offset;
/** 分页大小 说明:分页大小 */
@SerializedName("limit")
private Integer limit;
/** 批次号 说明:批次号 */
@SerializedName("stock_id")
private String stockId;
public Integer getTotalCount() {
return totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public String getStockId() {
return stockId;
}
public void setStockId(String stockId) {
this.stockId = stockId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AvailableMerchantCollection {\n");
sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n");
sb.append(" data: ").append(toIndentedString(data)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" stockId: ").append(toIndentedString(stockId)).append("\n");
sb.append("}");
return sb.toString();
}
}