Esempio n. 1
0
 /// <summary>
 /// Modify balance or account limits
 /// </summary>
 /// <param name="account">the account to be modified</param>
 /// <param name="accountBalance">modified AccountBalance object to be saved</param>
 /// <returns>AccountBalance object for the updated account as returned by the server</returns>
 public async Task <FigoAccountBalance> UpdateAccountBalance(FigoAccount account, FigoAccountBalance accountBalance)
 {
     return(await UpdateAccountBalance(account.AccountId, accountBalance));
 }
Esempio n. 2
0
 /// <summary>
 /// Modify balance or account limits
 /// </summary>
 /// <param name="accountId">ID of the account to be modified</param>
 /// <param name="accountBalance">modified AccountBalance object to be saved</param>
 /// <returns>AccountBalance object for the updated account as returned by the server</returns>
 public async Task <FigoAccountBalance> UpdateAccountBalance(String accountId, FigoAccountBalance accountBalance)
 {
     return(await this.DoRequest <FigoAccountBalance>("/rest/accounts/" + accountId + "/balance", "PUT", accountBalance));
 }