#1196 增加微信卡券类型的枚举

This commit is contained in:
chenyixin8854 2019-09-09 13:37:06 +08:00 committed by Binary Wang
parent de191a9c2f
commit 34aea1916d
2 changed files with 25 additions and 10 deletions

View File

@ -227,16 +227,6 @@ public class BaseInfo implements Serializable {
*/
@SerializedName("promotion_app_brand_pass")
private String promotionAppBrandPass;
/**
* 小程序的user_name,
*/
@SerializedName("activate_app_brand_user_name")
private String activateAppBrandUserName;
/**
* 激活小程序页面地址
*/
@SerializedName("activate_app_brand_pass")
private String activateAppBrandPass;
@Override
public String toString() {

View File

@ -0,0 +1,25 @@
package me.chanjar.weixin.mp.enums;
/**
* @description: 微信卡券类型
* @author: chenyixin
* @create: 2019-09-07 23:33
**/
public enum WxCardType {
MEMBER_CARD("MEMBER_CARD"),
GROUPON("GROUPON"),
CASH("CASH"),
DISCOUNT("DISCOUNT"),
GIFT("GIFT"),
GENERAL_COUPON("GENERAL_COUPON");
private String code;
WxCardType(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}