public class CustomEntrance extends Object
卡详情页面,可选择多种入口引导用户。
| Modifier and Type | Field and Description |
|---|---|
private String |
appid
商户公众号appid
|
private BusiFavorCodeDisplayMode |
codeDisplayMode
code展示模式
|
private String |
hallId
营销馆id
|
private MiniProgramsInfo |
miniProgramsInfo
小程序入口
|
private String |
storeId
可用门店id
|
| Constructor and Description |
|---|
CustomEntrance(String storeId,
String hallId,
MiniProgramsInfo miniProgramsInfo,
String appid,
BusiFavorCodeDisplayMode codeDisplayMode) |
| Modifier and Type | Method and Description |
|---|---|
CustomEntrance |
appid(String appid)
Sets appid.
|
CustomEntrance |
codeDisplayMode(BusiFavorCodeDisplayMode codeDisplayMode)
Sets code display mode.
|
CustomEntrance |
hallId(String hallId)
Sets hall id.
|
CustomEntrance |
miniProgramsInfo(MiniProgramsInfo miniProgramsInfo)
Sets mini programs info.
|
CustomEntrance |
storeId(String storeId)
Store id custom entrance.
|
private String storeId
不可修改项
private String hallId
private MiniProgramsInfo miniProgramsInfo
private String appid
从券详情可跳转至公众号
private BusiFavorCodeDisplayMode codeDisplayMode
CustomEntrance(String storeId, String hallId, MiniProgramsInfo miniProgramsInfo, String appid, BusiFavorCodeDisplayMode codeDisplayMode)
public CustomEntrance storeId(String storeId)
storeId - the store idpublic CustomEntrance hallId(String hallId)
hallId - the hall idpublic CustomEntrance miniProgramsInfo(MiniProgramsInfo miniProgramsInfo)
miniProgramsInfo - the mini programs infopublic CustomEntrance appid(String appid)
appid - the appidpublic CustomEntrance codeDisplayMode(BusiFavorCodeDisplayMode codeDisplayMode)
codeDisplayMode - the code display modeCopyright © 2023. All rights reserved.