|
|
|
|
namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes
|
|
|
|
|
{
|
|
|
|
|
[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>
|
|
|
|
|
/// Indicate the description of the dutiable packages.<br> Maximum Length is 450. <br> Example: DOCUMENTS <br><a onclick='loadDocReference("vaguecommoditydescriptions")'>Click here to see Vague commodity descriptions</a>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specify the Total weight of this commodity. This element is used to estimate duties and taxes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("weight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public Weight_2 Weight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specify the total number of units (using quantityUnits as the unit of measure) of this commodity present in the shipment. This element is used to estimate duties and taxes. <br>Example: 1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("quantity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public int? Quantity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specify the required Customs value for this commodity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("customsValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public Money CustomsValue { get; set; }
|
|
|
|
|
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("unitPrice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public UnitPrice UnitPrice { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specifies the number of pieces for this commodity.<br>Example: 10
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("numberOfPieces", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public int? NumberOfPieces { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is a manufacturing country. Maximum field Length is 4<br> Example: IN
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("countryOfManufacture", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string CountryOfManufacture { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicate quantiy unit used. Used to estimate duties and taxes <br> Example: PCS<br><a onclick='loadDocReference("harmonizedsystemcodeunitofmeasure-table1")'>click here to see Commodity Unit Measures</a>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("quantityUnits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string QuantityUnits { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicate the Commodity name<br>Example: DOCUMENTS
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string Name { 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.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("harmonizedCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string HarmonizedCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specify the part number if any. Example: P1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("partNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string PartNumber { 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|