All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.channel.enums.UserCouponStatus Maven / Gradle / Ivy

package me.chanjar.weixin.channel.enums;

/**
 * 视频号小店 用户优惠券状态
 *
 * @author Zeyes
 */
public enum UserCouponStatus {
  /** 100 生效中 */
  VALID(100, "生效中"),
  /** 101 已过期 */
  EXPIRED(101, "已过期"),
  /** 102 已使用 */
  USED(102, "已使用"),

  ;

  private final int key;
  private final String val;

  UserCouponStatus(int key, String val) {
    this.key = key;
    this.val = val;
  }

  public int getKey() {
    return key;
  }

  public String getVal() {
    return val;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy