Ejemplo n.º 1
0
        /// <summary>constructor</summary>
        public PaymentScheduleFileImportProcessor(
            ICompanyProcessor companyProcessor,
            IApplicationControlProcessor applicationControlProcessor,
            IImporterSettingProcessor importerSettingProcessor,
            IImporterSettingDetailProcessor importerSettingDetailProcessor,
            IGeneralSettingProcessor generalSettingProcessor,
            ICustomerProcessor customerProcessor,
            ICurrencyProcessor currencyProcessor,
            ICategoryProcessor categoryProcessor,
            IDepartmentProcessor departmentProcessor,
            IAccountTitleProcessor accountTitleProcessor,
            IBillingScheduledPaymentProcessor billingScheduledPaymentProcessor,
            IImportDataProcessor importDataProcessor
            )
        {
            this.companyProcessor                 = companyProcessor;
            this.applicationControlProcessor      = applicationControlProcessor;
            this.importerSettingProcessor         = importerSettingProcessor;
            this.importerSettingDetailProcessor   = importerSettingDetailProcessor;
            this.generalSettingProcessor          = generalSettingProcessor;
            this.customerProcessor                = customerProcessor;
            this.currencyProcessor                = currencyProcessor;
            this.categoryProcessor                = categoryProcessor;
            this.departmentProcessor              = departmentProcessor;
            this.accountTitleProcessor            = accountTitleProcessor;
            this.billingScheduledPaymentProcessor = billingScheduledPaymentProcessor;
            this.importDataProcessor              = importDataProcessor;

            serializerScheduledPaymentImport = MessagePackSerializer.Get <ScheduledPaymentImport>(new SerializationContext {
                DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
            });
            serializerPaymentSchedule = MessagePackSerializer.Get <Models.Files.PaymentSchedule>(new SerializationContext {
                DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
            });
        }
Ejemplo n.º 2
0
 /// <summary>constructor</summary>
 public ReceiptFileImportProcessor(
     ICompanyProcessor companyProcessor,
     IApplicationControlProcessor applicationControlProcessor,
     IImporterSettingProcessor importerSettingProcessor,
     IImporterSettingDetailProcessor importerSettingDetailProcessor,
     IGeneralSettingProcessor generalSettingProcessor,
     ICurrencyProcessor currencyProcessor,
     ICategoryProcessor categoryProcessor,
     ISectionProcessor sectionProcessor,
     ICustomerProcessor customerProcessor,
     IJuridicalPersonalityProcessor juridicalPersonalityProcessor,
     ICollationSettingProcessor collationSettingProcessor,
     IColumnNameSettingProcessor columnNameSettingProcessor,
     IImportDataProcessor importDataProcessor,
     IReceiptProcessor receiptProcessor
     )
 {
     this.companyProcessor               = companyProcessor;
     this.applicationControlProcessor    = applicationControlProcessor;
     this.importerSettingProcessor       = importerSettingProcessor;
     this.importerSettingDetailProcessor = importerSettingDetailProcessor;
     this.generalSettingProcessor        = generalSettingProcessor;
     this.currencyProcessor              = currencyProcessor;
     this.categoryProcessor              = categoryProcessor;
     this.sectionProcessor               = sectionProcessor;
     this.customerProcessor              = customerProcessor;
     this.juridicalPersonalityProcessor  = juridicalPersonalityProcessor;
     this.collationSettingProcessor      = collationSettingProcessor;
     this.columnNameSettingProcessor     = columnNameSettingProcessor;
     this.importDataProcessor            = importDataProcessor;
     this.receiptProcessor               = receiptProcessor;
     this.serializer = MessagePackSerializer.Get <ReceiptInput>(new SerializationContext {
         DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
     });
 }
Ejemplo n.º 3
0
 /// <summary>
 /// constructor
 /// </summary>
 public ImporterSettingController(
     IImporterSettingProcessor importSettingProcessor,
     IImporterSettingDetailProcessor importSettingDetailProcessor
     )
 {
     this.importSettingProcessor       = importSettingProcessor;
     this.importSettingDetailProcessor = importSettingDetailProcessor;
 }
