Beispiel #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));
 }
 public PeriodicBillingProcessor(
     IBillingSaveForInputProcessor billingSaveForInputProcessor,
     IAddPeriodicBillingCreatedQueryProcessor addPeriodicBillingCreatedQueryProcessor,
     IIdenticalEntityGetByIdsQueryProcessor <Customer> customerQueryProcessor,
     IByCompanyGetEntitiesQueryProcessor <HolidayCalendar> holidayCalendarQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingSaveForInputProcessor            = billingSaveForInputProcessor;
     this.addPeriodicBillingCreatedQueryProcessor = addPeriodicBillingCreatedQueryProcessor;
     this.customerQueryProcessor        = customerQueryProcessor;
     this.holidayCalendarQueryProcessor = holidayCalendarQueryProcessor;
     this.transactionScopeBuilder       = transactionScopeBuilder;
 }
Beispiel #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;
        }