TongLianResponseV2.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Fuel.Infrastructure.Payment.Models.AllInPay
  8. {
  9. public class TongLianResponseV2
  10. {
  11. public string amount { get; set; }
  12. public string bizCode { get; set; }
  13. public string bizMsg { get; set; }
  14. public string bizOrderNo { get; set; }
  15. public string createTime { get; set; }
  16. public string code { get; set; }
  17. public string finishTime { get; set; }
  18. public string msg { get; set; }
  19. public string oldBizOrderNo { get; set; }
  20. public string orderNo { get; set; }
  21. public string payInfo { get; set; }
  22. public string payStatus { get; set; }
  23. public string payStatusMsg { get; set; }
  24. public string payType { get; set; }
  25. public string remark { get; set; }
  26. public string shiftsMask { get; set; }
  27. public string shiftsTime { get; set; }
  28. public string sign { get; set; }
  29. public string sysId { get; set; }
  30. public string tradeDirection { get; set; }
  31. public string consumeTypes { get; set; }
  32. public override string ToString()
  33. {
  34. var sb = new StringBuilder();
  35. PropertyInfo[] properties = typeof(TongLianResponseV2).GetProperties();
  36. foreach (PropertyInfo property in properties)
  37. {
  38. sb.Append($"{property.Name}: {property.GetValue(this)}\n");
  39. }
  40. return sb.ToString();
  41. }
  42. }
  43. }