Пример #1
0
 public BillingService(
     IAuthorizationProcessor authorizationProcessor,
     IBillingProcessor billingProcessor,
     IBillingSaveProcessor billingSaveProcessor,
     IBillingSaveForInputProcessor billingSaveForInputProcessor,
     IBillingJournalizingProcessor billingJournalizingProcessor,
     IBillingSearchProcessor billingSearchProcessor,
     IBillingMemoProcessor billingMemoProcessor,
     IBillingDueAtModifyProcessor billingDueAtModifyProcessor,
     IBillingDiscountProcessor billingDiscountProcessor,
     IBillingImporterProcessor billingImporterProcessor,
     IBillingScheduledPaymentProcessor billingScheduledPaymentProcessor,
     IBillingAccountTransferProcessor billingAccountTransferProcessor,
     ILogManager logManager)
 {
     this.authorizationProcessor           = authorizationProcessor;
     this.billingProcessor                 = billingProcessor;
     this.billingSaveProcessor             = billingSaveProcessor;
     this.billingSaveForInputProcessor     = billingSaveForInputProcessor;
     this.billingJournalizingProcessor     = billingJournalizingProcessor;
     this.billingSearchProcessor           = billingSearchProcessor;
     this.billingMemoProcessor             = billingMemoProcessor;
     this.billingDueAtModifyProcessor      = billingDueAtModifyProcessor;
     this.billingDiscountProcessor         = billingDiscountProcessor;
     this.billingImporterProcessor         = billingImporterProcessor;
     this.billingScheduledPaymentProcessor = billingScheduledPaymentProcessor;
     this.billingAccountTransferProcessor  = billingAccountTransferProcessor;
     logger = logManager.GetLogger(typeof(BillingService));
 }
Пример #2
0
 public BillingProcessor(
     IBillingQueryProcessor billingQueryProcessor,
     IBillingJournalizingQueryProcessor billingJournalizingQueryProcessor,
     IBillingExistsQueryProcessor billingExistsQueryProcessor,
     IAddBillingQueryProcessor addBillingQueryProcessor,
     IUpdateBillingQueryProcessor updatebillingQueryProcessor,
     ICurrencyQueryProcessor currencyQueryProcessor,
     ICustomerQueryProcessor customerQueryProcessor,
     IAccountTitleQueryProcessor accountTitlteByIdCodeQueryProcessor,
     IDepartmentByCodeQueryProcessor departmentByCodeQueryProcessor,
     IStaffQueryProcessor staffQueryProcessor,
     ICategoriesQueryProcessor categoryQueryProcessor,
     IImporterSettingDetailQueryProcessor importerSettingDetailQueryProcessor,
     IBillingMemoProcessor billingMemoProcessor,
     ITransactionalGetByIdsQueryProcessor <Billing> billingGetByIdsQueryProcessor,
     IDeleteTransactionQueryProcessor <Billing> deleteBillingQueryProcessor,
     IMasterGetIdByCodeQueryProcessor <Currency> currencyGetIdByCodeQueryProcessor,
     IDeleteBillingDiscountQueryProcessor deleteBillingDiscountQueryProcessor,
     IByCompanyGetEntityQueryProcessor <ApplicationControl> getApplicationControlByCompanyQueryProcessor,
     IUpdateBillingDivisionContractQueryProcessor updateBillingDivisionContractQueryProcessor,
     IDeleteBillingDivisionContractQueryProcessor deleteBillingDivisionContractQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingQueryProcessor               = billingQueryProcessor;
     this.billingJournalizingQueryProcessor   = billingJournalizingQueryProcessor;
     this.billingExistsQueryProcessor         = billingExistsQueryProcessor;
     this.addBillingQueryProcessor            = addBillingQueryProcessor;
     this.updatebillingQueryProcessor         = updatebillingQueryProcessor;
     this.currencyQueryProcessor              = currencyQueryProcessor;
     this.customerQueryProcessor              = customerQueryProcessor;
     this.accountTitlteByIdCodeQueryProcessor = accountTitlteByIdCodeQueryProcessor;
     this.departmentByCodeQueryProcessor      = departmentByCodeQueryProcessor;
     this.staffQueryProcessor    = staffQueryProcessor;
     this.categoryQueryProcessor = categoryQueryProcessor;
     this.importerSettingDetailQueryProcessor = importerSettingDetailQueryProcessor;
     this.billingMemoProcessor                         = billingMemoProcessor;
     this.billingGetByIdsQueryProcessor                = billingGetByIdsQueryProcessor;
     this.deleteBillingQueryProcessor                  = deleteBillingQueryProcessor;
     this.currencyGetIdByCodeQueryProcessor            = currencyGetIdByCodeQueryProcessor;
     this.deleteBillingDiscountQueryProcessor          = deleteBillingDiscountQueryProcessor;
     this.getApplicationControlByCompanyQueryProcessor = getApplicationControlByCompanyQueryProcessor;
     this.updateBillingDivisionContractQueryProcessor  = updateBillingDivisionContractQueryProcessor;
     this.deleteBillingDivisionContractQueryProcessor  = deleteBillingDivisionContractQueryProcessor;
     this.transactionScopeBuilder                      = transactionScopeBuilder;
 }
