using System;
using System.Threading.Tasks;
using PaySharp.Core.Exceptions;
using PaySharp.Core.Utils;
namespace PaySharp.Core
{
///
/// 网关返回的支付通知数据的接受
///
public class Notify
{
#region 私有字段
private readonly IGateways _gateways;
#endregion
#region 构造函数
///
/// 初始化支付通知
///
/// 用于验证支付网关返回数据的网关列表
public Notify(IGateways gateways)
{
_gateways = gateways;
}
#endregion
#region 事件
///
/// 网关异步返回的支付通知验证成功时触发
///
public event Func