- if (type == AssuranceType.FACE_TO_FACE) {
- assureF2F(assurer, assuree, assureeName, awarded, location, date, country);
- } else if (type == AssuranceType.NUCLEUS) {
- assureNucleus(assurer, assuree, assureeName, awarded, location, date, country);
- } else if (type == AssuranceType.TTP_ASSISTED) {
- assureTTP(assurer, assuree, assureeName, awarded, location, date, country);
+ if (type == VerificationType.FACE_TO_FACE) {
+ verifyF2F(agent, applicant, applicantName, awarded, location, date, country);
+ } else if (type == VerificationType.NUCLEUS) {
+ verifyNucleus(agent, applicant, applicantName, awarded, location, date, country);
+ } else if (type == VerificationType.TTP_ASSISTED) {
+ verifyTTP(agent, applicant, applicantName, awarded, location, date, country);