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.

63 lines
1.8 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Transfast.Model.Sender
  7. {
  8. public class TFAmendSenderRequest
  9. {
  10. public string Address { get; set; }
  11. public string PhoneMobile { get; set; }
  12. public string PhoneHome { get; set; }
  13. public string PhoneWork { get; set; }
  14. public string CityId { get; set; }
  15. public string StateId { get; set; }
  16. public string CountryIsoCode { get; set; }
  17. public string ZipCode { get; set; }
  18. public bool IsIndividual { get; set; }
  19. public string Email { get; set; }
  20. public string TypeOfId { get; set; }
  21. public string IdNumber { get; set; }
  22. private string _IdExpiryDate;
  23. public string IdExpiryDate
  24. {
  25. get
  26. {
  27. if (!string.IsNullOrWhiteSpace(_IdExpiryDate))
  28. {
  29. return Convert.ToDateTime(_IdExpiryDate).ToString("yyyy-MM-ddTHH:mm:sszzz");
  30. }
  31. else
  32. {
  33. return null;
  34. }
  35. }
  36. set { _IdExpiryDate = value; }
  37. }
  38. public string NationalityIsoCode { get; set; }
  39. public string SenderOccupations { get; set; }
  40. private string _DateOfBirth;
  41. public string DateOfBirth
  42. {
  43. get
  44. {
  45. if (!string.IsNullOrWhiteSpace(_DateOfBirth))
  46. {
  47. return Convert.ToDateTime(_DateOfBirth).ToString("yyyy-MM-ddTHH:mm:sszzz");
  48. }
  49. else
  50. {
  51. return null;
  52. }
  53. }
  54. set { _DateOfBirth = value; }
  55. }
  56. }
  57. }