//
//  VFYIDSuccess.m
//  Verif-y
//
//  Created by MTN on 17/10/20.
//

#import "VFYIDSuccess.h"
#import "VFYDeviceTypes.h"


@implementation VFYIDSuccess

@synthesize firstNameEditedFlag, lastNameEditedFlag, genderEditedFlag, idDocumentNumberEditedFlag, documentTypeEditedFlag, selfieCompareFlag;
@synthesize dateOfBirthEditedFlag, dateOfExpireEditedFlag, nationEditedFlag, addressEditedFlag, issuerEditedFlag;
@synthesize extractedFirstName, extractedLastName, extractedGender, extractedIdDocumentNumber, extractedDocumentType, extractedDateOfBirth, extractedDateOfExpire, extractedNation, extractedAddress, extractedIssuer;
@synthesize editedFirstName, editedLastName, editedGender, editedIdDocumentNumber, editedDocumentType, editedDateOfBirth;
@synthesize editedDateOfExpire, editedNation, editedAddress, editedIssuer, selfieCompareMessage;
@synthesize isCard, isID, isSuccessful;
@synthesize faceImage, documentFrontImage, documentBackImage;
@synthesize dateOfBirthScore;

- (id)init {
    self = [super init];
    if (self) {
        /** initialization default value */
        firstNameEditedFlag = false;
        lastNameEditedFlag = false;
        genderEditedFlag = false;
        idDocumentNumberEditedFlag = false;
        documentTypeEditedFlag = false;
        dateOfBirthEditedFlag = false;
        dateOfExpireEditedFlag = false;
        nationEditedFlag = false;
        addressEditedFlag = false;
        issuerEditedFlag = false;
        selfieCompareFlag = false;
        isCard = false;
        isSuccessful = false;
        isID = true;

        documentFrontImage = documentBackImage = @"";
        extractedFirstName = editedFirstName = @"";
        extractedLastName = editedLastName = @"";
        extractedGender = editedGender = @"";
        extractedIdDocumentNumber = editedIdDocumentNumber = @"";
        extractedDocumentType = editedDocumentType = @"";
        extractedDateOfBirth = editedDateOfBirth = @"";
        extractedDateOfExpire = editedDateOfExpire = @"";
        extractedNation = editedNation = @"";
        extractedAddress = editedAddress = @"";
        extractedIssuer = editedIssuer = @"";
        selfieCompareMessage = @"";
        
    }
    
    /*self.firstNameEditedFlag = false;
    self.lastNameEditedFlag = false;
    self.genderEditedFlag = false;
    self.documentNumberEditedFlag = false;
    self.documentTypeEditedFlag = false;
    self.dateOfBirthEditedFlag = false;
    self.dateOfExpireEditedFlag = false;
    self.nationEditedFlag = false;
    self.addressEditedFlag = false;
    self.issuerEditedFlag = false; */
    
    /*self.firstName = self.editedFirstName = @"";
    self.lastName = self.editedLastName = @"";
    self.gender = self.editedGender = @"";
    self.documentNumber = self.editedDocumentNumber = @"";
    self.documentType = self.editedDocumentType = @"";
    self.dateOfBirth = self.editedDateOfBirth = @"";
    self.dateOfExpire = self.editedDateOfExpire = @"";
    self.nation = self.editedNation = @"";
    self.address = self.editedAddress = @"";
    self.issuer = self.editedIssuer = @"";
    */
    return self;
}

- (void)dealloc {
  // Should never be called, but just here for clarity really.
}

@end
