com.wechat.pay.java.service.retailstore.model.GoodsInfo 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
//
// 指定服务商可通过该接口报名加价购活动、查询某个区域内的加价购活动列表、锁定加价活动购资格以及解锁加价购活动资格。
//
// API version: 1.4.0
// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
package com.wechat.pay.java.service.retailstore.model;
import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;
import com.google.gson.annotations.SerializedName;
/** GoodsInfo */
public class GoodsInfo {
/** 商品ID 说明:商品ID */
@SerializedName("goods_id")
private String goodsId;
/** 商品名称 说明:商品名称 */
@SerializedName("goods_name")
private String goodsName;
/** 商品图片URL 说明:商品图片URL */
@SerializedName("goods_picture_url")
private String goodsPictureUrl;
public String getGoodsId() {
return goodsId;
}
public void setGoodsId(String goodsId) {
this.goodsId = goodsId;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public String getGoodsPictureUrl() {
return goodsPictureUrl;
}
public void setGoodsPictureUrl(String goodsPictureUrl) {
this.goodsPictureUrl = goodsPictureUrl;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GoodsInfo {\n");
sb.append(" goodsId: ").append(toIndentedString(goodsId)).append("\n");
sb.append(" goodsName: ").append(toIndentedString(goodsName)).append("\n");
sb.append(" goodsPictureUrl: ").append(toIndentedString(goodsPictureUrl)).append("\n");
sb.append("}");
return sb.toString();
}
}