com.wechat.pay.java.service.giftactivity.model.AwardBaseInfo 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.1.2
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.giftactivity.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** AwardBaseInfo */
public class AwardBaseInfo {
/** 代金券批次Id 说明:代金券批次Id */
@SerializedName("stock_id")
private String stockId;
/** 奖品原始图(大图) 说明:奖品大图,必填 */
@SerializedName("original_image_url")
private String originalImageUrl;
/** 奖品缩略图(小图) 说明:奖品小图,当选多张券时必填 */
@SerializedName("thumbnail_url")
private String thumbnailUrl;
public String getStockId() {
return stockId;
}
public void setStockId(String stockId) {
this.stockId = stockId;
}
public String getOriginalImageUrl() {
return originalImageUrl;
}
public void setOriginalImageUrl(String originalImageUrl) {
this.originalImageUrl = originalImageUrl;
}
public String getThumbnailUrl() {
return thumbnailUrl;
}
public void setThumbnailUrl(String thumbnailUrl) {
this.thumbnailUrl = thumbnailUrl;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AwardBaseInfo {\n");
sb.append(" stockId: ").append(toIndentedString(stockId)).append("\n");
sb.append(" originalImageUrl: ").append(toIndentedString(originalImageUrl)).append("\n");
sb.append(" thumbnailUrl: ").append(toIndentedString(thumbnailUrl)).append("\n");
sb.append("}");
return sb.toString();
}
}