package com.sckw.payment.api.dubbo;

import com.sckw.payment.api.model.constant.ChannelEnum;
import com.sckw.payment.api.model.dto.MemberDetail;
import com.sckw.payment.api.model.dto.WalletDto;
import com.sckw.payment.api.model.dto.common.R;

import java.util.List;

public interface PayCenterDubboService {
    /**
     * 获取会员详情
     *
     * @param entId   企业id
     * @param channel 渠道
     * @return
     */
    R<MemberDetail> memberDetail(Long entId, ChannelEnum channel);

    /**
     * 钱包清单
     *
     * @param payEntId     付款方企业id
     * @param channel 支付渠道
     * @param receiveEntId  收款方企业id
     * @return
     */
    R<List<WalletDto>> wallet(Long payEntId, ChannelEnum channel, Long receiveEntId);
}
