@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherDisplayInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherDisplayInfo.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_CUSTOMER_SERVICE_MOBILE |
static String |
SERIALIZED_NAME_CUSTOMER_SERVICE_URL |
static String |
SERIALIZED_NAME_VOUCHER_COMMENT |
static String |
SERIALIZED_NAME_VOUCHER_DESCRIPTION |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES |
static String |
SERIALIZED_NAME_VOUCHER_IMAGE |
| 构造器和说明 |
|---|
VoucherDisplayInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherDisplayInfo |
addVoucherDetailImagesItem(String voucherDetailImagesItem) |
VoucherDisplayInfo |
brandLogo(String brandLogo) |
VoucherDisplayInfo |
brandName(String brandName) |
VoucherDisplayInfo |
customerServiceMobile(String customerServiceMobile) |
VoucherDisplayInfo |
customerServiceUrl(String customerServiceUrl) |
boolean |
equals(Object o) |
static VoucherDisplayInfo |
fromJson(String jsonString)
Create an instance of VoucherDisplayInfo 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 |
getCustomerServiceMobile()
客服电话
|
String |
getCustomerServiceUrl()
客服链接
|
String |
getVoucherComment()
券补充说明,该字段为可运营字段,可描述商品特色 会展示在用户支付宝卡包券详情页
|
String |
getVoucherDescription()
券详细使用说明。
|
List<String> |
getVoucherDetailImages()
券详细图列表,会展示在用户支付宝卡包券详情页。
|
String |
getVoucherImage()
券详情页封面图,会展示在用户支付宝卡包券详情页。
|
int |
hashCode() |
VoucherDisplayInfo |
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 |
setCustomerServiceMobile(String customerServiceMobile) |
void |
setCustomerServiceUrl(String customerServiceUrl) |
void |
setVoucherComment(String voucherComment) |
void |
setVoucherDescription(String voucherDescription) |
void |
setVoucherDetailImages(List<String> voucherDetailImages) |
void |
setVoucherImage(String voucherImage) |
String |
toJson()
Convert an instance of VoucherDisplayInfo 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
|
VoucherDisplayInfo |
voucherComment(String voucherComment) |
VoucherDisplayInfo |
voucherDescription(String voucherDescription) |
VoucherDisplayInfo |
voucherDetailImages(List<String> voucherDetailImages) |
VoucherDisplayInfo |
voucherImage(String voucherImage) |
public static final String SERIALIZED_NAME_CUSTOMER_SERVICE_MOBILE
public static final String SERIALIZED_NAME_CUSTOMER_SERVICE_URL
public static final String SERIALIZED_NAME_VOUCHER_COMMENT
public static final String SERIALIZED_NAME_VOUCHER_DESCRIPTION
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES
public VoucherDisplayInfo brandLogo(String brandLogo)
@Nullable public String getBrandLogo()
public void setBrandLogo(String brandLogo)
public VoucherDisplayInfo brandName(String brandName)
@Nullable public String getBrandName()
public void setBrandName(String brandName)
public VoucherDisplayInfo customerServiceMobile(String customerServiceMobile)
@Nullable public String getCustomerServiceMobile()
public void setCustomerServiceMobile(String customerServiceMobile)
public VoucherDisplayInfo customerServiceUrl(String customerServiceUrl)
public void setCustomerServiceUrl(String customerServiceUrl)
public VoucherDisplayInfo voucherComment(String voucherComment)
@Nullable public String getVoucherComment()
public void setVoucherComment(String voucherComment)
public VoucherDisplayInfo voucherDescription(String voucherDescription)
@Nullable public String getVoucherDescription()
public void setVoucherDescription(String voucherDescription)
public VoucherDisplayInfo voucherDetailImages(List<String> voucherDetailImages)
public VoucherDisplayInfo addVoucherDetailImagesItem(String voucherDetailImagesItem)
@Nullable public List<String> getVoucherDetailImages()
public VoucherDisplayInfo voucherImage(String voucherImage)
@Nullable public String getVoucherImage()
public void setVoucherImage(String voucherImage)
public VoucherDisplayInfo 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 VoucherDisplayInfopublic static VoucherDisplayInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherDisplayInfopublic String toJson()
Copyright © 2024. All rights reserved.