summaryrefslogtreecommitdiff
path: root/DesignPatterns/src/app/DesignPatterns.Factory/Interfaces/IMoney.cs
blob: c5392aed52712c329273dcfcb7996ae83aa47277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using DesignPatterns.Factory;

namespace DesignPatterns.Factory {
	public interface IMoney {
		double Amount { get; }

		ICurrency TypeOfCurrency { get; }

		IMoney Add( IMoney other );

		IMoney Subtract( IMoney money );
	}
}