Пример #1
0
        private string GetOverMaxSizeMessage()
        {
            var maxDimensions = pricingService.GetMaxDimensions();

            // Print in length, breadth, height order of size for conistency with question.
            return($"Parcels larger than {maxDimensions.MidDimension}mm x {maxDimensions.LongDimension}mm x " +
                   $"{maxDimensions.ShortDimension}mm cannot be shipped.");
        }