@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class CommonVoucherDisplayInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CommonVoucherDisplayInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BRAND_LOGO |
static String |
SERIALIZED_NAME_BRAND_NAME |
static String |
SERIALIZED_NAME_VOUCHER_DESCRIPTION |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES |
static String |
SERIALIZED_NAME_VOUCHER_IMAGE |
| 构造器和说明 |
|---|
CommonVoucherDisplayInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommonVoucherDisplayInfo |
addVoucherDetailImagesItem(String voucherDetailImagesItem) |
CommonVoucherDisplayInfo |
brandLogo(String brandLogo) |
CommonVoucherDisplayInfo |
brandName(String brandName) |
boolean |
equals(Object o) |
static CommonVoucherDisplayInfo |
fromJson(String jsonString)
Create an instance of CommonVoucherDisplayInfo 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 |
getBrandLogo()
商家品牌 logo 链接
|
String |
getBrandName()
商户品牌名称。
|
String |
getVoucherDescription()
用于说明详细的活动规则,会展示在支付宝卡包券详情页。
|
List<String> |
getVoucherDetailImages()
券详情图片链接。
|
String |
getVoucherImage()
券封面图链接。
|
int |
hashCode() |
CommonVoucherDisplayInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBrandLogo(String brandLogo) |
void |
setBrandName(String brandName) |
void |
setVoucherDescription(String voucherDescription) |
void |
setVoucherDetailImages(List<String> voucherDetailImages) |
void |
setVoucherImage(String voucherImage) |
String |
toJson()
Convert an instance of CommonVoucherDisplayInfo 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
|
CommonVoucherDisplayInfo |
voucherDescription(String voucherDescription) |
CommonVoucherDisplayInfo |
voucherDetailImages(List<String> voucherDetailImages) |
CommonVoucherDisplayInfo |
voucherImage(String voucherImage) |
public static final String SERIALIZED_NAME_VOUCHER_DESCRIPTION
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES
public CommonVoucherDisplayInfo brandLogo(String brandLogo)
public void setBrandLogo(String brandLogo)
public CommonVoucherDisplayInfo brandName(String brandName)
public void setBrandName(String brandName)
public CommonVoucherDisplayInfo voucherDescription(String voucherDescription)
@Nullable public String getVoucherDescription()
public void setVoucherDescription(String voucherDescription)
public CommonVoucherDisplayInfo voucherDetailImages(List<String> voucherDetailImages)
public CommonVoucherDisplayInfo addVoucherDetailImagesItem(String voucherDetailImagesItem)
@Nullable public List<String> getVoucherDetailImages()
public CommonVoucherDisplayInfo voucherImage(String voucherImage)
public void setVoucherImage(String voucherImage)
public CommonVoucherDisplayInfo 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 CommonVoucherDisplayInfopublic static CommonVoucherDisplayInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to CommonVoucherDisplayInfopublic String toJson()
Copyright © 2024. All rights reserved.