namespace TradeManageNew.APIClients.FedexAPI.Models.Ship { /// /// Specify the Hazardous commodity quantity details. /// [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class HazardousCommodityQuantityDetail { /// /// Specifies which measure of quantity is to be validated.<br>Example:GROSS /// [Newtonsoft.Json.JsonProperty("quantityType", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public HazardousCommodityQuantityDetailQuantityType QuantityType { get; set; } /// /// Indicate the amount of the commodity in alternate units.<br>Example: 24.56 /// [Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)] public double Amount { get; set; } /// /// Indicate the unit of measure.<br>Example: KG /// [Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Units { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; [Newtonsoft.Json.JsonExtensionData] public System.Collections.Generic.IDictionary AdditionalProperties { get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } set { _additionalProperties = value; } } } }