namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes
{
///
/// This is Customs clearance data, used for both international and intra-country shipping and rating. Customs commodity data is required for international and intra-country rating.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class RequestedShipmentCustomsClearanceDetail
{
///
/// Conditional.<br>Required if BROKER_SELECT_OPTION is specified as a shipment special service type. A country code must be specified in addition to one of the following address items: postal code, city, or location id.
///
[Newtonsoft.Json.JsonProperty("brokers", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection Brokers { get; set; }
[Newtonsoft.Json.JsonProperty("commercialInvoice", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public CommercialInvoice CommercialInvoice { get; set; }
///
/// Indicates Freight on value for customs.
///
[Newtonsoft.Json.JsonProperty("freightOnValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RequestedShipmentCustomsClearanceDetailFreightOnValue? FreightOnValue { get; set; }
[Newtonsoft.Json.JsonProperty("dutiesPayment", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Payment DutiesPayment { get; set; }
///
/// Specify the commodity details.
///
[Newtonsoft.Json.JsonProperty("commodities", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.ICollection Commodities { get; set; } = new System.Collections.ObjectModel.Collection();
private System.Collections.Generic.IDictionary _additionalProperties;
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary AdditionalProperties
{
get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); }
set { _additionalProperties = value; }
}
}
}