namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes
{
///
/// 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.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public class RateRequestControlParameters
{
///
/// Indicate if the transit time and commit data are to be returned in the reply. Default value is false.<br>Valid values are TRUE and FALSE.
///
[Newtonsoft.Json.JsonProperty("returnTransitTimes", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public bool? ReturnTransitTimes { get; set; }
///
/// Specify the services to be requested if the rate data is not available.<br>Valid values are TRUE and FALSE.
///
[Newtonsoft.Json.JsonProperty("servicesNeededOnRateFailure", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public bool? ServicesNeededOnRateFailure { get; set; }
///
/// Specify service options whose combinations are to be considered when replying with available services.<br>Example: FREIGHT_GUARANTEE</br>
///
[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; }
///
/// This is a sort order you can specify to control the order of the response data. <br> Example: SERVICENAMETRADITIONAL</br> <br> <ul><li>SERVICENAMETRADITIONAL - data in order of highest to lowest service (Default)</li><li>COMMITASCENDING - data in order of ascending delivery committment</li><li>COMMITDESCENDING - data in order of descending delivery committment.</li></ul></br>
///
[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; }
}
}