Пример #1
0
 protected BaseService(IReportRepository reportRepository, ITaxRateProvider taxRateProvider,
                       IOAuthService oAuthService, IQBApi qb, string entityName)
 {
     _reportRepository = reportRepository;
     _log             = LogManager.GetLogger(GetType());
     EntityName       = entityName;
     _taxRateProvider = taxRateProvider;
     _oAuthService    = oAuthService;
     _qb = qb;
 }
Пример #2
0
 public InvoiceService(IReportRepository reportRepository, ITaxRateProvider taxRateProvider,
                       IOAuthService oAuthService, IQBApi qb)
     : base(reportRepository, taxRateProvider, oAuthService, qb, "Invoice")
 {
 }
Пример #3
0
 public BasicTaxFactory(ITaxRateProvider provider)
 {
     Provider = provider;
 }
Пример #4
0
 public CreditMemoService(IReportRepository reportRepository, ITaxRateProvider taxRateProvider,
                          IOAuthService oAuthService, IQBApi qb)
     : base(reportRepository, taxRateProvider, oAuthService, qb, "CreditMemo")
 {
 }
Пример #5
0
 public ImportTaxCalculator(ITaxRateProvider taxRateProvider)
 {
     this.taxRateProvider = taxRateProvider;
 }
 public BasicSalesTaxCalculator(ITaxRateProvider taxRateProvider)
 {
     _taxRateProvider = taxRateProvider;
 }
Пример #7
0
 public SalesReceiptService(IReportRepository reportRepository, ITaxRateProvider taxRateProvider,
                            IOAuthService oAuthService, IQBApi qb)
     : base(reportRepository, taxRateProvider, oAuthService, qb, "SalesReceipt")
 {
 }
Пример #8
0
 public ImportTaxFactory(ITaxRateProvider provider)
 {
     Provider = provider;
 }
Пример #9
0
 public BasicTaxCalculator(ITaxRateProvider taxRateProvider)
 {
     this.taxRateProvider = taxRateProvider;
 }
Пример #10
0
 public ImportDutySalesTaxCalculator(ITaxRateProvider taxRateProvider)
 {
     _taxRateProvider = taxRateProvider;
 }
Пример #11
0
 public DefaultGiftAidCalculator(ITaxRateProvider taxRateProvider)
 {
     _taxRateProvider = taxRateProvider;
 }