mpsResponse.cs 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace CommonObj.model
  7. {
  8. public class mpsResponse
  9. {
  10. [JsonProperty("status")]
  11. public string status { get; set; }
  12. [JsonProperty("message")]
  13. public string message { get; set; }
  14. [JsonProperty("requestID")]
  15. public string requestID { get; set; }
  16. [JsonProperty("responseCode")]
  17. public string responseCode { get; set; }
  18. [JsonProperty("msisdn")]
  19. public string msisdn { get; set; }
  20. [JsonProperty("cmd")]
  21. public string cmd { get; set; }
  22. [JsonProperty("money")]
  23. public string money { get; set; }
  24. [JsonProperty("source")]
  25. public string source { get; set; }
  26. [JsonProperty("otpType")]
  27. public string otpType { get; set; }
  28. public override string ToString()
  29. {
  30. return JsonConvert.SerializeObject(this);
  31. }
  32. }
  33. }