Selaa lähdekoodia

Added Invoice MYOB poster just for testing purposes

Kenric Nugteren 1 vuosi sitten
vanhempi
commit
72c864635b
2 muutettua tiedostoa jossa 24 lisäystä ja 0 poistoa
  1. 1 0
      prs.shared/PRS.Shared.csproj
  2. 23 0
      prs.shared/Posters/MYOB/InvoiceMYOBPoster.cs

+ 1 - 0
prs.shared/PRS.Shared.csproj

@@ -14,6 +14,7 @@
     <ProjectReference Include="..\..\inabox\inabox.mailer.exchange\InABox.Mailer.Exchange.csproj" />
     <ProjectReference Include="..\..\inabox\inabox.mailer.imap\InABox.Mailer.IMAP.csproj" />
     <ProjectReference Include="..\..\inabox\InABox.Poster.CSV\InABox.Poster.CSV.csproj" />
+    <ProjectReference Include="..\..\inabox\InABox.Poster.MYOB\InABox.Poster.MYOB.csproj" />
     <ProjectReference Include="..\..\inabox\InABox.Poster.Timberline\InABox.Poster.Timberline.csproj" />
     <ProjectReference Include="..\..\InABox\InABox.WPF\InABox.Wpf.csproj" />
     <ProjectReference Include="..\PRS.Classes\PRSClasses.csproj" />

+ 23 - 0
prs.shared/Posters/MYOB/InvoiceMYOBPoster.cs

@@ -0,0 +1,23 @@
+using Comal.Classes;
+using InABox.Core;
+using InABox.Poster.MYOB;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace PRS.Shared.Posters.MYOB;
+
+public class InvoiceMYOBPoster : IMYOBPoster<Invoice>
+{
+    public MYOBPosterSettings Settings { get; set; }
+    public MYOBGlobalPosterSettings GlobalSettings { get; set; }
+
+    public MYOBConnectionData ConnectionData { get; set; }
+
+    public IPostResult<Invoice> Process(IDataModel<Invoice> model)
+    {
+        return new PostResult<Invoice>();
+    }
+}