namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes
{
///
/// Data for a package's rates, 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 PackageRateDetail
{
///
/// Indicates which weight was used for the rate, e.g. actual or dimensional. <br> Example: dimensional
///
[Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RatedWeightMethod { get; set; }
///
/// Specifies the sum of all taxes on this package.<br> Example: 1257.25
///
[Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalTaxes { get; set; }
///
/// The total discounts used in the rate calculation.<br> Example: 1257.2<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a>
///
[Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalFreightDiscounts { get; set; }
///
/// Identifies the manner in which the chargeRate for this line item was applied.<br> Example: 125
///
[Newtonsoft.Json.JsonProperty("baseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? BaseCharge { get; set; }
///
/// The total sum of all rebates applied to this package.Example: 12
///
[Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalRebates { get; set; }
///
/// Specifies the type used for this specific set of rate data.
///
[Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RateType { get; set; }
[Newtonsoft.Json.JsonProperty("billingWeight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public BillingWeight BillingWeight { get; set; }
///
/// Specifies the sum of freight charges.<br> Example: 10
///
[Newtonsoft.Json.JsonProperty("netFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? NetFreight { get; set; }
///
/// Specifies the list of all surcharges that apply to this package.
///
[Newtonsoft.Json.JsonProperty("surcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection Surcharges { get; set; }
///
/// The sum of all surcharges on the package.<br> Example: 569
///
[Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? TotalSurcharges { get; set; }
///
/// Specifies the sum of packages netFreight and totalSurcharges (not including totalTaxes).<br> Example: 125.32
///
[Newtonsoft.Json.JsonProperty("netFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? NetFedExCharge { get; set; }
///
/// Specifies the sum of packages netFreight, totalSurcharges and totalTaxes. <br>Example: 563.98
///
[Newtonsoft.Json.JsonProperty("netCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public double? NetCharge { get; set; }
///
/// All rate discounts that apply to this shipment.<br><a onclick='loadDocReference("discounts")'>Click here to see Discounts</a>
///
[Newtonsoft.Json.JsonProperty("freightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection FreightDiscounts { 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; }
}
}
}