namespace TradeManageNew.APIClients.FedexApi.Models.RatesAndTransitTimes
{
///
/// The delivery commitment details
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Commit
{
///
/// Code indicating the number of transit days.<br> Example: EIGHTEEN_DAYS
///
[Newtonsoft.Json.JsonProperty("daysInTransit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public CommitDaysInTransit? DaysInTransit { get; set; }
///
/// Indicates if there is a guaranteed delivery option applied to the rate. This is for freight rates only.<br> Valid values<br>GUARANTEED_MORNING - guaranteed delivery on morning of date specified.<br>GUARANTEED_CLOSE_OF_BUSINESS - guaranteed delivery on date specified by close of day<br> Example: GUARANTEED_MORNING
///
[Newtonsoft.Json.JsonProperty("guaranteedType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public CommitGuaranteedType? GuaranteedType { get; set; }
///
/// CommitTime for SmartPost shipments.
///
[Newtonsoft.Json.JsonProperty("smartPostCommitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string SmartPostCommitTime { get; set; }
[Newtonsoft.Json.JsonProperty("dateDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public DateDetail DateDetail { get; set; }
[Newtonsoft.Json.JsonProperty("delayDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public DelayDetail DelayDetails { get; set; }
///
/// Specifies the saturdayDelivery.
///
[Newtonsoft.Json.JsonProperty("saturdayDelivery", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public bool? SaturdayDelivery { get; set; }
///
/// Specifies the alternate names of commodities.
///
[Newtonsoft.Json.JsonProperty("alternativeCommodityNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection AlternativeCommodityNames { get; set; }
[Newtonsoft.Json.JsonProperty("transitDays", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public TransitDays TransitDays { get; set; }
///
/// This is an informational message to inform client Deliverydate is unavailable. If commitTimestamp and transitTime are unavailable, then this is populated in the response in the client language.<br>Example: Deliverydate unavailable
///
[Newtonsoft.Json.JsonProperty("label", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string Label { get; set; }
///
/// Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message. <br> Example: Message
///
[Newtonsoft.Json.JsonProperty("commitMessageDetails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CommitMessageDetails { get; set; }
///
/// The Commodity applicable to this commitment.<br> Example: DOCUMENTS
///
[Newtonsoft.Json.JsonProperty("commodityName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CommodityName { 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; }
}
}
}