aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <marcin@zelent.net>2021-02-21 14:13:49 +0100
committermarcinzelent <marcin@zelent.net>2019-12-20 14:21:37 +0100
commitb1eb36d3fbc5012b07489454a7452e8488507f6a (patch)
treef6a9e6e561eabde5b06366a6aeac78df123ca917 /Adapters
Initial commitHEADmaster
Diffstat (limited to 'Adapters')
-rw-r--r--Adapters/IPayment.cs9
-rw-r--r--Adapters/MastercardPayment.cs13
-rw-r--r--Adapters/MastercardPaymentAdapter.cs13
-rw-r--r--Adapters/VisaPayment.cs13
4 files changed, 48 insertions, 0 deletions
diff --git a/Adapters/IPayment.cs b/Adapters/IPayment.cs
new file mode 100644
index 0000000..c07b7e5
--- /dev/null
+++ b/Adapters/IPayment.cs
@@ -0,0 +1,9 @@
+using KukaPizza.Models;
+
+namespace KukaPizza.Adapters
+{
+public interface IPayment
+ {
+ void Pay(double price);
+ }
+} \ No newline at end of file
diff --git a/Adapters/MastercardPayment.cs b/Adapters/MastercardPayment.