mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-02 20:02:37 +08:00
#1196 增加微信卡券类型的枚举
This commit is contained in:
parent
de191a9c2f
commit
34aea1916d
@ -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() {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user