package com.liquidnet.service.dragon.channel.alipay.constant;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: AlipayConstant
 * @Package com.liquidnet.service.dragon.channel.alipay.constant
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2021/7/13 20:52
 */
public class AlipayConstant {
    public enum AlipayTradeStateEnum {
        TRADE_CLOSED ("TRADE_CLOSED","交易关闭"),
        TRADE_FINISHED ("TRADE_FINISHED","支付完成"),

        TRADE_SUCCESS ("TRADE_SUCCESS","支付成功"),
        WAIT_BUYER_PAY ("WAIT_BUYER_PAY","交易创建"),

        FAIL("","支付失败");

        private String code;
        private String message;
        AlipayTradeStateEnum(String code, String message) {
            this.code = code;
            this.message = message;
        }

        public String getCode() {
            return code;
        }
    }
}
