public BusinessInvoiceBuilder(
            WaybillSettingFactory waybillSettingFactory,
            ZdBpostDetailsProvider zdBpostDetailsProvider,
            DirectoryService directoryService,
            ResourceReleaser resourceReleaser

            )
        {
           this.waybillSettingFactory = waybillSettingFactory;
           this.zdBpostDetailsProvider = zdBpostDetailsProvider;
           this.resourceReleaser = resourceReleaser;
           this.directoryService = directoryService;
        }
 public DhlWaybillService(EmailService emailService,
     IDhlWaybillEmailBuilderFactory dhlWaybillEmailBuilderFactory,
     IDhlWaybillExcelBuilderFactory dhlWaybillExcelBuilderFactory,
     IWaybillPrinterFactory waybillPrinterFactory,
     ResourceReleaser resourceRelease,
     DirectoryService directoryService,
     WaybillSettingFactory waybillSettingFactory,
     BusinessInvoiceBuilder businessInvoiceBuilder,
     IWaybillInfoExtractorFactory waybillInfoExtractorFactory
     )
 {
     this.businessInvoiceBuilder = businessInvoiceBuilder;
     this.emailService = emailService;
     this.dhlWaybillEmailBuilderFactory = dhlWaybillEmailBuilderFactory;
     this.resourceRelease = resourceRelease;
     this.directoryService = directoryService;
     this.dhlWaybillExcelBuilderFactory = dhlWaybillExcelBuilderFactory;
     this.waybillSettingFactory = waybillSettingFactory;
     this.waybillPrinterFactory = waybillPrinterFactory;
     this.waybillInfoExtractorFactory = waybillInfoExtractorFactory;
 }
示例#3
0
        public ProcessModeInfoProvider(WaybillSettingFactory waybillSettingFactory)
        {
            this.waybillSettingFactory = waybillSettingFactory;

            var setting = this.waybillSettingFactory.Create();

            modeList.Add(new ProcessModeInfo(
                "中德快递Bpost",
                "包裹代理",
                setting.ZdEmail,
                "" ,
                setting.WanwanName, ""));         
/*
            modeList.Add(new ProcessModeInfo(
             "散客=>包裹已发",
             "下家客户",
             "",
             "*****@*****.**",
             "散客",
             ""));*/

        }
        public CxDhlWaybillEmailBuilder(WaybillSettingFactory waybillSettingFactory)
        {
            this.waybillSettingFactory = waybillSettingFactory;

        }
 public CxDhlWaybillExcelBuilder(WaybillSettingFactory waybillSettingFactory,ResourceReleaser resourceReleaser)
 {
    this.waybillSettingFactory = waybillSettingFactory;
    this.resourceReleaser = resourceReleaser;
 }