| Modifier and Type | Field and Description |
|---|---|
private Boolean |
bindOpenid
是否指定用户领取,填写true或false。默认为false
|
private String |
brandName
商户名字,字数上限为12个汉字
|
private Boolean |
canGiveFriend
卡券是否可转赠,默认为true
|
private Boolean |
canShare
卡券领取页面是否可分享,默认为true
|
private String |
centerSubTitle
显示在入口下方的提示语 , 仅在卡券激活后且可用状态时显示
|
private String |
centerTitle
卡券中部居中的按钮,仅在卡券激活后且可用状态 时显示
|
private String |
centerUrl
顶部居中的url ,仅在卡券激活后且可用状态时显示
|
private CardCodeType |
codeType
码型
|
private CardBgColor |
color
颜色
|
private String |
customUrl
自定义跳转的URL
|
private String |
customUrlName
自定义跳转外链的入口名字
|
private String |
customUrlSubTitle
显示在入口右侧的提示语
|
private DateInfo |
dateInfo
使用日期,有效期的信息
|
private String |
description
卡券使用说明,字数上限为1024个汉字。
|
private Integer |
getLimit
每人可领券的数量限制,建议会员卡每人限领一张
|
private Boolean |
isPayAndQrcode
是否设置该会员卡中部的按钮同时支持微信支付刷卡和会员卡二维码
|
private List<Integer> |
locationIdList
门店位置ID。调用 POI门店管理接口 获取门店位置ID
|
private String |
logoUrl
卡券的商户logo,建议像素为300*300
|
private Boolean |
needPushOnView
填写true为用户点击进入会员卡时推送事件,默认为false。详情见 进入会员卡事件推送
|
private String |
notice
卡券使用提醒,字数上限为16个汉字。
|
private PayInfo |
payInfo
支付功能结构体
|
private String |
promotionUrl
营销入口跳转外链的地址链接
|
private String |
promotionUrlName
营销场景的自定义入口名称
|
private String |
promotionUrlSubTitle
显示在营销入口右侧的提示语
|
private String |
servicePhone
客服电话
|
private Sku |
sku
商品信息
|
private CardStatus |
status
状态
|
private String |
title
卡券名,字数上限为9个汉字。(建议涵盖卡券属性、服务及金额)。
|
private Boolean |
useAllLocations
会员卡是否支持全部门店,填写后商户门店更新时会自动同步至卡券
|
private Boolean |
useCustomCode
是否自定义Code码。填写true或false,
默认为false 通常自有优惠码系统的开发者选择自定义Code码,详情见 是否自定义code
|
| Constructor and Description |
|---|
MemberCardBaseInfo(String logoUrl,
CardCodeType codeType,
String notice,
String description,
String brandName,
String title,
CardBgColor color,
DateInfo dateInfo,
PayInfo payInfo,
Sku sku,
Boolean isPayAndQrcode,
Boolean useCustomCode,
Boolean bindOpenid,
String servicePhone,
List<Integer> locationIdList,
Boolean useAllLocations,
String centerTitle,
String centerSubTitle,
String centerUrl,
String customUrlName,
String customUrl,
String customUrlSubTitle,
String promotionUrlName,
String promotionUrl,
String promotionUrlSubTitle,
Integer getLimit,
Boolean canShare,
Boolean canGiveFriend,
Boolean needPushOnView,
CardStatus status)
Instantiates a new Member card base info.
|
| Modifier and Type | Method and Description |
|---|---|
MemberCardBaseInfo |
bindOpenid(Boolean bindOpenid)
Bind openid base info.
|
MemberCardBaseInfo |
canGiveFriend(Boolean canGiveFriend)
Can give friend base info.
|
MemberCardBaseInfo |
canShare(Boolean canShare)
Can share base info.
|
MemberCardBaseInfo |
centerBtn(String centerTitle,
String centerSubTitle,
String centerUrl)
Center base info.
|
MemberCardBaseInfo |
customUrl(String customUrlName,
String customUrlSubTitle,
String customUrl)
Custom url base info.
|
MemberCardBaseInfo |
getLimit(Integer getLimit)
Gets limit.
|
MemberCardBaseInfo |
locationIdList(List<Integer> locationIdList)
Location id list base info.
|
MemberCardBaseInfo |
needPushOnView(Boolean needPushOnView)
Need push on view base info.
|
MemberCardBaseInfo |
payAndQrcode(Boolean payAndQrcode)
Pay and qrcode member card base info.
|
MemberCardBaseInfo |
payInfo(PayInfo payInfo)
Pay info member card base info.
|
MemberCardBaseInfo |
promotionUrl(String promotionUrlName,
String promotionUrlSubTitle,
String promotionUrl)
Promotion url base info.
|
MemberCardBaseInfo |
servicePhone(String servicePhone)
Service phone base info.
|
MemberCardBaseInfo |
useAllLocations(Boolean useAllLocations)
Use all locations base info.
|
MemberCardBaseInfo |
useCustomCode(Boolean useCustomCode)
Use custom code base info.
|
private final String brandName
private final String title
private final String logoUrl
private final CardCodeType codeType
private final String notice
private final String description
private final CardBgColor color
private final Sku sku
private final DateInfo dateInfo
private PayInfo payInfo
private Boolean isPayAndQrcode
private Boolean useCustomCode
private Boolean bindOpenid
private String servicePhone
private Boolean useAllLocations
private String centerTitle
private String centerSubTitle
private String centerUrl
private String customUrlName
private String customUrl
private String customUrlSubTitle
private String promotionUrlName
private String promotionUrl
private String promotionUrlSubTitle
private Integer getLimit
private Boolean canShare
private Boolean canGiveFriend
private Boolean needPushOnView
private CardStatus status
MemberCardBaseInfo(String logoUrl, CardCodeType codeType, String notice, String description, String brandName, String title, CardBgColor color, DateInfo dateInfo, PayInfo payInfo, Sku sku, Boolean isPayAndQrcode, Boolean useCustomCode, Boolean bindOpenid, String servicePhone, List<Integer> locationIdList, Boolean useAllLocations, String centerTitle, String centerSubTitle, String centerUrl, String customUrlName, String customUrl, String customUrlSubTitle, String promotionUrlName, String promotionUrl, String promotionUrlSubTitle, Integer getLimit, Boolean canShare, Boolean canGiveFriend, Boolean needPushOnView, CardStatus status)
logoUrl - the logo urlcodeType - the code typenotice - the noticedescription - the descriptionbrandName - the brand nametitle - the titlecolor - the colordateInfo - the date infopayInfo - the pay infosku - the skuisPayAndQrcode - the is pay and qrcodeuseCustomCode - the use custom codebindOpenid - the bind openidservicePhone - the service phonelocationIdList - the location id listuseAllLocations - the use all locationscenterTitle - the center titlecenterSubTitle - the center sub titlecenterUrl - the center urlcustomUrlName - the custom url namecustomUrl - the custom urlcustomUrlSubTitle - the custom url sub titlepromotionUrlName - the promotion url namepromotionUrl - the promotion urlpromotionUrlSubTitle - the promotion url sub titlegetLimit - the get limitcanShare - the can sharecanGiveFriend - the can give friendneedPushOnView - the need push on viewstatus - the statuspublic MemberCardBaseInfo payInfo(PayInfo payInfo)
payInfo - the pay infopublic MemberCardBaseInfo payAndQrcode(Boolean payAndQrcode)
payAndQrcode - the pay and qrcodepublic MemberCardBaseInfo useCustomCode(Boolean useCustomCode)
useCustomCode - the use custom codepublic MemberCardBaseInfo bindOpenid(Boolean bindOpenid)
bindOpenid - the bind openidpublic MemberCardBaseInfo servicePhone(String servicePhone)
servicePhone - the service phonepublic MemberCardBaseInfo locationIdList(List<Integer> locationIdList)
locationIdList - the location id listpublic MemberCardBaseInfo useAllLocations(Boolean useAllLocations)
useAllLocations - the use all locationspublic MemberCardBaseInfo centerBtn(String centerTitle, String centerSubTitle, String centerUrl)
centerTitle - the center titlecenterSubTitle - the center sub titlecenterUrl - the center urlpublic MemberCardBaseInfo customUrl(String customUrlName, String customUrlSubTitle, String customUrl)
customUrlName - the custom url namecustomUrlSubTitle - the custom url sub titlecustomUrl - the custom urlpublic MemberCardBaseInfo promotionUrl(String promotionUrlName, String promotionUrlSubTitle, String promotionUrl)
promotionUrlName - the promotion url namepromotionUrlSubTitle - the promotion url sub titlepromotionUrl - the promotion urlpublic MemberCardBaseInfo getLimit(Integer getLimit)
getLimit - the get limitpublic MemberCardBaseInfo canShare(Boolean canShare)
canShare - the can sharepublic MemberCardBaseInfo canGiveFriend(Boolean canGiveFriend)
canGiveFriend - the can give friendpublic MemberCardBaseInfo needPushOnView(Boolean needPushOnView)
needPushOnView - the need push on viewCopyright © 2023. All rights reserved.