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.

52 lines
1.5 KiB

  1. using System;
  2. namespace Transfast.Model.Compliance
  3. {
  4. public class ComplianceRequest
  5. {
  6. public string CountryIssueIsoCode { get; set; }
  7. public string StateIssueId { get; set; }
  8. public string ReceiverRelationship { get; set; }
  9. public string SourceOfFunds { get; set; }
  10. public string Ssn { get; set; }
  11. private string _SenderOccupation;
  12. public string SenderOccupation
  13. {
  14. get
  15. {
  16. if (!string.IsNullOrWhiteSpace(_SenderOccupation) && _SenderOccupation.Length > 30)
  17. {
  18. return _SenderOccupation.Substring(0, 29);
  19. }
  20. return _SenderOccupation;
  21. }
  22. set
  23. {
  24. _SenderOccupation = value;
  25. }
  26. }
  27. public string SenderEmployerName { get; set; }
  28. public string SenderEmployerAddress { get; set; }
  29. public string SenderEmployerPhone { get; set; }
  30. private string _ReceiverDateOfBirth;
  31. public string ReceiverDateOfBirth
  32. {
  33. get
  34. {
  35. if (!string.IsNullOrWhiteSpace(_ReceiverDateOfBirth))
  36. {
  37. return Convert.ToDateTime(_ReceiverDateOfBirth).ToString("yyyy-MM-ddTHH:mm:sszzz");
  38. }
  39. else
  40. {
  41. return null;
  42. }
  43. }
  44. set { _ReceiverDateOfBirth = value; }
  45. }
  46. public string ReceiverFullName { get; set; }
  47. }
  48. }