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.
39 lines
1.8 KiB
C#
39 lines
1.8 KiB
C#
namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
|
|
{
|
|
/// <summary>
|
|
/// Specify the Hazardous commodity quantity details.
|
|
/// </summary>
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public partial class HazardousCommodityQuantityDetail
|
|
{
|
|
/// <summary>
|
|
/// Specifies which measure of quantity is to be validated.<br>Example:GROSS
|
|
/// </summary>
|
|
[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; }
|
|
|
|
/// <summary>
|
|
/// Indicate the amount of the commodity in alternate units.<br>Example: 24.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("amount", Required = Newtonsoft.Json.Required.Always)]
|
|
public double Amount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicate the unit of measure.<br>Example: KG
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("units", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string Units { 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; }
|
|
}
|
|
|
|
}
|
|
} |