com.wechat.pay.java.service.merchantexclusivecoupon.model.SendCouponResult 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;
/** SendCouponResult */
public class SendCouponResult {
/** 批次号 说明:微信支付券批次ID */
@SerializedName("stock_id")
private String stockId;
/** 发券凭证 说明:发券凭证,可包含英文字母,数字,|,_,*,-等内容,不允许出现其他不合法符号,需在单个批次单个用户下确保唯一性 */
@SerializedName("out_request_no")
private String outRequestNo;
/** 券code 说明:券的唯一标识 */
@SerializedName("coupon_code")
private String couponCode;
public String getStockId() {
return stockId;
}
public void setStockId(String stockId) {
this.stockId = stockId;
}
public String getOutRequestNo() {
return outRequestNo;
}
public void setOutRequestNo(String outRequestNo) {
this.outRequestNo = outRequestNo;
}
public String getCouponCode() {
return couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SendCouponResult {\n");
sb.append(" stockId: ").append(toIndentedString(stockId)).append("\n");
sb.append(" outRequestNo: ").append(toIndentedString(outRequestNo)).append("\n");
sb.append(" couponCode: ").append(toIndentedString(couponCode)).append("\n");
sb.append("}");
return sb.toString();
}
}