AlipayCommerceAlideviceinfoOfflinecodeCreateModel.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using System.Text.Json.Serialization;
  2. namespace Essensoft.AspNetCore.Payment.Alipay.Domain
  3. {
  4. /// <summary>
  5. /// AlipayCommerceAlideviceinfoOfflinecodeCreateModel Data Structure.
  6. /// </summary>
  7. public class AlipayCommerceAlideviceinfoOfflinecodeCreateModel : AlipayObject
  8. {
  9. /// <summary>
  10. /// 绑定标识
  11. /// </summary>
  12. [JsonPropertyName("biz_tag")]
  13. public string BizTag { get; set; }
  14. /// <summary>
  15. /// 支付宝统一sdk获取的设备id
  16. /// </summary>
  17. [JsonPropertyName("biz_tid")]
  18. public string BizTid { get; set; }
  19. /// <summary>
  20. /// 业务场景,由支付宝定义
  21. /// </summary>
  22. [JsonPropertyName("biz_type")]
  23. public string BizType { get; set; }
  24. /// <summary>
  25. /// 机具物料id,由支付宝分配
  26. /// </summary>
  27. [JsonPropertyName("item_id")]
  28. public string ItemId { get; set; }
  29. /// <summary>
  30. /// 绑定商户pid
  31. /// </summary>
  32. [JsonPropertyName("merchant_pid")]
  33. public string MerchantPid { get; set; }
  34. /// <summary>
  35. /// 销售产品码
  36. /// </summary>
  37. [JsonPropertyName("product_code")]
  38. public string ProductCode { get; set; }
  39. /// <summary>
  40. /// 离线支付协议版本,与支付sdk协议版本保持一致
  41. /// </summary>
  42. [JsonPropertyName("protocol_version")]
  43. public string ProtocolVersion { get; set; }
  44. /// <summary>
  45. /// 设备sn号
  46. /// </summary>
  47. [JsonPropertyName("sn")]
  48. public string Sn { get; set; }
  49. /// <summary>
  50. /// 设备供应商id,由支付宝分配
  51. /// </summary>
  52. [JsonPropertyName("supplier_id")]
  53. public string SupplierId { get; set; }
  54. }
  55. }