package com.nuvole.util.enums;
|
|
public enum QdlTradeStatus {
|
SUCCESS("SUCCESS", "交易成功", "下单、退款"),
|
FAIL("FAIL", "交易失败", "下单、退款"),
|
WAITFORPAY("WAITFORPAY", "订单中间状态 下单:等待支付 退款:处理中", "下单、退款"),
|
CLOSE("CLOSE", "订单超时关闭", "下单"),
|
REFUNDED("REFUNDED", "已全部退款", "退款"),
|
REFUNDING("REFUNDING", "部分退款", "退款"),
|
REVOKED("REVOKED", "订单已撤销", "撤销"),
|
REVOKING("REVOKING", "订单撤销中", "撤销");
|
|
private String code;
|
private String name;
|
/**
|
* 作用域
|
*/
|
private String scope;
|
|
private QdlTradeStatus(String code, String name, String scope) {
|
this.code = code;
|
this.name = name;
|
this.scope = scope;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getScope() {
|
return scope;
|
}
|
|
public void setScope(String scope) {
|
this.scope = scope;
|
}
|
}
|