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

com.zopen.alipay.pay.dto.constant.AlipayTradeStateEnum Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.zopen.alipay.pay.dto.constant;

/**
 * 支付宝订单交易状态
 *
 * @author [email protected]
 * @since 2019/8/24
 */
public enum AlipayTradeStateEnum {

    // 交易创建,等待买家付款
    WAIT_BUYER_PAY("交易创建", false),

    // 交易支付成功
    TRADE_SUCCESS("支付成功", true),

    // 交易结束,不可退款
    TRADE_FINISHED("交易完成", true),

    // 未付款交易超时关闭,或支付完成后全额退款
    TRADE_CLOSED("交易关闭", true);

    private String desc;
    private Boolean notify;

    AlipayTradeStateEnum(String desc, Boolean notify) {
        this.desc = desc;
        this.notify = notify;
    }

    public String getDesc() {
        return desc;
    }

    public Boolean getNotify() {
        return notify;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy