IMYOBPoster.cs 641 B

123456789101112131415161718192021
  1. using InABox.Core;
  2. using InABox.Core.Postable;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace InABox.Poster.MYOB;
  9. [Caption("MYOB")]
  10. public interface IMYOBPoster<TPostable, TSettings> : IPoster<TPostable, TSettings>, IGlobalSettingsPoster<MYOBGlobalPosterSettings>
  11. where TPostable : Entity, IPostable, IRemotable, IPersistent, new()
  12. where TSettings : MYOBPosterSettings
  13. {
  14. public MYOBConnectionData ConnectionData { get; set; }
  15. bool BeforePost(IDataModel<TPostable> model);
  16. IPostResult<TPostable> Process(IDataModel<TPostable> model);
  17. }