/// <summary> /// Remove the stored PIN for a bank (if there was one) /// </summary> /// <param name="bank">bank whose pin should be removed</param> public async Task <bool> RemoveBankPin(FigoBank bank) { return(await RemoveBankPin(bank.BankId)); }
/// <summary> /// Modify a bank /// </summary> /// <param name="bank">modified bank object to be saved</param> /// <returns>Bank object for the updated bank</returns> public async Task <FigoBank> UpdateBank(FigoBank bank) { return(await this.DoRequest <FigoBank>("/rest/banks/" + bank.BankId, "PUT", bank)); }