27 lines
650 B
C#
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; }
|
|
}
|