@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ConsumerNotifyIstd extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ConsumerNotifyIstd.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_GOODS_COUNT |
static String |
SERIALIZED_NAME_GOODS_IMG |
static String |
SERIALIZED_NAME_GOODS_NAME |
static String |
SERIALIZED_NAME_MERCHANT_MOBILE |
static String |
SERIALIZED_NAME_MERCHANT_NAME |
static String |
SERIALIZED_NAME_TINY_APP_ID |
static String |
SERIALIZED_NAME_TINY_APP_URL |
| 构造器和说明 |
|---|
ConsumerNotifyIstd() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static ConsumerNotifyIstd |
fromJson(String jsonString)
Create an instance of ConsumerNotifyIstd given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Integer |
getGoodsCount()
商品数量
|
String |
getGoodsImg()
商品缩略图url,支持格式:bmp、jpg、jpeg、png、gif
|
String |
getGoodsName()
商品名称
|
String |
getMerchantMobile()
商家电话
|
String |
getMerchantName()
商家名称,tiny_app_id和merchant_name不能同时为空
|
String |
getTinyAppId()
商家小程序appid
|
String |
getTinyAppUrl()
商家小程序的路径,建议为订单页面
|
ConsumerNotifyIstd |
goodsCount(Integer goodsCount) |
ConsumerNotifyIstd |
goodsImg(String goodsImg) |
ConsumerNotifyIstd |
goodsName(String goodsName) |
int |
hashCode() |
ConsumerNotifyIstd |
merchantMobile(String merchantMobile) |
ConsumerNotifyIstd |
merchantName(String merchantName) |
ConsumerNotifyIstd |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setGoodsCount(Integer goodsCount) |
void |
setGoodsImg(String goodsImg) |
void |
setGoodsName(String goodsName) |
void |
setMerchantMobile(String merchantMobile) |
void |
setMerchantName(String merchantName) |
void |
setTinyAppId(String tinyAppId) |
void |
setTinyAppUrl(String tinyAppUrl) |
ConsumerNotifyIstd |
tinyAppId(String tinyAppId) |
ConsumerNotifyIstd |
tinyAppUrl(String tinyAppUrl) |
String |
toJson()
Convert an instance of ConsumerNotifyIstd to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_MERCHANT_MOBILE
public ConsumerNotifyIstd goodsCount(Integer goodsCount)
public void setGoodsCount(Integer goodsCount)
public ConsumerNotifyIstd goodsImg(String goodsImg)
public void setGoodsImg(String goodsImg)
public ConsumerNotifyIstd goodsName(String goodsName)
public void setGoodsName(String goodsName)
public ConsumerNotifyIstd merchantMobile(String merchantMobile)
public void setMerchantMobile(String merchantMobile)
public ConsumerNotifyIstd merchantName(String merchantName)
@Nullable public String getMerchantName()
public void setMerchantName(String merchantName)
public ConsumerNotifyIstd tinyAppId(String tinyAppId)
public void setTinyAppId(String tinyAppId)
public ConsumerNotifyIstd tinyAppUrl(String tinyAppUrl)
public void setTinyAppUrl(String tinyAppUrl)
public ConsumerNotifyIstd putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to ConsumerNotifyIstdpublic static ConsumerNotifyIstd fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ConsumerNotifyIstdpublic String toJson()
Copyright © 2024. All rights reserved.