IMYOBPoster.cs 613 B

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