namespace TradeManageNew.APIClients.FedexAPI.Models.Ship { /// /// This is a placeholder for single leg of a shipment rates details, as calculated per a specific rate type. /// [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class ShipmentLegRateDetail { /// /// Indicates the rate zone used (based on origin and destination).<br>Example: rateZone /// [Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RateZone { get; set; } /// /// Specifies the Pricing Code.<br>Example: pricingCode /// [Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string PricingCode { get; set; } /// /// Specifies the taxes. /// [Newtonsoft.Json.JsonProperty("taxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Taxes { get; set; } /// /// Sum of dimensional weights for all packages. /// [Newtonsoft.Json.JsonProperty("totalDimWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Weight TotalDimWeight { get; set; } /// /// Specifies the total rebate.<br>Example: 2.0 /// [Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalRebates { get; set; } /// /// Specifies a fuel surcharge percentage.<br>Example: 6.0 /// [Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? FuelSurchargePercent { get; set; } /// /// Specifies currency exchange rate. /// [Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public CurrencyExchangeRate CurrencyExchangeRate { get; set; } /// /// The value used to calculate the weight based on the dimensions.<br>Example: 6 /// [Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? DimDivisor { get; set; } /// /// Type used for this specific set of rate data.<br>Example: PAYOR_RETAIL_PACKAGE /// [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RateType { get; set; } /// /// Specifies the location id the destination of shipment leg.<br>Example: HKAA /// [Newtonsoft.Json.JsonProperty("legDestinationLocationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string LegDestinationLocationId { get; set; } /// /// Identifies the type of dim divisor that was applied.<br>Example: dimDivisorType /// [Newtonsoft.Json.JsonProperty("dimDivisorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DimDivisorType { get; set; } /// /// The total freight charge that was calculated before surcharges, discounts and taxes.<br>Example: 6.0 /// [Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalBaseCharge { get; set; } /// /// Indicates which weight was used.<br>Example: ratedWeightMethod /// [Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RatedWeightMethod { get; set; } /// /// The sum of all discounts.<br>Example: 9.0 /// [Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalFreightDiscounts { get; set; } /// /// Total of the transportation-based taxes.<br>Example: 12.6 /// [Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalTaxes { get; set; } /// /// Specifies minimum charge type.Example: minimumChargeType /// [Newtonsoft.Json.JsonProperty("minimumChargeType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string MinimumChargeType { get; set; } /// /// Total of shipments duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 17.78 /// [Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalDutiesAndTaxes { get; set; } /// /// The freight charge minus discounts.<br>Example: 6.0 /// [Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalNetFreight { get; set; } /// /// This is the sum of shipment's total surcharges (not including total taxes).<br>Example: 3.2 /// [Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalNetFedExCharge { get; set; } /// /// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see surcharges</a> /// [Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Surcharges { get; set; } /// /// The total of all surcharges.<br>Example: 5.0 /// [Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalSurcharges { get; set; } /// /// The weight used to calculate these rates. /// [Newtonsoft.Json.JsonProperty("totalBillingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Weight TotalBillingWeight { get; set; } [Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection FreightDiscounts { get; set; } /// /// Indicates the rate scale used.<br>Example: 6702 /// [Newtonsoft.Json.JsonProperty("rateScale", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RateScale { get; set; } /// /// The net charge after applying all discounts and surcharges.<br>Example: 253 /// [Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalNetCharge { get; set; } /// /// Sum of total net charge, total duties and taxes; only provided if estimated duties and taxes were calculated for this shipment and duties, taxes and transportation charges are all paid by the same sender account.<br>Example: 25.67 /// [Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? TotalNetChargeWithDutiesAndTaxes { get; set; } /// /// This is the currency code for the amount.<br>Example: USD<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency codes</a> /// [Newtonsoft.Json.JsonProperty("currency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Currency { get; set; } 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; } } } }