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.

139 lines
8.7 KiB
C#

namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes
{
/// <summary>
/// This object provides the shipment and package rating data in a rate request reply.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class RatedShipmentDetail
{
/// <summary>
/// Type used for this specific set of rate data.&lt;br&gt;Example: ACCOUNT
/// </summary>
[Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RatedShipmentDetailRateType? RateType { get; set; }
/// <summary>
/// Indicates which weight was used for the rate.&lt;br&gt;Example: 'ACTUAL'
/// </summary>
[Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RatedShipmentDetailRatedWeightMethod? RatedWeightMethod { get; set; }
/// <summary>
/// The total amount of the duties and taxes plus the total ancillary fees and taxes.&lt;br&gt; Example: 445.54
/// </summary>
[Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalDutiesTaxesAndFees { get; set; }
/// <summary>
/// This is the total discount.&lt;br&gt; Example: 445.54&lt;br&gt;&lt;a href='/api/en-us/reference-guide.html#discounts' target='_blank'&gt;Click here to see FedEx Discounts&lt;/a&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("totalDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalDiscounts { get; set; }
/// <summary>
/// The sum of shipment/package Duties and taxes.&lt;br&gt; Example: 445.54
/// </summary>
[Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalDutiesAndTaxes { get; set; }
[Newtonsoft.Json.JsonProperty("variableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public VariableHandlingCharges VariableHandlingCharges { get; set; }
/// <summary>
/// These are the estimation and duty charges.
/// </summary>
[Newtonsoft.Json.JsonProperty("edtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<EdtCharge> EdtCharges { get; set; }
/// <summary>
/// Indicates the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.
/// </summary>
[Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalAncillaryFeesAndTaxes { get; set; }
/// <summary>
/// These are the package-level data for this rate type.
/// </summary>
[Newtonsoft.Json.JsonProperty("ratedPackages", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<RatedPackageDetail> RatedPackages { get; set; }
/// <summary>
/// This shipment's totalNetFedExChargeList, which is totalNetFreight plus totalSurcharges (not including totalTaxes).
/// </summary>
[Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalNetFedExCharge { get; set; }
/// <summary>
/// Indicates the unique identifier for a specific rate quotation.&lt;br&gt; Example: XX1123XX
/// </summary>
[Newtonsoft.Json.JsonProperty("quoteNumber", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string QuoteNumber { get; set; }
/// <summary>
/// This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type.
/// </summary>
[Newtonsoft.Json.JsonProperty("shipmentLegRateDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<ShipmentLegRateDetail_1> ShipmentLegRateDetails { get; set; }
/// <summary>
/// This identifies the manner in which the chargeRate was applied, for Freight.&lt;br&gt; Valid values are: &lt;ul&gt;&lt;li&gt;CWT - Charge rate applies per weight.&lt;/li&gt;&lt;li&gt;FLAT - Charge rate is a flat-rate amount.&lt;/li&gt;&lt;li&gt;MINIMUM&lt;/li&gt;&lt;/ul&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("freightChargeBasis", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RatedShipmentDetailFreightChargeBasis? FreightChargeBasis { get; set; }
[Newtonsoft.Json.JsonProperty("totalVariableHandlingCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public VariableHandlingCharges TotalVariableHandlingCharges { get; set; }
/// <summary>
/// This is total value added tax charges (VAT).
/// </summary>
[Newtonsoft.Json.JsonProperty("totalVatCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalVatCharge { get; set; }
/// <summary>
/// This is the total amount of the shipment-level fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.
/// </summary>
[Newtonsoft.Json.JsonProperty("ancillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<AncillaryFeesAndTaxes> AncillaryFeesAndTaxes { get; set; }
/// <summary>
/// Specifies the Edt charges.
/// </summary>
[Newtonsoft.Json.JsonProperty("preferredEdtCharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection<EdtCharge> PreferredEdtCharges { get; set; }
/// <summary>
/// This is net charges for the shipment.
/// </summary>
[Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalNetCharge { get; set; }
/// <summary>
/// This is total base charges for the shipment.
/// </summary>
[Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalBaseCharge { get; set; }
/// <summary>
/// This is total net Charges with Duties And Taxes for the shipment.
/// </summary>
[Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalNetChargeWithDutiesAndTaxes { get; set; }
[Newtonsoft.Json.JsonProperty("shipmentRateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ShipmentRateDetail ShipmentRateDetail { 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; }
}
}
}