@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherAvailableGoods extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherAvailableGoods.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_GOODS_DESCRIPTION |
static String |
SERIALIZED_NAME_GOODS_IDS |
static String |
SERIALIZED_NAME_GOODS_NAME |
| 构造器和说明 |
|---|
PaymentVoucherAvailableGoods() |
| 限定符和类型 | 方法和说明 |
|---|---|
PaymentVoucherAvailableGoods |
addGoodsIdsItem(String goodsIdsItem) |
boolean |
equals(Object o) |
static PaymentVoucherAvailableGoods |
fromJson(String jsonString)
Create an instance of PaymentVoucherAvailableGoods 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.
|
String |
getGoodsDescription()
商品描述信息。
|
List<String> |
getGoodsIds()
可优惠商品编码,商家自定义商品编码。
|
String |
getGoodsName()
商品名称
|
PaymentVoucherAvailableGoods |
goodsDescription(String goodsDescription) |
PaymentVoucherAvailableGoods |
goodsIds(List<String> goodsIds) |
PaymentVoucherAvailableGoods |
goodsName(String goodsName) |
int |
hashCode() |
PaymentVoucherAvailableGoods |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setGoodsDescription(String goodsDescription) |
void |
setGoodsIds(List<String> goodsIds) |
void |
setGoodsName(String goodsName) |
String |
toJson()
Convert an instance of PaymentVoucherAvailableGoods 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_GOODS_DESCRIPTION
public PaymentVoucherAvailableGoods goodsDescription(String goodsDescription)
@Nullable public String getGoodsDescription()
public void setGoodsDescription(String goodsDescription)
public PaymentVoucherAvailableGoods goodsIds(List<String> goodsIds)
public PaymentVoucherAvailableGoods addGoodsIdsItem(String goodsIdsItem)
@Nullable public List<String> getGoodsIds()
public PaymentVoucherAvailableGoods goodsName(String goodsName)
public void setGoodsName(String goodsName)
public PaymentVoucherAvailableGoods 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 PaymentVoucherAvailableGoodspublic static PaymentVoucherAvailableGoods fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherAvailableGoodspublic String toJson()
Copyright © 2024. All rights reserved.