AlipayEcoPrinterStatusNotifyModel.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using Newtonsoft.Json;
  3. namespace Essensoft.AspNetCore.Payment.Alipay.Domain
  4. {
  5. /// <summary>
  6. /// AlipayEcoPrinterStatusNotifyModel Data Structure.
  7. /// </summary>
  8. [Serializable]
  9. public class AlipayEcoPrinterStatusNotifyModel : AlipayObject
  10. {
  11. /// <summary>
  12. /// 签名
  13. /// </summary>
  14. [JsonProperty("eprint_sign")]
  15. public string EprintSign { get; set; }
  16. /// <summary>
  17. /// 终端号
  18. /// </summary>
  19. [JsonProperty("machine_code")]
  20. public string MachineCode { get; set; }
  21. /// <summary>
  22. /// 授权类型:0=自有应用授权;1=开放应用授权
  23. /// </summary>
  24. [JsonProperty("oauth_type")]
  25. public long OauthType { get; set; }
  26. /// <summary>
  27. /// 打印机终端状态 1=在线 2=缺纸 0=离线
  28. /// </summary>
  29. [JsonProperty("online")]
  30. public long Online { get; set; }
  31. /// <summary>
  32. /// 回调时间
  33. /// </summary>
  34. [JsonProperty("push_time")]
  35. public string PushTime { get; set; }
  36. }
  37. }