package com.yeshi.fanli.service.inter.money.msg;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail.MsgTypeMoneyTypeEnum;
|
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
|
import com.yeshi.fanli.entity.bus.user.Extract;
|
|
/**
|
* 用户资金消息通知
|
*
|
* @author Administrator
|
*
|
*/
|
public interface UserMoneyMsgNotificationService {
|
|
/**
|
* 提现申请
|
*
|
* @param extract
|
*/
|
public void extractApplay(Extract extract);
|
|
/**
|
* 提现失败
|
*
|
* @param extract
|
* @param stateDesc
|
*/
|
public void extractFail(Extract extract, String stateDesc);
|
|
|
/**
|
* 提现成功
|
* @Title: extractSuccess
|
* @Description:
|
* @param extract
|
* @param alipayNo 支付宝流水号
|
* void 返回类型
|
* @throws
|
*/
|
public void extractSuccess(Extract extract, String alipayNo);
|
|
/**
|
* 支付宝账号验证
|
*
|
* @param history
|
* @param limitDay 限制时间
|
* @param change 是否为修改 true 修改 false 首次绑定
|
*/
|
public void alipayAccountValid(AlipayAccountValidNormalHistory history, String limitDay, boolean change);
|
|
/**
|
* 付宝账号验证失败
|
* @param history
|
* @param limitDay
|
* @param change
|
*/
|
public void alipayAccountValidFail(AlipayAccountValidNormalHistory history, int limitDay, boolean change);
|
|
|
|
/**
|
* 返利订单到账
|
*
|
* @param uid
|
* @param orderId
|
* @param goodsCount
|
* @param money
|
* @param balance
|
*/
|
public void fanliOrderReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money,
|
BigDecimal balance, Date downTime);
|
|
/**
|
* 返利订单维权
|
* @Title: fanliOrderWeiQuan
|
* @Description:
|
* @param uid 用户ID
|
* @param orderId -订单号
|
* @param orderType -订单类型
|
* @param money -维权扣除金额
|
* @param fanliMoney -返利金额
|
* @param goodsCount 商品数量
|
* @param downTime 下单时间
|
* void 返回类型
|
* @throws
|
*/
|
public void fanliOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money, BigDecimal fanliMoney, int goodsCount, Date downTime);
|
|
/**
|
* 分享赚订单到账
|
*
|
* @param uid
|
* @param orderCount
|
* @param goodsCount
|
* @param money
|
* @param balance
|
*/
|
public void shareOrderReceived(Long uid, int orderType, int orderCount, int goodsCount, BigDecimal money,
|
BigDecimal balance, String orderId, Date downTime);
|
|
|
|
/**
|
* 分享订单维权
|
* @Title: shareOrderWeiQuan
|
* @Description:
|
* @param uid
|
* @param orderId -订单号
|
* @param orderType 订单类型
|
* @param money 维权金额
|
* @param fanliMoney 返利金额
|
* @param goodsCount -商品数量
|
* @param downTime 下单时间
|
* void 返回类型
|
* @throws
|
*/
|
|
public void shareOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money,BigDecimal fanliMoney, int goodsCount, Date downTime);
|
|
|
|
/**
|
* 系统补齐
|
*
|
* @param uid
|
* @param reason
|
* @param money
|
* @param balance
|
*/
|
public void systemEqualize(Long uid, String reason, BigDecimal money, BigDecimal balance);
|
|
|
/**
|
* 红包消息
|
*/
|
public void redPackMsg(Long uid, MsgTypeMoneyTypeEnum type, String content, String beiZhu);
|
|
/**
|
* 红包消息-队友奖励
|
*/
|
public void teamRedPackRewardMsg(Long uid, MsgTypeMoneyTypeEnum type, BigDecimal money, String stateDesc,String content);
|
|
|
/**
|
* 团队收益消息
|
* @param uid
|
* @param money 本次到账金额
|
* @param balance 余额
|
* @param receivedDate 结算月度
|
*/
|
public void teamReceive(Long uid, BigDecimal money, BigDecimal balance, Date receivedDate);
|
|
/**
|
* 使用奖励券
|
* @param uid
|
* @param orderId
|
* @param orderType
|
* @param goodsCount
|
* @param money
|
* @param balance
|
* @param downTime
|
*/
|
public void rewardCounponReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money,
|
BigDecimal balance, Date downTime);
|
|
|
|
}
|