public class DisplayPatternInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private CouponBgColor |
backgroundColor
背景颜色
|
private String |
couponImageUrl
券详情图片
需为850像素*350像素
图片大小不超过2M
支持JPG/PNG格式
仅支持通过 图片上传API 接口获取的图片URL地址。
|
private String |
description
使用须知
|
private WechatChannelInfo |
finderInfo
视频号信息
|
private String |
merchantLogoUrl
商户logo
商户logo大小需为120像素*120像素
支持JPG、JPEG、PNG格式,且图片小于1M
仅支持通过 图片上传API 接口获取的图片URL地址。
|
private String |
merchantName
商户名称,字数上限为16个
|
| Constructor and Description |
|---|
DisplayPatternInfo(CouponBgColor backgroundColor,
String merchantLogoUrl,
String couponImageUrl,
String description,
String merchantName,
WechatChannelInfo finderInfo)
Instantiates a new Display pattern info.
|
| Modifier and Type | Method and Description |
|---|---|
DisplayPatternInfo |
backgroundColor(CouponBgColor backgroundColor)
Background color display pattern info.
|
DisplayPatternInfo |
couponImageUrl(String couponImageUrl)
Coupon image url display pattern info.
|
DisplayPatternInfo |
description(String description)
Description display pattern info.
|
DisplayPatternInfo |
finderInfo(WechatChannelInfo finderInfo)
Finder info display pattern info.
|
DisplayPatternInfo |
merchantLogoUrl(String merchantLogoUrl)
Merchant logo url display pattern info.
|
DisplayPatternInfo |
merchantName(String merchantName)
Merchant name display pattern info.
|
private CouponBgColor backgroundColor
private String merchantLogoUrl
private String couponImageUrl
private String description
用于说明详细的活动规则,会展示在代金券详情页。
示例值:xxx门店可用
private String merchantName
private WechatChannelInfo finderInfo
DisplayPatternInfo(CouponBgColor backgroundColor, String merchantLogoUrl, String couponImageUrl, String description, String merchantName, WechatChannelInfo finderInfo)
backgroundColor - the background colormerchantLogoUrl - the merchant logo urlcouponImageUrl - the coupon image urldescription - the descriptionmerchantName - the merchant namefinderInfo - the finder infopublic DisplayPatternInfo backgroundColor(CouponBgColor backgroundColor)
backgroundColor - the background colorpublic DisplayPatternInfo merchantLogoUrl(String merchantLogoUrl)
merchantLogoUrl - the merchant logo urlpublic DisplayPatternInfo couponImageUrl(String couponImageUrl)
couponImageUrl - the coupon image urlpublic DisplayPatternInfo description(String description)
description - the descriptionpublic DisplayPatternInfo merchantName(String merchantName)
merchantName - the merchant namepublic DisplayPatternInfo finderInfo(WechatChannelInfo finderInfo)
finderInfo - the finder infoCopyright © 2023. All rights reserved.