public string ResetCredentials() { RestServiceInvocator restobj = new RestServiceInvocator(); string resp = restobj.resetCredentials(); return(resp); }
public MatchWithBvnResp MatchWithBvn(string Bvn, string Position, string ISOTemplate) { RestServiceInvocator restobj = new RestServiceInvocator(); var resp = restobj.MatchWithBvn(Bvn, Position, ISOTemplate); return(resp); }
public string GenerateCredentials(string bvn) { RestServiceInvocator restobj = new RestServiceInvocator(); string resp = restobj.GenerateCredentials(bvn); return(resp); }
public string sendAPing() { RestServiceInvocator restServiceObj = new RestServiceInvocator(); string pingResp = restServiceObj.sendAPing(); return(pingResp); }
public string postForexPurchaseSummaryToNibss(string bvnBeneficiary, string bvnApplicant, string bvnApplicantAccount, int transactionType, string purpose, double amount, double rate, string requestDate, string requestId, string passportNumber) { RestServiceInvocator restServiceObj = new RestServiceInvocator(); string reqId = utility.generateRequestId(); //PurchaseInfoRecord transObj = SetARecord(bvnBeneficiary, bvnApplicant, bvnApplicantAccount, transactionType, purpose, amount, rate, requestDate, requestId, passportNumber); PurchaseInfoRecord transObj = SetARecord(bvnBeneficiary, bvnApplicant, bvnApplicantAccount, transactionType, purpose, amount, rate, requestDate, reqId, passportNumber); string response = restServiceObj.SendPurchaseInfoSummaryToNibss(transObj); return(response); }
public string validateBVNforForex(string applicantsBVN, string beneficiaryBVN) { RestServiceInvocator restServiceObj = new RestServiceInvocator(); BVNRecord transObj = new BVNRecord() { bvnApplicant = applicantsBVN, //"22222222280", bvnBeneficiary = beneficiaryBVN // "22222222280" }; string pingResp = restServiceObj.validateBVNforForex(transObj); return(pingResp); }
public string retrieveCustomerPurchaseSummary(string applicantsBVN, string applicantsAccount) { BVNRecord2 transObj = new BVNRecord2() { bvnApplicant = applicantsBVN, bvnApplicantAccount = applicantsAccount }; RestServiceInvocator restServiceObj = new RestServiceInvocator(); string response = restServiceObj.retrieveCustomerPurchaseSummary(transObj); return(response); }