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
type
stringGets or sets the type.
firstName
stringGets or sets the first name.
lastName
stringGets or sets the last name.
country
stringGets or sets the country.
documentNumber
stringGets or sets the document number.
address
AddressGets or sets the address.
dob
DateGets or sets the date of birth.
issuedDate
DateGets or sets the issued date.
expirationDate
DateGets or sets the expiration date.
documentFiles
List<string>Gets or sets the document files.
selfieFile
stringGets 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.