package com.xingxi.common.mq.constant;

/**
 * @ClassName OrderMqKey
 * @projectName xingxi
 * @Deacription
 * @Author FZ.Dong
 * @Date 2020/9/15 15:51
 * @Version 1.0
 **/
public interface OrderMqKey {

    /**
     * 订单消息交换机
     */
    String EDIT_EXCHANGE = "mq.exchange.topic.xingxi.order";

    /**
     *  订单生成路由KEY
     */
    String EDIT_ROUTE_FOR_CREATED = "mq.route.xingxi.order.created";

    /**
     *  支付完成路由KEY
     */
    String EDIT_ROUTE_FOR_PAYED = "mq.route.xingxi.order.payed";

    /**
     * 取消路由KEY
     */
    String EDIT_ROUTE_FOR_CANCELED = "mq.route.xingxi.order.canceled";

    /**
     * 发货路由KEY
     */
    String EDIT_ROUTE_FOR_DELIVERED = "mq.route.xingxi.order.delivered";

    /**
     * 发货取消路由KEY
     */
    String EDIT_ROUTE_FOR_DELIVERY_CANCELED = "mq.route.xingxi.order.delivery.canceled";

    /**
     * 订单售后路由KEY
     */
    String EDIT_ROUTE_FOR_AFTER_SALE = "mq.route.xingxi.order.after.sale";

    /**
     * 退货完成路由KEY
     */
    String EDIT_ROUTE_FOR_RETURNED = "mq.route.xingxi.order.returned";

    /**
     * 订单完成路由KEY
     */
    String EDIT_ROUTE_FOR_FINISHED = "mq.route.xingxi.order.finished";


    //=====================================订单订阅队列===========================================================
    /**
     * 订单生成
     */
    String EDIT_QUEUE_ORDER_FOR_CREATED = "mq.queue.xingxi.order.created";

    /**
     * 支付完成-订单订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_PAYED = "mq.queue.xingxi.order.payed";

    /**
     * 订单取消-清分订单订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_CANCELED = "mq.queue.xingxi.order.canceled";

    /**
     * 退货完成-订单成订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_AFTER_SALE = "mq.queue.xingxi.order.after.sale";

    /**
     * 退货完成-订单成订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_RETURNED = "mq.queue.xingxi.order.returned";

    /**
     * 退货完成-订单成订阅队列
     */
    String EDIT_QUEUE_ORDER_RETURNED_FOR_REFUND = "mq.queue.xingxi.order.returned.refund";

    /**
     * 订单完成-订单订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_FINISHED = "mq.queue.xingxi.order.finished";

    /**
     * 订单取消-订单订阅队列
     */
    String EDIT_QUEUE_ORDER_FOR_CANCELLED = "mq.queue.xingxi.order.cancelled";

    //=====================================清分订单订阅队列===========================================================
    /**
     * 支付完成-清分订单订阅队列
     */
    String EDIT_QUEUE_CLEAR_FOR_PAYED = "mq.queue.xingxi.clear.order.payed";

    /**
     * 订单取消-清分订单订阅队列
     */
    String EDIT_QUEUE_CLEAR_FOR_CANCELED = "mq.queue.xingxi.clear.order.canceled";

    /**
     * 退货完成-清分订单成订阅队列
     */
    String EDIT_QUEUE_CLEAR_FOR_RETURNED = "mq.queue.xingxi.clear.order.returned";

    /**
     * 订单完成-清分订单订阅队列
     */
    String EDIT_QUEUE_CLEAR_FOR_FINISHED = "mq.queue.xingxi.clear.order.finished";


    //=====================================推广者佣金订阅队列===========================================================
    /**
     * 支付完成-推广者佣金订阅队列
     */
    String EDIT_QUEUE_COMMISSION_FOR_PAYED = "mq.queue.xingxi.commission.order.payed";

    /**
     * 订单取消-推广者佣金订阅队列
     */
    String EDIT_QUEUE_COMMISSION_FOR_CANCELED = "mq.queue.xingxi.commission.order.canceled";

    /**
     * 退货完成-推广者佣金订阅队列
     */
    String EDIT_QUEUE_COMMISSION_FOR_RETURNED = "mq.queue.xingxi.commission.order.returned";

    /**
     * 订单完成-推广者佣金订阅队列
     */
    String EDIT_QUEUE_COMMISSION_FOR_FINISHED = "mq.queue.xingxi.commission.order.finished";


    //=====================================发票订单订阅队列===========================================================
    /**
     * 支付完成-发票订单订阅队列
     */
    String EDIT_QUEUE_INVOICE_FOR_PAYED = "mq.queue.xingxi.invoice.order.payed";

    /**
     * 订单取消-发票订单订阅队列
     */
    String EDIT_QUEUE_INVOICE_FOR_CANCELED = "mq.queue.xingxi.invoice.order.canceled";

    /**
     * 退货完成-发票订单订阅队列
     */
    String EDIT_QUEUE_INVOICE_FOR_RETURNED = "mq.queue.xingxi.invoice.order.returned";

    /**
     * 订单完成-发票订单订阅队列
     */
    String EDIT_QUEUE_INVOICE_FOR_FINISHED = "mq.queue.xingxi.invoice.order.finished";


    //===========================================延迟============================================================
    /**
     * 订单消息交换机(延迟)
     */
    String EDIT_EXCHANGE_DELAY = "mq.exchange.topic.xingxi.delay.order";

    /**
     *  订单生成路由KEY
     */
    String EDIT_ROUTE_DELAY_FOR_CREATED = "mq.route.xingxi.delay.order.created";

    /**
     * 超时未支付订阅队列
     */
    String EDIT_QUEUE_DELAY_FOR_UNPAID = "mq.queue.xingxi.delay.order.unpaid";
}
