| 1234567891011121314151617181920 |
- using System.Collections.Generic;
- using System.Threading.Tasks;
- namespace Essensoft.AspNetCore.Payment.Alipay
- {
- /// <summary>
- /// Alipay 通知解析客户端。
- /// </summary>
- public interface IAlipayNotifyClient
- {
- /// <summary>
- /// 执行 Alipay 通知请求解析。
- /// </summary>
- /// <typeparam name="T">领域对象</typeparam>
- /// <param name="parameters">通知参数</param>
- /// <param name="options">配置选项</param>
- /// <returns>领域对象</returns>
- Task<T> ExecuteAsync<T>(IDictionary<string, string> parameters, AlipayOptions options) where T : AlipayNotify;
- }
- }
|