示例#1
0
    public string ResetCredentials()
    {
        RestServiceInvocator restobj = new RestServiceInvocator();
        string resp = restobj.resetCredentials();

        return(resp);
    }
示例#2
0
    public MatchWithBvnResp MatchWithBvn(string Bvn, string Position, string ISOTemplate)
    {
        RestServiceInvocator restobj = new RestServiceInvocator();
        var resp = restobj.MatchWithBvn(Bvn, Position, ISOTemplate);

        return(resp);
    }
示例#3
0
    public string GenerateCredentials(string bvn)
    {
        RestServiceInvocator restobj = new RestServiceInvocator();
        string resp = restobj.GenerateCredentials(bvn);

        return(resp);
    }
示例#4
0
    public string sendAPing()
    {
        RestServiceInvocator restServiceObj = new RestServiceInvocator();

        string pingResp = restServiceObj.sendAPing();

        return(pingResp);
    }
示例#5
0
    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);
    }
示例#6
0
    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);
    }
示例#7
0
    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);
    }