BalancedSharp.Marketplace.CreditNewBankAccount C# (CSharp) Метод

CreditNewBankAccount() публичный Метод

public CreditNewBankAccount ( int amount, BankAccount bankAccount, string>.Dictionary meta = null, string description = null ) : Status
amount int
bankAccount BankAccount
meta string>.Dictionary
description string
Результат Status
        public Status<Credit> CreditNewBankAccount(int amount, BankAccount bankAccount,
            Dictionary<string, string> meta = null, string description = null)
        {
            if (string.IsNullOrWhiteSpace(bankAccount.Name))
                throw new ArgumentNullException("BankAccount.Name");
            if (string.IsNullOrWhiteSpace(bankAccount.AccountNumber))
                throw new ArgumentNullException("BankAccount.AccountNumber");
            if (string.IsNullOrWhiteSpace(bankAccount.RoutingNumber))
                throw new ArgumentNullException("BankAccount.RoutingNumber");
            return this.Service.Credit.CreateNewBank(CreditsUri, amount, bankAccount.Name,
                bankAccount.AccountNumber, bankAccount.RoutingNumber, bankAccount.Type.ToString().ToLower(),
                meta, description);
        }