ex-int-04-shipping-cost/ShippingCosts/Contracts/IMeasuredBox.cs
github-classroom[bot] 5db225db88
Initial commit
2025-04-29 15:01:53 +00:00

27 lines
650 B
C#

namespace ShippingCosts.Contracts;
/// <summary>
/// Defines the properties of a measured box with dimensions and weight
/// </summary>
public interface IMeasuredBox
{
/// <summary>
/// Gets the width of the box in millimeters
/// </summary>
int Width { get; }
/// <summary>
/// Gets the height of the box in millimeters
/// </summary>
int Height { get; }
/// <summary>
/// Gets the depth of the box in millimeters
/// </summary>
int Depth { get; }
/// <summary>
/// Gets the weight of the box in kilograms
/// </summary>
double Weight { get; }
}