# -*- encoding: utf-8 -*-
"""
@File    : OrderEnum.py
@Time    : 2023/2/7 9:09
@Author  : stephen
@Email   : zhangdongming@asj6.wecom.work
@Software: PyCharm
"""
from enum import IntEnum, unique


@unique
class OrderTypeEnum(IntEnum):
    WAIT = 0  # 待支付
    SUCCESS = 1  # 支付成功
    CANCEL = 2  # 取消支付
    REFUND_FAIL = 4  # 退款失败
    REFUND = 5  # 全额退款
    REBATES = 6  # 部分退款
    PAYPAL_REFUND = 7  # PayPal已退款
    BEING_PROCESSED = 9  # 处理中
    FAIL = 10  # 支付失败


