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.

36 lines
2.7 KiB
C#

namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes
{
/// <summary>
/// Specify the return transit times, services needed on rate failure, choice of variable option and order to sort rate options to filter and sort the expected response.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public class RateRequestControlParameters
{
/// <summary>
/// Indicate if the transit time and commit data are to be returned in the reply. Default value is false.&lt;br&gt;Valid values are TRUE and FALSE.
/// </summary>
[Newtonsoft.Json.JsonProperty("returnTransitTimes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public bool? ReturnTransitTimes { get; set; }
/// <summary>
/// Specify the services to be requested if the rate data is not available.&lt;br&gt;Valid values are TRUE and FALSE.
/// </summary>
[Newtonsoft.Json.JsonProperty("servicesNeededOnRateFailure", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public bool? ServicesNeededOnRateFailure { get; set; }
/// <summary>
/// Specify service options whose combinations are to be considered when replying with available services.&lt;br&gt;Example: FREIGHT_GUARANTEE&lt;/br&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("variableOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RateRequestControlParametersVariableOptions? VariableOptions { get; set; }
/// <summary>
/// This is a sort order you can specify to control the order of the response data. &lt;br&gt; Example: SERVICENAMETRADITIONAL&lt;/br&gt; &lt;br&gt; &lt;ul&gt;&lt;li&gt;SERVICENAMETRADITIONAL - data in order of highest to lowest service (Default)&lt;/li&gt;&lt;li&gt;COMMITASCENDING - data in order of ascending delivery committment&lt;/li&gt;&lt;li&gt;COMMITDESCENDING - data in order of descending delivery committment.&lt;/li&gt;&lt;/ul&gt;&lt;/br&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("rateSortOrder", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public RateRequestControlParametersRateSortOrder? RateSortOrder { get; set; }
}
}