com.fastchar.pay.interfaces.IFastBalanceOrderProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-pay Show documentation
Show all versions of fastchar-pay Show documentation
FastChar-Pay is a FastChar plugin.
The newest version!
package com.fastchar.pay.interfaces;
import com.fastchar.pay.entity.FinalPayOrderEntity;
public interface IFastBalanceOrderProvider {
/**
* 获取当前用户的余额
* @param orderEntity 订单对象
* @return 余额
*/
double getBalance(FinalPayOrderEntity orderEntity);
/**
* 判断当前用户的支付密码是否正确
* @param orderEntity 订单对象
* @param payPassword 支付密码
* @return 布尔值
*/
boolean validatePassword(FinalPayOrderEntity orderEntity, String payPassword);
}