コード例 #1
0
ファイル: Util.cs プロジェクト: KreativJos/csharp-sdk
        public bool ValidateBankAccountNumber(string bankAccountNumber, bool international)
        {
            if (international)
            {
                var request = new BankAccountNumberInternational.Request
                {
                    BankAccountNumber = bankAccountNumber
                };

                Client.PerformRequest(request);

                return(request.Response.Result);
            }
            else
            {
                var request = new BankAccountNumber.Request
                {
                    BankAccountNumber = bankAccountNumber
                };

                Client.PerformRequest(request);

                return(request.Response.Result);
            }
        }
コード例 #2
0
ファイル: Util.cs プロジェクト: paynl/csharp-sdk
 public bool ValidateBankAccountNumber(string bankAccountNumber, bool international)
 {
     if (international)
     {
         BankAccountNumberInternational.Request request = new BankAccountNumberInternational.Request();
         request.BankAccountNumber = bankAccountNumber;
         Client.PerformRequest(request);
         return request.Response.result;
     }
     else
     {
         BankAccountNumber.Request request = new BankAccountNumber.Request();
         request.BankAccountNumber = bankAccountNumber;
         Client.PerformRequest(request);
         return request.Response.result;
     }
 }