| | |
| | | using Org.BouncyCastle.Ocsp; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | /// 农业银行支付基础回调 |
| | | /// </summary> |
| | | [XmlRoot("ap")] |
| | | public abstract class NongYePayZipResponse : NongYePayBaseResponse |
| | | { |
| | | /// <summary> |
| | | /// 文件标识 |
| | | /// </summary> |
| | | public string FileFlag { get; set; } |
| | | |
| | | public NongYePayGetEreceiptResponseCmp Cmp { get; set; } |
| | | |
| | | public List<NongYePayResponseZipFile> Items { get; set; } = []; |
| | | |
| | | public string ZipFileName { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 农业银行支付基础回调 |
| | | /// </summary> |
| | | [XmlRoot("ap")] |
| | | public abstract class NongYePayBaseResponse<T> : NongYePayBaseResponse |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public string BatchFileName { get; set; } |
| | | } |
| | | |
| | | public class NongYePayResponseZipFile |
| | | { |
| | | /// <summary> |
| | | /// 文件名 |
| | | /// </summary> |
| | | public string FileName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 流 |
| | | /// </summary> |
| | | public MemoryStream Stream { get; set; } |
| | | } |
| | | } |