com.wechat.pay.java.service.merchantexclusivecoupon.model.CouponCodeInfoRequest 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.Expose;
import com.google.gson.annotations.SerializedName;
/** CouponCodeInfoRequest */
public class CouponCodeInfoRequest {
/** 批次号 说明:商家券批次号 */
@SerializedName("stock_id")
@Expose(serialize = false)
private String stockId;
/** 商户上传code 说明:商户上传code */
@SerializedName("coupon_code")
@Expose(serialize = false)
private String couponCode;
/** 公众账号ID 说明:公众账号ID */
@SerializedName("appid")
@Expose(serialize = false)
private String appid;
public String getStockId() {
return stockId;
}
public void setStockId(String stockId) {
this.stockId = stockId;
}
public String getCouponCode() {
return couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CouponCodeInfoRequest {\n");
sb.append(" stockId: ").append(toIndentedString(stockId)).append("\n");
sb.append(" couponCode: ").append(toIndentedString(couponCode)).append("\n");
sb.append(" appid: ").append(toIndentedString(appid)).append("\n");
sb.append("}");
return sb.toString();
}
}