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.
172 lines
10 KiB
C#
172 lines
10 KiB
C#
namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
|
|
{
|
|
/// <summary>
|
|
/// This is a placeholder for shipment total/summary rates details, as calculated per a specific rate type. The totals may differ from the sum of corresponding package data for Multiweight or Express MPS.
|
|
/// </summary>
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public partial class ShipmentRateDetail
|
|
{
|
|
/// <summary>
|
|
/// Indicates the rate zone used (based on origin and destination).<br>Example: US001O
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("rateZone", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string RateZone { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates which weight was used.<br>Example: ACTUAL
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("ratedWeightMethod", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string RatedWeightMethod { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total of the total duties & taxes and the total ancillary fees & taxes.<br>Example: 24.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalDutiesTaxesAndFees", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalDutiesTaxesAndFees { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies pricing Code.<br>Example: PACKAGE
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("pricingCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string PricingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total discounts used in the rate calculation.<br>Example: 1.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalFreightDiscounts", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalFreightDiscounts { get; set; }
|
|
|
|
/// <summary>
|
|
/// Total of the transportation-based taxes.<br>Example: 3.45
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalTaxes { get; set; }
|
|
|
|
/// <summary>
|
|
/// Total of all values under this shipment's duties and taxes; only provided if estimated duties and taxes were calculated for this shipment.<br>Example: 6.78
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalDutiesAndTaxes { get; set; }
|
|
|
|
/// <summary>
|
|
/// Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.<br>Example: 5.67
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalAncillaryFeesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalAncillaryFeesAndTaxes { get; set; }
|
|
|
|
/// <summary>
|
|
/// All transportation-based taxes applicable to this shipment.
|
|
/// </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>
|
|
/// The total sum of all rebates applied to this shipment.<br>Example: 1.98
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalRebates", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalRebates { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specifies a fuel surcharge percentage.<br>Example: 4.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("fuelSurchargePercent", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? FuelSurchargePercent { get; set; }
|
|
|
|
[Newtonsoft.Json.JsonProperty("currencyExchangeRate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public CurrencyExchangeRate CurrencyExchangeRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// The freight charge minus discounts.<br>Example: 9.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalNetFreight", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalNetFreight { get; set; }
|
|
|
|
/// <summary>
|
|
/// This is the sum of shipment's total net freight, total surchages (not including totalTaxes).<br>Example: 88.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalNetFedExCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalNetFedExCharge { 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> ShipmentLegRateDetails { get; set; }
|
|
|
|
/// <summary>
|
|
/// The value used to calculate the weight based on the dimensions.<br>Example: 0
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("dimDivisor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public int? DimDivisor { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Type used for this specific set of rate data.<br>Example: RATED_ACCOUNT_SHIPMENT
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string RateType { get; set; }
|
|
|
|
/// <summary>
|
|
/// All surcharges that apply to this shipment.<br><a onclick='loadDocReference("surcharges")'>click here to see Surcharges</a>
|
|
/// </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 amount of all surcharges applied to this shipment.<br>Example: 9.88
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalSurcharges", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? 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; }
|
|
|
|
/// <summary>
|
|
/// Indicates the freight discounts.
|
|
/// </summary>
|
|
[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.<br>Example: 00000
|
|
/// </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.<br>Example: 3.78
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalNetCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalNetCharge { get; set; }
|
|
|
|
/// <summary>
|
|
/// The total Shipment charge that was calculated before surcharges, discounts and taxes.<br>Example: 234.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalBaseCharge", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalBaseCharge { get; set; }
|
|
|
|
/// <summary>
|
|
/// This is the sum of shipment's total net charges and 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: 222.56
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("totalNetChargeWithDutiesAndTaxes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public decimal? TotalNetChargeWithDutiesAndTaxes { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates the currency code.<br><a onclick='loadDocReference("currencycodes")'>click here to see Currency Codes</a>
|
|
/// </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; }
|
|
}
|
|
|
|
}
|
|
} |