
package com.tmerclub.cloud.api.multishop.feign;

import com.tmerclub.cloud.common.response.ServerResponseEntity;

/**
 * @author chiley
 * @date 2022/6/30 16:42
 */
public interface ShopWalletLogFeignClient {
    /**
     * 获取充值金额
     * @param shopWalletLogId 充值记录id
     * @return
     */
    ServerResponseEntity<Long> getPayAmount(Long shopWalletLogId);

    /**
     * 获取充值记录是否已经支付
     * @param shopWalletLogId 充值记录id
     * @return
     */
    ServerResponseEntity<Integer> getIsPay(Long shopWalletLogId);

    /**
     * 获取钱包记录获取是否采购时已经支付过余额
     * @param orderId
     * @return
     */
    ServerResponseEntity<Integer> getShopBalancePayIsPay(Long orderId);

    /**
     * 获取钱包记录获取是否已经在自行处理供应商订单时支付过余额
     * @param orderId
     * @return
     */
    ServerResponseEntity<Integer> getRefundShopBalancePayIsPay(Long orderId);
}
