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.

94 lines
5.4 KiB
C#

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