aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Adapters/MastercardPayment.cs')
-rw-r--r--Adapters/MastercardPayment.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Adapters/MastercardPayment.cs b/Adapters/MastercardPayment.cs
new file mode 100644
index 0000000..d6b7953
--- /dev/null
+++ b/Adapters/MastercardPayment.cs
@@ -0,0 +1,13 @@
+using System;
+using KukaPizza.Models;
+
+namespace KukaPizza.Adapters
+{
+ public class MasterCardPayment
+ {
+ public void PayWithMastercard(double price)
+ {
+ Console.WriteLine($"\nPaid {price} with Mastercard card.");
+ }
+ }
+} \ No newline at end of file