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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Transfast.Model.Sender
{
public class TFAmendSenderRequest
{
public string Address { get; set; }
public string PhoneMobile { get; set; }
public string PhoneHome { get; set; }
public string PhoneWork { get; set; }
public string CityId { get; set; }
public string StateId { get; set; }
public string CountryIsoCode { get; set; }
public string ZipCode { get; set; }
public bool IsIndividual { get; set; }
public string Email { get; set; }
public string TypeOfId { get; set; }
public string IdNumber { get; set; }
private string _IdExpiryDate;
public string IdExpiryDate
{
get
{
if (!string.IsNullOrWhiteSpace(_IdExpiryDate))
{
return Convert.ToDateTime(_IdExpiryDate).ToString("yyyy-MM-ddTHH:mm:sszzz");
}
else
{
return null;
}
}
set { _IdExpiryDate = value; }
}
public string NationalityIsoCode { get; set; }
public string SenderOccupations { get; set; }
private string _DateOfBirth;
public string DateOfBirth
{
get
{
if (!string.IsNullOrWhiteSpace(_DateOfBirth))
{
return Convert.ToDateTime(_DateOfBirth).ToString("yyyy-MM-ddTHH:mm:sszzz");
}
else
{
return null;
}
}
set { _DateOfBirth = value; }
}
}
}