KoubeiItemBatchqueryResponse.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using Newtonsoft.Json;
  2. using System.Xml.Serialization;
  3. using System.Collections.Generic;
  4. using Essensoft.AspNetCore.Payment.Alipay.Domain;
  5. namespace Essensoft.AspNetCore.Payment.Alipay.Response
  6. {
  7. /// <summary>
  8. /// KoubeiItemBatchqueryResponse.
  9. /// </summary>
  10. public class KoubeiItemBatchqueryResponse : AlipayResponse
  11. {
  12. /// <summary>
  13. /// 当前页码
  14. /// </summary>
  15. [JsonProperty("current_page_no")]
  16. [XmlElement("current_page_no")]
  17. public string CurrentPageNo { get; set; }
  18. /// <summary>
  19. /// 商品信息
  20. /// </summary>
  21. [JsonProperty("item_infos")]
  22. [XmlArray("item_infos")]
  23. [XmlArrayItem("item_query_response")]
  24. public List<ItemQueryResponse> ItemInfos { get; set; }
  25. /// <summary>
  26. /// 每页记录数
  27. /// </summary>
  28. [JsonProperty("page_size")]
  29. [XmlElement("page_size")]
  30. public string PageSize { get; set; }
  31. /// <summary>
  32. /// 总共商品数目
  33. /// </summary>
  34. [JsonProperty("total_items")]
  35. [XmlElement("total_items")]
  36. public string TotalItems { get; set; }
  37. /// <summary>
  38. /// 总页码数目
  39. /// </summary>
  40. [JsonProperty("total_page_no")]
  41. [XmlElement("total_page_no")]
  42. public string TotalPageNo { get; set; }
  43. }
  44. }