Class IdDocument
- Namespace
- BoldSign.Model.IdVerification
- Assembly
- BoldSign.Api.dll
The id verification document details.
[DataContract]
public class IdDocument- Inheritance
- 
      
      IdDocument
- Inherited Members
Constructors
IdDocument(string, string, string, string, string, Address, Date, Date, Date, List<string>, string)
Initializes a new instance of the IdDocument class.
public IdDocument(string type = null, string firstName = null, string lastName = null, string country = null, string documentNumber = null, Address address = null, Date dob = null, Date issuedDate = null, Date expirationDate = null, List<string> documentFiles = null, string selfieFile = null)Parameters
- typestring
- Gets or sets the type. 
- firstNamestring
- Gets or sets the first name. 
- lastNamestring
- Gets or sets the last name. 
- countrystring
- Gets or sets the country. 
- documentNumberstring
- Gets or sets the document number. 
- addressAddress
- Gets or sets the address. 
- dobDate
- Gets or sets the date of birth. 
- issuedDateDate
- Gets or sets the issued date. 
- expirationDateDate
- Gets or sets the expiration date. 
- documentFilesList<string>
- Gets or sets the document files. 
- selfieFilestring
- Gets or sets the selfie file. 
Properties
Address
Gets or sets the address.
[DataMember(Name = "address", EmitDefaultValue = false)]
public Address Address { get; set; }Property Value
Country
Gets or sets the country.
[DataMember(Name = "country", EmitDefaultValue = false)]
public string Country { get; set; }Property Value
Dob
Gets or sets the date of birth.
[DataMember(Name = "dob", EmitDefaultValue = false)]
public Date Dob { get; set; }Property Value
DocumentFiles
Gets or sets the document files.
[DataMember(Name = "documentFiles", EmitDefaultValue = false)]
public List<string> DocumentFiles { get; set; }Property Value
DocumentNumber
Gets or sets the document number.
[DataMember(Name = "documentNumber", EmitDefaultValue = false)]
public string DocumentNumber { get; set; }Property Value
ExpirationDate
Gets or sets the expiration date.
[DataMember(Name = "expirationDate", EmitDefaultValue = false)]
public Date ExpirationDate { get; set; }Property Value
FirstName
Gets or sets the first name.
[DataMember(Name = "firstName", EmitDefaultValue = false)]
public string FirstName { get; set; }Property Value
IssuedDate
Gets or sets the issued date.
[DataMember(Name = "issuedDate", EmitDefaultValue = false)]
public Date IssuedDate { get; set; }Property Value
LastName
Gets or sets the last name.
[DataMember(Name = "lastName", EmitDefaultValue = false)]
public string LastName { get; set; }Property Value
SelfieFile
Gets or sets the selfie file.
[DataMember(Name = "selfieFile", EmitDefaultValue = false)]
public string SelfieFile { get; set; }Property Value
Type
Gets or sets the type.
[DataMember(Name = "type", EmitDefaultValue = false)]
public string Type { get; set; }Property Value
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()Returns
- string
- JSON string presentation of the object.