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.

114 lines
7.4 KiB
C#

2 months ago
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Commodity
{
/// <summary>
/// This is the unit price.
/// </summary>
[Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Money UnitPrice { get; set; }
/// <summary>
/// This object contains additional quantitative information other than weight and quantity to calculate duties and taxes.
/// </summary>
[Newtonsoft.Json.JsonProperty("additionalMeasures", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<AdditionalMeasures> AdditionalMeasures { get; set; }
/// <summary>
/// Indicate the number of pieces associated with the commodity. The value can neither be negative nor exceed 9,999.&lt;br&gt;Example: 12
/// </summary>
[Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? NumberOfPieces { get; set; }
/// <summary>
/// This is the units quantity (using quantityUnits as the unit of measure) per commodity. This is used to estimate duties and taxes.&lt;br&gt; Example: 125
/// </summary>
[Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public int? Quantity { get; set; }
/// <summary>
/// This is the unit of measure for the units quantity. This is used to estimate duties and taxes.&lt;br&gt;Example: EA&lt;br&gt;&lt;a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'&gt;click here to see Commodity Unit Measures&lt;/a&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string QuantityUnits { get; set; }
/// <summary>
/// This customs value is applicable for all items(or units) under the specified commodity.
/// </summary>
[Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Customs_Money CustomsValue { get; set; }
/// <summary>
/// This is commodity country of manufacture. This is required for International shipments. Maximum allowed length is 4.&lt;br&gt;Example: US&lt;br&gt;&lt;a onclick='loadDocReference("countrycodes")'&gt;click here to see Country codes&lt;/a&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CountryOfManufacture { get; set; }
/// <summary>
/// This is an identifying mark or number used on the packaging of a shipment to help customers identify a particular shipment&lt;br&gt;Example: 87123
/// </summary>
[Newtonsoft.Json.JsonProperty("cIMarksAndNumbers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CIMarksAndNumbers { get; set; }
/// <summary>
/// This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.&lt;br&gt;Example: 0613&lt;br&gt;To research the classification for your commodity, use the FedEx Global Trade Manager online at &lt;a href='http://www.fedex.com/gtm' target='_blank'&gt;fedex.com/gtm&lt;/a&gt;. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination.
/// </summary>
[Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string HarmonizedCode { get; set; }
/// <summary>
/// Required&lt;br&gt;ScrewsMaximum allowed 450 characters.&lt;br&gt;Example: description
/// </summary>
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string Description { get; set; }
/// <summary>
/// This is Commodity name.&lt;br&gt;Example: Non-Threaded Rivets
/// </summary>
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string Name { get; set; }
[Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Weight_4 Weight { get; set; }
/// <summary>
/// This is the export license number for the shipment.&lt;br&gt;Example: 26456
/// </summary>
[Newtonsoft.Json.JsonProperty("exportLicenseNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string ExportLicenseNumber { get; set; }
/// <summary>
/// Specify the export license expiration date for the shipment.&lt;br&gt;Format YYYY-MM-DD&lt;br&gt;Example : 2009-04-12
/// </summary>
[Newtonsoft.Json.JsonProperty("exportLicenseExpirationDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.DateTimeOffset? ExportLicenseExpirationDate { get; set; }
/// <summary>
/// This is a part number.&lt;br&gt;Example: 167
/// </summary>
[Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string PartNumber { get; set; }
/// <summary>
/// This field is used for calculation of duties and taxes.&lt;br&gt;&lt;br&gt; Valid values are : BUSINESS and CONSUMER. &lt;br&gt;Example:BUSINESS
/// </summary>
[Newtonsoft.Json.JsonProperty("purpose", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public CommodityPurpose? Purpose { get; set; }
[Newtonsoft.Json.JsonProperty("usmcaDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public UsmcaDetail UsmcaDetail { 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; }
}
}
}