Ejemplo n.º 4
0
 public ImporterSettingService(IAuthorizationProcessor authorizationProcessor,
                               IImporterSettingProcessor importSettingProcessor,
                               IImporterSettingDetailProcessor importSettingDetailProcessor,
                               ILogManager logManager)
 {
     this.authorizationProcessor       = authorizationProcessor;
     this.importSettingProcessor       = importSettingProcessor;
     this.importSettingDetailProcessor = importSettingDetailProcessor;
     logger = logManager.GetLogger(typeof(ImporterSettingService));
 }
Ejemplo n.º 5
0
        /// <summary>constructor</summary>
        public BillingFileImportProcessor(
            ICompanyProcessor companyProcessor,
            IApplicationControlProcessor applicationControlProcessor,
            IImporterSettingProcessor importerSettingProcessor,
            IImporterSettingDetailProcessor importerSettingDetailProcessor,
            IGeneralSettingProcessor generalSettingProcessor,
            ICurrencyProcessor currencyProcessor,
            ICategoryProcessor categoryProcessor,
            ICustomerProcessor customerProcessor,
            IJuridicalPersonalityProcessor juridicalPersonalityProcessor,
            ITaxClassProcessor taxClassProcessor,
            IHolidayCalendarProcessor holidayCalendarProcessor,
            ICollationSettingProcessor collationSettingProcessor,
            IColumnNameSettingProcessor columnNameSettingProcessor,
            IDepartmentProcessor departmentProcessor,
            IAccountTitleProcessor accountTitleProcessor,
            IStaffProcessor staffProcessor,
            IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
            IImportDataProcessor importDataProcessor,

            IBillingProcessor billingProcessor,
            IBillingImporterProcessor billingImporterProcessor,
            IBillingDivisionContractProcessor billingDivisionContractProcessor
            )
        {
            this.companyProcessor               = companyProcessor;
            this.applicationControlProcessor    = applicationControlProcessor;
            this.importerSettingProcessor       = importerSettingProcessor;
            this.importerSettingDetailProcessor = importerSettingDetailProcessor;
            this.generalSettingProcessor        = generalSettingProcessor;
            this.currencyProcessor              = currencyProcessor;
            this.categoryProcessor              = categoryProcessor;
            this.customerProcessor              = customerProcessor;
            this.juridicalPersonalityProcessor  = juridicalPersonalityProcessor;
            this.taxClassProcessor              = taxClassProcessor;
            this.holidayCalendarProcessor       = holidayCalendarProcessor;
            this.collationSettingProcessor      = collationSettingProcessor;
            this.columnNameSettingProcessor     = columnNameSettingProcessor;
            this.departmentProcessor            = departmentProcessor;
            this.accountTitleProcessor          = accountTitleProcessor;
            this.staffProcessor = staffProcessor;
            this.invoiceCommonSettingProcessor = invoiceCommonSettingProcessor;
            this.importDataProcessor           = importDataProcessor;

            this.billingProcessor                 = billingProcessor;
            this.billingImporterProcessor         = billingImporterProcessor;
            this.billingDivisionContractProcessor = billingDivisionContractProcessor;

            serializer = MessagePackSerializer.Get <BillingImport>(new SerializationContext {
                DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
            });
        }
Ejemplo n.º 6
0
 /// <summary>constructor</summary>
 public CustomerFileImportProcessor(
     ICompanyProcessor companyProcessor,
     ILoginUserProcessor loginUserProcessor,
     IApplicationControlProcessor applicationControlProcessor,
     ICategoryProcessor categoryProcessor,
     IStaffProcessor staffProcessor,
     IJuridicalPersonalityProcessor juridicalPersonalityProcessor,
     IImporterSettingProcessor importerSettingProcessor,
     IImporterSettingDetailProcessor importerSettingDetailProcessor,
     IGeneralSettingProcessor generalSettingProcessor,
     ICustomerProcessor customerProcessor
     )
 {
     this.companyProcessor            = companyProcessor;
     this.loginUserProcessor          = loginUserProcessor;
     this.applicationControlProcessor = applicationControlProcessor;
     this.categoryProcessor           = categoryProcessor;
     this.staffProcessor = staffProcessor;
     this.juridicalPersonalityProcessor  = juridicalPersonalityProcessor;
     this.importerSettingProcessor       = importerSettingProcessor;
     this.importerSettingDetailProcessor = importerSettingDetailProcessor;
     this.generalSettingProcessor        = generalSettingProcessor;
     this.customerProcessor = customerProcessor;
 }