mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#745 增加卡券失效接口,并修复会员卡是否支持微信支付和会员卡二维码的属性问题
* 1、增加卡券失效接口;修复会员卡是否支持微信支付和会员卡二维码的属性问题;
This commit is contained in:
@@ -56,6 +56,12 @@ public class AdvancedInfo implements Serializable {
|
||||
@SerializedName("time_limit")
|
||||
private TimeLimit timeLimit;
|
||||
|
||||
/**
|
||||
* 是否可以分享朋友
|
||||
*/
|
||||
@SerializedName("share_friends")
|
||||
private Boolean shareFriends;
|
||||
|
||||
public void addBusinessService(BusinessServiceType businessServiceType) {
|
||||
if (businessServiceType != null) {
|
||||
if (businessServiceList == null)
|
||||
|
||||
@@ -34,6 +34,12 @@ public class BaseInfo implements Serializable {
|
||||
@SerializedName("pay_info")
|
||||
private PayInfo payInfo;
|
||||
|
||||
/**
|
||||
* 是否设置该会员卡中部的按钮同时支持微信支付刷卡和会员卡二维码
|
||||
*/
|
||||
@SerializedName("is_pay_and_qrcode")
|
||||
private boolean isPayAndQrcode;
|
||||
|
||||
/**
|
||||
* 商户名字,字数上限为12个汉字
|
||||
*/
|
||||
|
||||
@@ -21,12 +21,6 @@ public class SwipeCard implements Serializable {
|
||||
@SerializedName("is_swipe_card")
|
||||
private boolean isSwipeCard;
|
||||
|
||||
/**
|
||||
* 是否设置该会员卡中部的按钮同时支持微信支付刷卡和会员卡二维码
|
||||
*/
|
||||
@SerializedName("is_pay_and_qrcode")
|
||||
private boolean isPayAndQrcode;
|
||||
|
||||
public String toString() {
|
||||
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user