public decimal GetShippingRate(ShippingRateCalculationContext context)
        {
            var config = context.ShippingRateProviderConfig as FixedShippingRateProviderConfig;
            if (config != null)
            {
                return config.ShippingRate;
            }

            return 0m;
        }
        public decimal GetShippingRate(ShippingRateCalculationContext context)
        {
            var config = context.ShippingRateProviderConfig as FixedShippingRateProviderConfig;

            if (config != null)
            {
                return(config.ShippingRate);
            }

            return(0m);
        }
 public decimal GetShippingRate(ShippingMethod method, ShippingRateCalculationContext context)
 {
     return 0m;
 }
Esempio n. 4
0
 public decimal GetShippingRate(ShippingRateCalculationContext context)
 {
     return(0m);
 }