banking-bot/BankingBot/Contracts/IClient.cs
Aaron Yarborough a39b20484f Changed login to not return respose
The login method now throws specific exceptions if something goes wrong during the login process. This is the ideal way for a developer using this API to handle errors.
2017-02-13 13:05:48 +00:00

16 lines
No EOL
319 B
C#

using System.Collections;
using System.Collections.Generic;
using BankingBot.Models;
using BankingBot.Responses;
namespace BankingBot.Contracts
{
public interface IClient
{
void Login(ILoginCredentials credentials);
decimal GetBalance();
IEnumerable<Account> GetAccounts();
}
}