private List <ShippingRate> doGetShipmentRates(IRateProvider provider) { // arrage var from = new Address("Annapolis", "MD", "21401", "US"); var to = new Address("Fitchburg", "WI", "53711", "US"); var packageItems = new List <Package>(); packageItems.Add(new Package(4, 3, 2, 2, 2.2m)); packageItems.Add(new Package(7, 7, 7, 6, 0)); var shipment = new Shipment(from, to, packageItems); shipment.TransactionId = "10000001"; // act return(provider.GetShipmentRates(shipment)); }