namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
///
/// It is the total weight of the commodity.<br>Note: Weight is not required for One rate shipments
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Weight_4
{
///
/// Indicate the weight unit type. The package and commodity weight unit should be the same else the request will result in an error.
///
[Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public Weight_4Units Units { get; set; }
///
/// Weight Value.<br> Example: 68.25
///
[Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)]
public double Value { 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; }
}
}
}