@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherDisplayPatternInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherDisplayPatternInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BRAND_LOGO |
static String |
SERIALIZED_NAME_BRAND_LOGO_URL |
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_DESCRIPTION |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_IMAGE_URLS |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES |
static String |
SERIALIZED_NAME_VOUCHER_IMAGE |
static String |
SERIALIZED_NAME_VOUCHER_IMAGE_URL |
static String |
SERIALIZED_NAME_VOUCHER_NAME |
| 构造器和说明 |
|---|
VoucherDisplayPatternInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherDisplayPatternInfo |
addVoucherDetailImagesItem(String voucherDetailImagesItem) |
VoucherDisplayPatternInfo |
addVoucherDetailImageUrlsItem(String voucherDetailImageUrlsItem) |
VoucherDisplayPatternInfo |
brandLogo(String brandLogo) |
VoucherDisplayPatternInfo |
brandLogoUrl(String brandLogoUrl) |
VoucherDisplayPatternInfo |
brandName(String brandName) |
VoucherDisplayPatternInfo |
customerServiceMobile(String customerServiceMobile) |
VoucherDisplayPatternInfo |
customerServiceUrl(String customerServiceUrl) |
boolean |
equals(Object o) |
static VoucherDisplayPatternInfo |
fromJson(String jsonString)
Create an instance of VoucherDisplayPatternInfo 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 |
getBrandLogoUrl()
商家品牌logo链接
|
String |
getBrandName()
商户品牌名称。
|
String |
getCustomerServiceMobile()
客服电话。
|
String |
getCustomerServiceUrl()
客服链接。
|
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。
|
List<String> |
getVoucherDetailImageUrls()
券详情链接
|
String |
getVoucherImage()
券详情页封面图,会展示在用户支付宝卡包券详情页。
|
String |
getVoucherImageUrl()
券封面链接
|
String |
getVoucherName()
券名称。
|
int |
hashCode() |
VoucherDisplayPatternInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBrandLogo(String brandLogo) |
void |
setBrandLogoUrl(String brandLogoUrl) |
void |
setBrandName(String brandName) |
void |
setCustomerServiceMobile(String customerServiceMobile) |
void |
setCustomerServiceUrl(String customerServiceUrl) |
void |
setVoucherDescription(String voucherDescription) |
void |
setVoucherDetailImages(List<String> voucherDetailImages) |
void |
setVoucherDetailImageUrls(List<String> voucherDetailImageUrls) |
void |
setVoucherImage(String voucherImage) |
void |
setVoucherImageUrl(String voucherImageUrl) |
void |
setVoucherName(String voucherName) |
String |
toJson()
Convert an instance of VoucherDisplayPatternInfo 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
|
VoucherDisplayPatternInfo |
voucherDescription(String voucherDescription) |
VoucherDisplayPatternInfo |
voucherDetailImages(List<String> voucherDetailImages) |
VoucherDisplayPatternInfo |
voucherDetailImageUrls(List<String> voucherDetailImageUrls) |
VoucherDisplayPatternInfo |
voucherImage(String voucherImage) |
VoucherDisplayPatternInfo |
voucherImageUrl(String voucherImageUrl) |
VoucherDisplayPatternInfo |
voucherName(String voucherName) |
public static final String SERIALIZED_NAME_BRAND_LOGO_URL
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_DESCRIPTION
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_IMAGE_URLS
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES
public static final String SERIALIZED_NAME_VOUCHER_IMAGE_URL
public VoucherDisplayPatternInfo brandLogo(String brandLogo)
@Nullable public String getBrandLogo()
public void setBrandLogo(String brandLogo)
public VoucherDisplayPatternInfo brandLogoUrl(String brandLogoUrl)
public void setBrandLogoUrl(String brandLogoUrl)
public VoucherDisplayPatternInfo brandName(String brandName)
public void setBrandName(String brandName)
public VoucherDisplayPatternInfo customerServiceMobile(String customerServiceMobile)
@Nullable public String getCustomerServiceMobile()
public void setCustomerServiceMobile(String customerServiceMobile)
public VoucherDisplayPatternInfo customerServiceUrl(String customerServiceUrl)
public void setCustomerServiceUrl(String customerServiceUrl)
public VoucherDisplayPatternInfo voucherDescription(String voucherDescription)
@Nullable public String getVoucherDescription()
public void setVoucherDescription(String voucherDescription)
public VoucherDisplayPatternInfo voucherDetailImageUrls(List<String> voucherDetailImageUrls)
public VoucherDisplayPatternInfo addVoucherDetailImageUrlsItem(String voucherDetailImageUrlsItem)
@Nullable public List<String> getVoucherDetailImageUrls()
public void setVoucherDetailImageUrls(List<String> voucherDetailImageUrls)
public VoucherDisplayPatternInfo voucherDetailImages(List<String> voucherDetailImages)
public VoucherDisplayPatternInfo addVoucherDetailImagesItem(String voucherDetailImagesItem)
@Nullable public List<String> getVoucherDetailImages()
public VoucherDisplayPatternInfo voucherImage(String voucherImage)
@Nullable public String getVoucherImage()
public void setVoucherImage(String voucherImage)
public VoucherDisplayPatternInfo voucherImageUrl(String voucherImageUrl)
public void setVoucherImageUrl(String voucherImageUrl)
public VoucherDisplayPatternInfo voucherName(String voucherName)
public void setVoucherName(String voucherName)
public VoucherDisplayPatternInfo 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 VoucherDisplayPatternInfopublic static VoucherDisplayPatternInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherDisplayPatternInfopublic String toJson()
Copyright © 2024. All rights reserved.