Table of Contents

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 string

Gets or sets the type.

firstName string

Gets or sets the first name.

lastName string

Gets or sets the last name.

country string

Gets or sets the country.

documentNumber string

Gets or sets the document number.

address Address

Gets or sets the address.

dob Date

Gets or sets the date of birth.

issuedDate Date

Gets or sets the issued date.

expirationDate Date

Gets or sets the expiration date.

documentFiles List<string>

Gets or sets the document files.

selfieFile string

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

Address

Country

Gets or sets the country.

[DataMember(Name = "country", EmitDefaultValue = false)]
public string Country { get; set; }

Property Value

string

Dob

Gets or sets the date of birth.

[DataMember(Name = "dob", EmitDefaultValue = false)]
public Date Dob { get; set; }

Property Value

Date

DocumentFiles

Gets or sets the document files.

[DataMember(Name = "documentFiles", EmitDefaultValue = false)]
public List<string> DocumentFiles { get; set; }

Property Value

List<string>

DocumentNumber

Gets or sets the document number.

[DataMember(Name = "documentNumber", EmitDefaultValue = false)]
public string DocumentNumber { get; set; }

Property Value

string

ExpirationDate

Gets or sets the expiration date.

[DataMember(Name = "expirationDate", EmitDefaultValue = false)]
public Date ExpirationDate { get; set; }

Property Value

Date

FirstName

Gets or sets the first name.

[DataMember(Name = "firstName", EmitDefaultValue = false)]
public string FirstName { get; set; }

Property Value

string

IssuedDate

Gets or sets the issued date.

[DataMember(Name = "issuedDate", EmitDefaultValue = false)]
public Date IssuedDate { get; set; }

Property Value

Date

LastName

Gets or sets the last name.

[DataMember(Name = "lastName", EmitDefaultValue = false)]
public string LastName { get; set; }

Property Value

string

SelfieFile

Gets or sets the selfie file.

[DataMember(Name = "selfieFile", EmitDefaultValue = false)]
public string SelfieFile { get; set; }

Property Value

string

Type

Gets or sets the type.

[DataMember(Name = "type", EmitDefaultValue = false)]
public string Type { get; set; }

Property Value

string

Methods

ToJson()

Returns the JSON string presentation of the object.

public virtual string ToJson()

Returns

string

JSON string presentation of the object.