com.fastchar.pay.interfaces.IFastBalanceProvider 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;
public interface IFastBalanceProvider {
/**
* 获取当前用户的余额
* @param userId 用户Id
* @return 余额
*/
double getBalance(int userId);
/**
* 判断当前用户的支付密码是否正确
* @param userId 用户Id
* @param payPassword 支付密码
* @return 布尔值
*/
boolean validatePassword(int userId, String payPassword);
}