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#
114 lines
7.4 KiB
C#
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.<br>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.<br> 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.<br>Example: EA<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>
|
|
/// 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.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a>
|
|
/// </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<br>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.<br>Example: 0613<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 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<br>ScrewsMaximum allowed 450 characters.<br>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.<br>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.<br>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.<br>Format YYYY-MM-DD<br>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.<br>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.<br><br> Valid values are : BUSINESS and CONSUMER. <br>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; }
|
|
}
|
|
|
|
}
|
|
} |