com.wechat.pay.java.service.merchantexclusivecoupon.model.UploadCouponCodeFailReason 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;
/** UploadCouponCodeFailReason */
public class UploadCouponCodeFailReason {
/** 上传失败的券code 说明:商户通过API上传的券code */
@SerializedName("coupon_code")
private String couponCode;
/** 上传失败错误码 说明:对应券code上传失败的错误码 */
@SerializedName("code")
private String code;
/** 上传失败错误信息 说明:上传失败的错误信息描述 */
@SerializedName("message")
private String message;
public String getCouponCode() {
return couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UploadCouponCodeFailReason {\n");
sb.append(" couponCode: ").append(toIndentedString(couponCode)).append("\n");
sb.append(" code: ").append(toIndentedString(code)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append("}");
return sb.toString();
}
}