namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
{
///
/// This object is used to specify the Pending Shipment Type for Email label.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class PendingShipmentDetail
{
///
/// Specifies the pending shipment type. Must include the value: EMAIL for email return shipments. <br>Not applicable for other types of shipments<br>Example: EMAIL
///
[Newtonsoft.Json.JsonProperty("pendingShipmentType", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public PendingShipmentDetailPendingShipmentType PendingShipmentType { get; set; }
[Newtonsoft.Json.JsonProperty("processingOptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public PendingShipmentProcessingOptionsRequested ProcessingOptions { get; set; }
[Newtonsoft.Json.JsonProperty("recommendedDocumentSpecification", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public RecommendedDocumentSpecification RecommendedDocumentSpecification { get; set; }
[Newtonsoft.Json.JsonProperty("emailLabelDetail", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public EmailLabelDetail EmailLabelDetail { get; set; } = new EmailLabelDetail();
///
/// These are the reference document details with the shipment.
///
[Newtonsoft.Json.JsonProperty("attachedDocuments", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public System.Collections.Generic.ICollection AttachedDocuments { get; set; }
///
/// Specifies the Email Label expiration date. The maximum expiration date for an Email Return Label must be greater of equal to the day of the label request and not greater than 2 years in the future. Format[YYYY-MM-DD] <br>Example: 2020-01-01
///
[Newtonsoft.Json.JsonProperty("expirationTimeStamp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string ExpirationTimeStamp { get; set; }
}
}