Modifier and Type | Class and Description |
---|---|
static class |
WxCard.Card.AdvancedInfo
创建优惠券特有的高级字段
非必填
1.高级字段为商户额外展示信息字段,非必填,但是填入某些结构体后,须填充完整方可显示:
如填入text_image_list结构体时,须同时传入image_url和text,否则也会报错;
2.填入时间限制字段(time_limit),只控制显示,不控制实际使用逻辑,不填默认不显示;
3.创建卡券时,开发者填入的时间戳须注意时间戳溢出时间,设置的时间戳须早于2038年1月19日;
4.预存code模式的卡券须设置quantity为0,导入code后方可增加库存;
5.卡券自定义cell跳转小程序支持的最低微信客户端版本为6.5.8,低版本用户仍然会跳转url,高版本会跳转小程序;
|
static class |
WxCard.Card.BaseInfo
基本的卡券数据,见下表,所有卡券通用。
|
static class |
WxCard.Card.Body |
static class |
WxCard.Card.Cash
代金券类型
|
static class |
WxCard.Card.Discount
折扣券
|
static class |
WxCard.Card.GeneralCoupon
优惠券
|
static class |
WxCard.Card.Gift
兑换券
|
static class |
WxCard.Card.GroupOn
团购券
|
static class |
WxCard.Card.MemberCard
会员卡
|
static class |
WxCard.Card.Type
卡券类型
|
Constructor and Description |
---|
Card() |
public WxCard.Card.Body getBody()
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.