using System.Collections.Generic;
namespace PaySharp.Core
{
public interface IGateways
{
///
/// 添加网关
///
/// 网关
///
bool Add(BaseGateway gateway);
///
/// 获取指定网关
///
/// 网关类型
///
BaseGateway Get();
///
/// 通过AppId获取网关
///
/// 网关类型
/// AppId
///
BaseGateway Get(string appId);
///
/// 获取网关列表
///
///
ICollection GetList();
}
}