package com.yeshi.fanli.service.inter.shop;
|
|
import java.math.BigDecimal;
|
|
import com.yeshi.fanli.exception.redpack.RedPackBalanceException;
|
import com.yeshi.fanli.exception.shop.BanLiShopOrderException;
|
|
/**
|
* 板栗商城订单服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface BanLiShopOrderPayService {
|
|
/**
|
* 订单支付(用红包)
|
*
|
* @param orderId
|
* @throws BanLiShopOrderException
|
* @throws RedPackBalanceException
|
*/
|
public void payOrderByHongBao(Long orderId) throws BanLiShopOrderException, RedPackBalanceException;
|
|
/**
|
* 订单支付(用现金)
|
*
|
* @param orderId
|
* @throws BanLiShopOrderException
|
*/
|
public void payOrderByMoney(Long orderId, BigDecimal money) throws BanLiShopOrderException;
|
|
/**
|
* 订单退款
|
*
|
* @param orderId
|
* @throws BanLiShopOrderException
|
*/
|
public void refund(Long orderId) throws BanLiShopOrderException;
|
|
/**
|
* 充值(按照订单号)
|
*
|
* @param orderId
|
* @throws BanLiShopOrderException
|
*/
|
public void charge(Long orderId) throws BanLiShopOrderException;
|
}
|