Files
2015-06-18 10:52:10 +02:00

22 lines
541 B
C#

namespace StoreData
{
public interface IAccount
{
/// <summary>
/// Check the balance
/// </summary>
decimal Balance { get; }
/// <summary>
/// Add money to this account
/// </summary>
/// <param name="amount">The amount to add</param>
void Add(decimal amount);
/// <summary>
/// Remove money from this account
/// </summary>
/// <param name="amount">The amount to remove</param>
void Remove(decimal amount);
}
}