com.zopen.wechat.pay.dto.constant.TradeStateEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.wechat.pay.dto.constant;
/**
* 订单交易状态
*
* @author [email protected]
* @since 2019/8/24
*/
public enum TradeStateEnum {
SUCCESS("支付成功"),
REFUND("转入退款"),
NOTPAY("未支付"),
CLOSED("已关闭"),
REVOKED("已撤销(刷卡支付)"),
USERPAYING("用户支付中"),
PAYERROR("支付失败(其他原因,如银行返回失败)");
private String desc;
TradeStateEnum(String desc) {
this.desc = desc;
}
public String getDesc() {
return desc;
}
}