summaryrefslogtreecommitdiff
path: root/DesignPatterns/src/app/DesignPatterns.State/IPosTerminal.cs
blob: 0e65d89f4acd731e38e424b1bbd2a44d494ba9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace DesignPatterns.State {
	public interface IPosTerminal {
		void SwipeCard( string cardNumber );

		void EnterAmount( double amount );

		void EnterPin( string pin );

		void AuthorizeTransaction( );

		void PrintReceipt( );

		void ProcessTransaction( );

		IState CurrentState { get; set; }

		IPosTransaction Transaction { get; set; }
	}
}