From 021dd4d9372cefca383f7a0be558b6bac73e59cd Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Wed, 22 Sep 2021 14:27:40 +1000 Subject: [PATCH] 9.3.3.1 Defining the Interface; Listing 9-14 The Contents of the IOrderProcessor.cs File --- .../SportsStore.Domain/Abstract/IOrderProcessor.cs | 14 ++++++++++++++ .../SportsStore.Domain/SportsStore.Domain.csproj | 1 + 2 files changed, 15 insertions(+) create mode 100644 SportsStore/SportsStore.Domain/Abstract/IOrderProcessor.cs diff --git a/SportsStore/SportsStore.Domain/Abstract/IOrderProcessor.cs b/SportsStore/SportsStore.Domain/Abstract/IOrderProcessor.cs new file mode 100644 index 0000000..3ccbe13 --- /dev/null +++ b/SportsStore/SportsStore.Domain/Abstract/IOrderProcessor.cs @@ -0,0 +1,14 @@ +using SportsStore.Domain.Entities; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportsStore.Domain.Abstract +{ + interface IOrderProcessor + { + void ProcessOrder(Cart cart, ShippingDetails shippingDetails); + } +} diff --git a/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj b/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj index a774924..c22dbda 100644 --- a/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj +++ b/SportsStore/SportsStore.Domain/SportsStore.Domain.csproj @@ -72,6 +72,7 @@ +