示例#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 MFBillingProcessor(IBillingProcessor billingProcessor,
                           ICustomerProcessor customerProcessor,
                           IStaffProcessor staffProcessor,
                           IBillingSaveProcessor billingSaveProcessor,
                           IMFBillingQueryProcessor mfBillingQueryProcessor,
                           IAddMFBillingQueryProcessor addMFBillingQueryProcessor,
                           IByCompanyGetEntitiesQueryProcessor <MFBilling> mfBillingByCompanyGetEntitiesQueryProcessor,
                           ITransactionScopeBuilder transactionScopeBuilder
                           )
 {
     this.billingProcessor           = billingProcessor;
     this.customerProcessor          = customerProcessor;
     this.staffProcessor             = staffProcessor;
     this.billingSaveProcessor       = billingSaveProcessor;
     this.mfBillingQueryProcessor    = mfBillingQueryProcessor;
     this.addMFBillingQueryProcessor = addMFBillingQueryProcessor;
     this.mfBillingByCompanyGetEntitiesQueryProcessor = mfBillingByCompanyGetEntitiesQueryProcessor;
     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 BillingImporterProcessor(
     IBillingImporterCodeToIdSolveProcessor billingImporterCodeToIdSolveProcessor,
     IBillingProcessor billingProcessor,
     IBillingSaveProcessor billingSaveProcessor,
     IImporterSettingDetailQueryProcessor importerSettingDetailQueryProcessor,
     ICategoryByCodeQueryProcessor categoryByCodeQueryProcessor,
     IIdenticalEntityGetByIdsQueryProcessor <Category> categoryIdenticalEntityGetByIdsQueryProcessor,
     ICustomerQueryProcessor customerQueryProcessor,
     IAddCustomerQueryProcessor addCustomerQueryProcessor,
     IUpdateCustomerQueryProcessor updateCustomerQueryProcessor,
     IBillingSearchForImportQueryProcessor billingSearchForImportQueryProcessor,
     IUpdateBillingQueryProcessor updatebillingQueryProcessor,
     IBillingDivisionContractQueryProcessor billingDivisionContractQueryProcessor,
     IUpdateBillingDivisionContractQueryProcessor updateBillingDivisionContractQueryProcessor,
     IByCompanyGetEntityQueryProcessor <BillingDivisionSetting> billingDivisionSettingQueryProcessor,
     IAddBillingDivisionContractQueryProcessor addBillingDivisionContractQueryProcessor,
     ICustomerDiscountQueryProcessor customerDiscountQueryProcessor,
     IAddBillingDiscountQueryProcessor addBillingDiscountQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingImporterCodeToIdSolveProcessor = billingImporterCodeToIdSolveProcessor;
     this.billingProcessor     = billingProcessor;
     this.billingSaveProcessor = billingSaveProcessor;
     this.importerSettingDetailQueryProcessor           = importerSettingDetailQueryProcessor;
     this.categoryByCodeQueryProcessor                  = categoryByCodeQueryProcessor;
     this.categoryIdenticalEntityGetByIdsQueryProcessor = categoryIdenticalEntityGetByIdsQueryProcessor;
     this.customerQueryProcessor                      = customerQueryProcessor;
     this.addCustomerQueryProcessor                   = addCustomerQueryProcessor;
     this.updateCustomerQueryProcessor                = updateCustomerQueryProcessor;
     this.billingSearchForImportQueryProcessor        = billingSearchForImportQueryProcessor;
     this.updatebillingQueryProcessor                 = updatebillingQueryProcessor;
     this.billingDivisionContractQueryProcessor       = billingDivisionContractQueryProcessor;
     this.updateBillingDivisionContractQueryProcessor = updateBillingDivisionContractQueryProcessor;
     this.billingDivisionSettingQueryProcessor        = billingDivisionSettingQueryProcessor;
     this.addBillingDivisionContractQueryProcessor    = addBillingDivisionContractQueryProcessor;
     this.customerDiscountQueryProcessor              = customerDiscountQueryProcessor;
     this.addBillingDiscountQueryProcessor            = addBillingDiscountQueryProcessor;
     this.transactionScopeBuilder                     = transactionScopeBuilder;
 }