com.wechat.pay.java.service.merchantexclusivecoupon.model.CouponCodeCount 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
//
// No description provided (generated by Openapi Generator
// https://github.com/openapitools/openapi-generator)
//
// API version: 0.0.11
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.merchantexclusivecoupon.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** CouponCodeCount */
public class CouponCodeCount {
/** 该批次总共已上传的code总数 说明:该批次总共已上传的code总数 */
@SerializedName("total_count")
private Long totalCount;
/** 该批次当前可用的code数 说明:该批次当前可用的code数 */
@SerializedName("available_count")
private Long availableCount;
public Long getTotalCount() {
return totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public Long getAvailableCount() {
return availableCount;
}
public void setAvailableCount(Long availableCount) {
this.availableCount = availableCount;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CouponCodeCount {\n");
sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n");
sb.append(" availableCount: ").append(toIndentedString(availableCount)).append("\n");
sb.append("}");
return sb.toString();
}
}