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.

178 lines
10 KiB
C#

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