From b1eb36d3fbc5012b07489454a7452e8488507f6a Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 21 Feb 2021 14:13:49 +0100 Subject: Initial commit --- Adapters/MastercardPayment.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Adapters/MastercardPayment.cs (limited to 'Adapters/MastercardPayment.cs') 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 -- cgit v1.2.3