@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherDisplayInfoModify extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherDisplayInfoModify.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 |
| 构造器和说明 |
|---|
VoucherDisplayInfoModify() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherDisplayInfoModify |
addVoucherDetailImagesItem(String voucherDetailImagesItem) |
VoucherDisplayInfoModify |
brandLogo(String brandLogo) |
VoucherDisplayInfoModify |
brandName(String brandName) |
VoucherDisplayInfoModify |
customerServiceMobile(String customerServiceMobile) |
VoucherDisplayInfoModify |
customerServiceUrl(String customerServiceUrl) |
boolean |
equals(Object o) |
static VoucherDisplayInfoModify |
fromJson(String jsonString)
Create an instance of VoucherDisplayInfoModify 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 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值
|
String |
getBrandName()
商户品牌名称。
|
String |
getCustomerServiceMobile()
客服电话
|
String |
getCustomerServiceUrl()
客服链接
|
String |
getVoucherComment()
券补充说明,该字段为可运营字段,可描述商品特色 会展示在用户支付宝卡包券详情页。
|
String |
getVoucherDescription()
券详细使用说明。
|
List<String> |
getVoucherDetailImages()
券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。
|
String |
getVoucherImage()
券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。
|
int |
hashCode() |
VoucherDisplayInfoModify |
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 VoucherDisplayInfoModify 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
|
VoucherDisplayInfoModify |
voucherComment(String voucherComment) |
VoucherDisplayInfoModify |
voucherDescription(String voucherDescription) |
VoucherDisplayInfoModify |
voucherDetailImages(List<String> voucherDetailImages) |
VoucherDisplayInfoModify |
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 VoucherDisplayInfoModify brandLogo(String brandLogo)
@Nullable public String getBrandLogo()
public void setBrandLogo(String brandLogo)
public VoucherDisplayInfoModify brandName(String brandName)
public void setBrandName(String brandName)
public VoucherDisplayInfoModify customerServiceMobile(String customerServiceMobile)
@Nullable public String getCustomerServiceMobile()
public void setCustomerServiceMobile(String customerServiceMobile)
public VoucherDisplayInfoModify customerServiceUrl(String customerServiceUrl)
public void setCustomerServiceUrl(String customerServiceUrl)
public VoucherDisplayInfoModify voucherComment(String voucherComment)
@Nullable public String getVoucherComment()
public void setVoucherComment(String voucherComment)
public VoucherDisplayInfoModify voucherDescription(String voucherDescription)
@Nullable public String getVoucherDescription()
public void setVoucherDescription(String voucherDescription)
public VoucherDisplayInfoModify voucherDetailImages(List<String> voucherDetailImages)
public VoucherDisplayInfoModify addVoucherDetailImagesItem(String voucherDetailImagesItem)
@Nullable public List<String> getVoucherDetailImages()
public VoucherDisplayInfoModify voucherImage(String voucherImage)
@Nullable public String getVoucherImage()
public void setVoucherImage(String voucherImage)
public VoucherDisplayInfoModify 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 VoucherDisplayInfoModifypublic static VoucherDisplayInfoModify fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherDisplayInfoModifypublic String toJson()
Copyright © 2024. All rights reserved.