コード例 #1
0
        public IList <ShippingMethod> CalculateRates(Order order)
        {
            //pull the methods out
            var methods = _shippingRepository.GetRates(order);

            //their might be restrictions on the shipping
            //such as no ground delivery to HI...

            return(methods.ToList());
        }