mirror of https://github.com/elunez/eladmin
42 lines
693 B
Java
42 lines
693 B
Java
package me.zhengjie.utils;
|
|
|
|
/**
|
|
* 支付状态
|
|
* @author zhengjie
|
|
* @date 2018/08/01 16:45:43
|
|
*/
|
|
public enum AliPayStatusEnum {
|
|
|
|
/**
|
|
* 交易成功
|
|
*/
|
|
FINISHED("交易成功", "TRADE_FINISHED"),
|
|
|
|
/**
|
|
* 支付成功
|
|
*/
|
|
SUCCESS("支付成功", "TRADE_SUCCESS"),
|
|
|
|
/**
|
|
* 交易创建
|
|
*/
|
|
BUYER_PAY("交易创建", "WAIT_BUYER_PAY"),
|
|
|
|
/**
|
|
* 交易关闭
|
|
*/
|
|
CLOSED("交易关闭", "TRADE_CLOSED");
|
|
|
|
private String name;
|
|
private String value;
|
|
|
|
AliPayStatusEnum(String name, String value) {
|
|
this.name = name;
|
|
this.value = value;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
}
|