コード例 #1
0
 public ByWeightShippingComputationMethod(IShippingService shippingService,
                                          IStoreContext storeContext,
                                          IShippingByWeightService shippingByWeightService,
                                          IPriceCalculationService priceCalculationService,
                                          ShippingByWeightSettings shippingByWeightSettings,
                                          ShippingByWeightObjectContext objectContext,
                                          ILocalizationService localizationService,
                                          IPriceFormatter priceFormatter,
                                          ICommonServices commonServices)
 {
     this._shippingService          = shippingService;
     this._storeContext             = storeContext;
     this._shippingByWeightService  = shippingByWeightService;
     this._priceCalculationService  = priceCalculationService;
     this._shippingByWeightSettings = shippingByWeightSettings;
     this._objectContext            = objectContext;
     this._localizationService      = localizationService;
     this._priceFormatter           = priceFormatter;
     this._commonServices           = commonServices;
 }
コード例 #2
0
        public ByWeightShippingComputationMethod(IShippingService shippingService,
			IStoreContext storeContext,
            IShippingByWeightService shippingByWeightService,
            IPriceCalculationService priceCalculationService, 
            ShippingByWeightSettings shippingByWeightSettings,
            ShippingByWeightObjectContext objectContext,
            ILocalizationService localizationService,
            IPriceFormatter priceFormatter,
            ICommonServices commonServices)
        {
            this._shippingService = shippingService;
            this._storeContext = storeContext;
            this._shippingByWeightService = shippingByWeightService;
            this._priceCalculationService = priceCalculationService;
            this._shippingByWeightSettings = shippingByWeightSettings;
            this._objectContext = objectContext;
            this._localizationService = localizationService;
            this._priceFormatter = priceFormatter;
            this._commonServices = commonServices;
        }
コード例 #3
0
        public ByWeightShippingComputationMethod(
            IShippingService shippingService,
            IStoreContext storeContext,
            IShippingByWeightService shippingByWeightService,
            IPriceCalculationService priceCalculationService,
            ShippingByWeightSettings shippingByWeightSettings,
            ILocalizationService localizationService,
            IPriceFormatter priceFormatter,
            ICommonServices services,
            ITaxService taxService)
        {
            _shippingService          = shippingService;
            _storeContext             = storeContext;
            _shippingByWeightService  = shippingByWeightService;
            _priceCalculationService  = priceCalculationService;
            _shippingByWeightSettings = shippingByWeightSettings;
            _localizationService      = localizationService;
            _priceFormatter           = priceFormatter;
            _services   = services;
            _taxService = taxService;

            T = NullLocalizer.Instance;
        }