Пример #3
0
        /// <summary>constructor</summary>
        public BillingController(
            IBillingProcessor billingProcessor,
            IBillingSaveProcessor billingSaveProcessor,
            IBillingSaveForInputProcessor billingSaveForInputProcessor,
            IBillingJournalizingProcessor billingJournalizingProcessor,
            IBillingSearchProcessor billingSearchProcessor,
            IBillingMemoProcessor billingMemoProcessor,
            IBillingDueAtModifyProcessor billingDueAtModifyProcessor,
            IBillingDivisionContractProcessor billingDivisionContractProcessor,
            IBillingDiscountProcessor billingDiscountProcessor,
            IBillingScheduledPaymentProcessor billingScheduledPaymentProcessor,
            IBillingAccountTransferProcessor billingAccountTransferProcessor,
            IImporterSettingDetailProcessor importerSettingDetailProcessor,
            ICustomerProcessor customerProcessor,

            IBillingFileImportProcessor billingFileImportProcessor,
            IPaymentScheduleFileImportProcessor paymentScheduleFileImportProcessor,

            IBillingAccountTransferFileImportProcessor billingAccountTransferFileImportProcessor
            )
        {
            this.billingProcessor                 = billingProcessor;
            this.billingSaveProcessor             = billingSaveProcessor;
            this.billingSaveForInputProcessor     = billingSaveForInputProcessor;
            this.billingJournalizingProcessor     = billingJournalizingProcessor;
            this.billingSearchProcessor           = billingSearchProcessor;
            this.billingMemoProcessor             = billingMemoProcessor;
            this.billingDueAtModifyProcessor      = billingDueAtModifyProcessor;
            this.billingDivisionContractProcessor = billingDivisionContractProcessor;
            this.billingDiscountProcessor         = billingDiscountProcessor;
            this.billingScheduledPaymentProcessor = billingScheduledPaymentProcessor;
            this.billingAccountTransferProcessor  = billingAccountTransferProcessor;
            this.importerSettingDetailProcessor   = importerSettingDetailProcessor;
            this.customerProcessor                = customerProcessor;


            this.billingFileImportProcessor         = billingFileImportProcessor;
            this.paymentScheduleFileImportProcessor = paymentScheduleFileImportProcessor;

            this.billingAccountTransferFileImportProcessor = billingAccountTransferFileImportProcessor;
        }
Пример #4
0
 public BillingSaveProcessor(
     IBillingProcessor billingProcessor,
     IBillingQueryProcessor billingQueryProcessor,
     IAddBillingQueryProcessor addBillingQueryProcessor,
     IUpdateBillingQueryProcessor updatebillingQueryProcessor,
     ITransactionalGetByIdsQueryProcessor <Billing> billingGetByIdsQueryProcessor,
     IAddBillingInputQueryProcessor addBillingInputQueryProcessor,
     IBillingMemoProcessor billingMemoProcessor,
     ICustomerDiscountQueryProcessor customerDiscountQueryProcessor,
     IDeleteBillingDiscountQueryProcessor deleteBillingDiscountQueryProcessor,
     IAddBillingDiscountQueryProcessor addBillingDiscountQueryProcessor,
     IByCompanyGetEntityQueryProcessor <BillingDivisionSetting> billingDivisionSettingQueryProcessor,
     IBillingDivisionContractQueryProcessor billingDivisionContractQueryProcessor,
     IAddBillingDivisionContractQueryProcessor addBillingDivisionContractQueryProcessor,
     IUpdateBillingDivisionContractQueryProcessor updateBillingDivisionContractQueryProcessor,
     IDeleteBillingDivisionContractQueryProcessor deleteBillingDivisionContractQueryProcessor,
     IByCompanyGetEntityQueryProcessor <ApplicationControl> applicationControlQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingProcessor                            = billingProcessor;
     this.billingQueryProcessor                       = billingQueryProcessor;
     this.addBillingQueryProcessor                    = addBillingQueryProcessor;
     this.updatebillingQueryProcessor                 = updatebillingQueryProcessor;
     this.billingGetByIdsQueryProcessor               = billingGetByIdsQueryProcessor;
     this.addBillingInputQueryProcessor               = addBillingInputQueryProcessor;
     this.billingMemoProcessor                        = billingMemoProcessor;
     this.customerDiscountQueryProcessor              = customerDiscountQueryProcessor;
     this.deleteBillingDiscountQueryProcessor         = deleteBillingDiscountQueryProcessor;
     this.addBillingDiscountQueryProcessor            = addBillingDiscountQueryProcessor;
     this.billingDivisionSettingQueryProcessor        = billingDivisionSettingQueryProcessor;
     this.billingDivisionContractQueryProcessor       = billingDivisionContractQueryProcessor;
     this.addBillingDivisionContractQueryProcessor    = addBillingDivisionContractQueryProcessor;
     this.updateBillingDivisionContractQueryProcessor = updateBillingDivisionContractQueryProcessor;
     this.deleteBillingDivisionContractQueryProcessor = deleteBillingDivisionContractQueryProcessor;
     this.applicationControlQueryProcessor            = applicationControlQueryProcessor;
     this.transactionScopeBuilder                     = transactionScopeBuilder;
 }