@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PaymentVoucherDisplayInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PaymentVoucherDisplayInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BRAND_NAME |
static String |
SERIALIZED_NAME_CUSTOMER_SERVICE_MOBILE |
static String |
SERIALIZED_NAME_VOUCHER_DESCRIPTION |
static String |
SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES |
static String |
SERIALIZED_NAME_VOUCHER_IMAGE |
| 构造器和说明 |
|---|
PaymentVoucherDisplayInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
PaymentVoucherDisplayInfo |
addVoucherDetailImagesItem(String voucherDetailImagesItem) |
PaymentVoucherDisplayInfo |
brandName(String brandName) |
PaymentVoucherDisplayInfo |
customerServiceMobile(String customerServiceMobile) |
boolean |
equals(Object o) |
static PaymentVoucherDisplayInfo |
fromJson(String jsonString)
Create an instance of PaymentVoucherDisplayInfo 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 |
getBrandName()
商户品牌名称。
|
String |
getCustomerServiceMobile()
商家客服电话,会展示在支付宝卡包券详情页。
|
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 限制 1.voucher_image填入,该值才能填入; 2.最多3张;
|
String |
getVoucherImage()
券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值 限制: 该字段在兑换券场景下必传 上传图片尺寸670*335,支持格式:png、jpg、jpeg、bmp,大小不超过2MB 限制: 1.指定可核销商品(available_goods)时必传
|
int |
hashCode() |
PaymentVoucherDisplayInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBrandName(String brandName) |
void |
setCustomerServiceMobile(String customerServiceMobile) |
void |
setVoucherDescription(String voucherDescription) |
void |
setVoucherDetailImages(List<String> voucherDetailImages) |
void |
setVoucherImage(String voucherImage) |
String |
toJson()
Convert an instance of PaymentVoucherDisplayInfo 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
|
PaymentVoucherDisplayInfo |
voucherDescription(String voucherDescription) |
PaymentVoucherDisplayInfo |
voucherDetailImages(List<String> voucherDetailImages) |
PaymentVoucherDisplayInfo |
voucherImage(String voucherImage) |
public static final String SERIALIZED_NAME_CUSTOMER_SERVICE_MOBILE
public static final String SERIALIZED_NAME_VOUCHER_DESCRIPTION
public static final String SERIALIZED_NAME_VOUCHER_DETAIL_IMAGES
public PaymentVoucherDisplayInfo brandName(String brandName)
public void setBrandName(String brandName)
public PaymentVoucherDisplayInfo customerServiceMobile(String customerServiceMobile)
@Nullable public String getCustomerServiceMobile()
public void setCustomerServiceMobile(String customerServiceMobile)
public PaymentVoucherDisplayInfo voucherDescription(String voucherDescription)
@Nullable public String getVoucherDescription()
public void setVoucherDescription(String voucherDescription)
public PaymentVoucherDisplayInfo voucherDetailImages(List<String> voucherDetailImages)
public PaymentVoucherDisplayInfo addVoucherDetailImagesItem(String voucherDetailImagesItem)
@Nullable public List<String> getVoucherDetailImages()
public PaymentVoucherDisplayInfo voucherImage(String voucherImage)
@Nullable public String getVoucherImage()
public void setVoucherImage(String voucherImage)
public PaymentVoucherDisplayInfo 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 PaymentVoucherDisplayInfopublic static PaymentVoucherDisplayInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PaymentVoucherDisplayInfopublic String toJson()
Copyright © 2024. All rights reserved.