topupWalletResponseObj.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using CommonObj.model;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace CommonObj.lotoModel
  7. {
  8. public class Result
  9. {
  10. [JsonProperty("phoneNumber")]
  11. public string PhoneNumber { get; set; }
  12. [JsonProperty("responseDescription")]
  13. public string ResponseDescription { get; set; }
  14. [JsonProperty("transactionId")]
  15. public string TransactionId { get; set; }
  16. [JsonProperty("responseCode")]
  17. public string ResponseCode { get; set; }
  18. public override string ToString()
  19. {
  20. return JsonConvert.SerializeObject(this);
  21. }
  22. }
  23. public class topupWalletResponseObj
  24. {
  25. [JsonProperty("partnerCode")]
  26. public string PartnerCode { get; set; }
  27. [JsonProperty("requestId")]
  28. public string RequestId { get; set; }
  29. [JsonProperty("requestTime")]
  30. public DateTime RequestTime { get; set; }
  31. [JsonProperty("responseTime")]
  32. public DateTime ResponseTime { get; set; }
  33. [JsonProperty("status")]
  34. public string Status { get; set; }
  35. [JsonProperty("message")]
  36. public string Message { get; set; }
  37. [JsonProperty("result")]
  38. public Result Result { get; set; }
  39. public override string ToString()
  40. {
  41. return JsonConvert.SerializeObject(this);
  42. }
  43. }
  44. }