package com.yc.ship.module.trade.enums;

/**
 * &#064;Description ：交易Mq常量
 * &#064;Author ：qsl
 * &#064;Date ：2025/6/21 09:23
 */
public class TradeMqConstants {

    /**
     * 订单交换机
     * 发布消息：订单创建成功、订单创建失败、支付超时、支付成功
     */
    public static final String EXCHANGE_ORDER = "exchange_trade_order";

    public static final String ROUTE_CREATE_SUCCESS ="trade.order.create.success";
    public static final String ROUTE_CREATE_FAIL ="trade.order.create.fail";
    public static final String ROUTE_PAY_TIMEOUT ="trade.order.pay.timeout";
    public static final String ROUTE_PROCESS_SUCCESS ="trade.order.process.success";
    public static final String ROUTE_PROCESS_FAIL ="trade.order.process.fail";
    public static final String ROUTE_SUPPLIER_REFUND_SUCCESS ="trade.supplier.refund.success";
    public static final String ROUTE_REFUND_AUDIT ="trade.refund.audit";

    public static final String ROUTE_CHECK_ORDER_SUCCESS ="trade.check.order.success";
    public static final String ROUTE_CHECK_VOUCHER_SUCCESS ="trade.check.voucher.success";
    public static final String ROUTE_CHECK_VOUCHER_BASE_SUCCESS ="trade.check.voucher.base.success";
    public static final String DELAY_ROUTE_CHECK_NOTIFY ="delay.trade.check.notify";
    public static final String DL_ROUTE_ORDER_CHECK ="dl.trade.order.check";

    public static final String DL_EXCHANGE_ORDER = "dl_exchange_trade_order";

    public static final String DL_ROUTE_ORDER_PAY ="dl.trade.order.pay";
    public static final String DL_ROUTE_ORDER_CONFIRM ="dl.trade.order.confirm";
    public static final String DELAY_ROUTE_ORDER_PAY ="delay.trade.order.pay";
    public static final String DELAY_ROUTE_ORDER_CONFIRM ="delay.trade.order.confirm";

    public static final String DL_ROUTE_UPDATE_ORDER_STATUS ="dl.trade.update.order.status";
    public static final String DELAY_ROUTE_UPDATE_ORDER_STATUS ="delay.trade.update.order.status";

    public static final String MARKETING_ORDER_AUDIT ="MARKETING.ORDER.AUDIT";

    public static final String DL_OTA_PRODUCT_PRICE_STOCK ="dl.ota.product.price.stock";
    public static final String DELAY_OTA_PRODUCT_PRICE_STOCK ="delay.ota.product.price.stock";

    public static final String DL_EXCHANGE_INSURANCE ="dl_exchange_insurance";

    public static final String DL_INSURANCE_QUERY ="dl.trade.insurance.query";
}
