59 lines
2.0 KiB
C#
59 lines
2.0 KiB
C#
using System;
|
|
|
|
namespace Knoks.Api.Client.Invoker
|
|
{
|
|
public class CreateUserArgs
|
|
{
|
|
public int UserTypeId { get; set; }
|
|
|
|
// User Details
|
|
public string Email { get; set; }
|
|
public string Password { get; set; }
|
|
public int CountryId { get; set; }
|
|
public byte LanguageId { get; set; }
|
|
|
|
// Personal Details
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public DateTime BirthDate { get; set; }
|
|
public string Address { get; set; }
|
|
public string City { get; set; }
|
|
public string Gender { get; set; }
|
|
public string ZipCode { get; set; }
|
|
public string PhonePrefix { get; set; }
|
|
public string Phone { get; set; }
|
|
public bool IsUSTaxEntity { get; set; }
|
|
public bool KYCApproved { get; set; }
|
|
public bool PhoneVerified { get; set; }
|
|
public bool MailVerfied { get; set; }
|
|
public bool TermsOfServiceChecked { get; set; }
|
|
public string CreateOrigin { get; set; }
|
|
public string Source { get; set; }
|
|
}
|
|
|
|
public class User
|
|
{
|
|
public long UserId { get; set; }
|
|
public DateTime RegistrationDate { get; set; }
|
|
public byte BusinessTypeId { get; set; }
|
|
public short RegulationEntityId { get; set; }
|
|
public string Username { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public string Gender { get; set; }
|
|
public string Email { get; set; }
|
|
public string Phone { get; set; }
|
|
|
|
public bool IsTest { get; set; }
|
|
|
|
//DateTime? DateOfBirthday { get; set; }
|
|
public string Address { get; set; }
|
|
public string City { get; set; }
|
|
public string State { get; set; }
|
|
public string PostCode { get; set; }
|
|
public bool? NewsletterApproval { get; set; }
|
|
public string CountryCode2 { get; set; }
|
|
public string LanguageCode { get; set; }
|
|
}
|
|
}
|