You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
3.2 KiB

1 year ago
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Common.Model
  5. {
  6. public class ReceiverV2
  7. {
  8. public string firstName { get; set; }
  9. public string middleName { get; set; }
  10. public string lastName { get; set; }
  11. public string localFirstName { get; set; }
  12. public string localMiddleName { get; set; }
  13. public string localLastName { get; set; }
  14. public string fullName { get; set; }
  15. public string localFullName { get; set; }
  16. public string mobile { get; set; }
  17. public string country { get; set; }
  18. public string countryId { get; set; }
  19. public string countryCode { get; set; }
  20. public string address { get; set; }
  21. public string state { get; set; }
  22. public string stateId { get; set; }
  23. public string city { get; set; }
  24. public string email { get; set; }
  25. public string relationship { get; set; }
  26. public string relationshipId { get; set; }
  27. public string district { get; set; }
  28. public string districtId { get; set; }
  29. public string purposeOfRemit { get; set; }
  30. public string purposeOfRemitId { get; set; }
  31. public string idTypeId { get; set; }
  32. public string idType { get; set; }
  33. public string idNumber { get; set; }
  34. public string deviceType { get; set; }
  35. //public ReceiverField receiver { get; set; }
  36. [JsonIgnore]
  37. public string payoutPartner { get; set; }
  38. [JsonIgnore]
  39. public string nativeCountry { get; set; }
  40. [JsonIgnore]
  41. public string nativeCountryCode { get; set; }
  42. [JsonIgnore]
  43. public string nativeCountryId { get; set; }
  44. [JsonIgnore]
  45. public bool hasVerifiedOTP { get; set; }
  46. [JsonIgnore]
  47. public string isPartnerChanged { get; set; }
  48. [JsonIgnore]
  49. public string isForceUpdate { get; set; }
  50. [JsonIgnore]
  51. public string ForceUpdateMsg { get; set; }
  52. public List<ReceiverPaymentMethod> PaymentMethods{ get; set; }
  53. [JsonIgnore]
  54. public string receiverId { get; set; }
  55. [JsonIgnore]
  56. public ReceiverInfoPaymentmethod paymentMethod { get; set; }
  57. [JsonIgnore]
  58. public ReceiverInfoAgent agent { get; set; }
  59. public string IsAccountValidationReq { get; set; }
  60. public string ApiBankCode { get; set; }
  61. }
  62. public class ReceiverPaymentMethod
  63. {
  64. public string receiverId { get; set; }
  65. public string id { get; set; }
  66. public string name { get; set; }
  67. public string localizedName { get; set; }
  68. public string[] currency { get; set; }
  69. public ReceiverInfoAgent agent { get; set; }
  70. public string payoutPartner { get; set; }
  71. public string nativeCountry { get; set; }
  72. public string nativeCountryCode { get; set; }
  73. public string nativeCountryId { get; set; }
  74. public bool hasVerifiedOTP { get; set; }
  75. public string isPartnerChanged { get; set; }
  76. public string isForceUpdate { get; set; }
  77. public string ForceUpdateMsg { get; set; }
  78. }
  79. }