You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
2.5 KiB
C#

2 months ago
namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
{
/// <summary>
/// Indicate the dimensions of the package.&lt;br&gt; Following conditions will apply: &lt;ul&gt;&lt;li&gt;Dimensions are optional but when added, then all three dimensions must be indicated.&lt;/li&gt;&lt;li&gt;Dimensions are required with YOUR_PACKAGING package type.&lt;/li&gt;&lt;/ul&gt;Note: The maximum/minimum dimension values varies based on the services and the packaging types. Refer &lt;a href="https://www.fedex.com/en-us/service-guide.html" target="_blank"&gt;FedEx Service Guide&lt;/a&gt; for service details related to DIM Weighting for FedEx Express and oversize conditions for FedEx Express and FedEx Ground.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Dimensions
{
/// <summary>
/// Indicate the length of the package. No implied decimal places. Maximum value: 999 &lt;br&gt; Example: 20
/// </summary>
[Newtonsoft.Json.JsonProperty("length", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? Length { get; set; }
/// <summary>
/// Indicate the width of the package. No implied decimal places. Maximum value: 999 &lt;br&gt; Example: 10
/// </summary>
[Newtonsoft.Json.JsonProperty("width", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? Width { get; set; }
/// <summary>
/// Indicate the height of the package. No implied decimal places. Maximum value: 999 &lt;br&gt; Example: 10
/// </summary>
[Newtonsoft.Json.JsonProperty("height", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? Height { get; set; }
/// <summary>
/// Indicate the Unit of measure for the provided dimensions.&lt;br&gt;Valid Values are:&lt;li&gt;IN - inches&lt;/li&gt;&lt;li&gt;CM - centimeters&lt;/li&gt;Note: Any value other than CM including blank/null will default to IN.
/// </summary>
[Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public DimensionsUnits? Units { get; set; }
}
}