package com.seer.teach.pay.app.merchant.service;

import com.seer.teach.pay.entity.PayOrderEntity;
import com.seer.teach.pay.entity.RefundOrderEntity;

public interface IMerchantEarningsService {

    /**
     * 商家收益结算
     * @param payOrder 支付订单
     */
    void settleMerchantEarnings(PayOrderEntity payOrder);
    
    /**
     * 商家收益退款处理
     * @param refundOrder 退款订单
     */
    void refundMerchantEarnings(RefundOrderEntity refundOrder);
}