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.

33 lines
1.6 KiB
C#

namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
/// <summary>
/// These are the package weight details.&lt;br&gt;Note: Weight is not required for One rate shipments
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Weight
{
/// <summary>
/// Specifies the package weight unit type.&lt;br&gt;Example:KG
/// </summary>
[Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public WeightUnits Units { get; set; }
/// <summary>
/// Weight Value.&lt;br&gt; Example: 68.25&lt;br&gt;&lt;a href='https://developer.fedex.com/api/en-us/guides/api-reference.html#packagetypes' target='_blank'&gt;Click here to see Weight Values&lt;/a&gt;.
/// </summary>
[Newtonsoft.Json.JsonProperty("value", Required = Newtonsoft.Json.Required.Always)]
public decimal Value { get; set; }
private System.Collections.Generic.IDictionary<string, object> _additionalProperties;
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary<string, object> AdditionalProperties
{
get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary<string, object>()); }
set { _additionalProperties = value; }
}
}
}