#1196 增加微信卡券类型的枚举
This commit is contained in:
committed by
Binary Wang
parent
de191a9c2f
commit
34aea1916d
@@ -227,16 +227,6 @@ public class BaseInfo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@SerializedName("promotion_app_brand_pass")
|
@SerializedName("promotion_app_brand_pass")
|
||||||
private String promotionAppBrandPass;
|
private String promotionAppBrandPass;
|
||||||
/**
|
|
||||||
* 小程序的user_name,
|
|
||||||
*/
|
|
||||||
@SerializedName("activate_app_brand_user_name")
|
|
||||||
private String activateAppBrandUserName;
|
|
||||||
/**
|
|
||||||
* 激活小程序页面地址
|
|
||||||
*/
|
|
||||||
@SerializedName("activate_app_brand_pass")
|
|
||||||
private String activateAppBrandPass;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user