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.

48 lines
3.0 KiB
C#

namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
{
/// <summary>
/// Use this object to specify the smartpost shipment details. &lt;br&gt;Required for SMARTPOST service. If SmartPostInfoDetail is indicated, the elements below it are also required.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class SmartPostInfoDetail
{
/// <summary>
/// Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.&lt;br&gt;Example: RETURN_SERVICE
/// </summary>
[Newtonsoft.Json.JsonProperty("ancillaryEndorsement", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public SmartPostInfoDetailAncillaryEndorsement? AncillaryEndorsement { get; set; }
/// <summary>
/// Required&lt;br&gt;Specify the HubID using the four-digit numeric value.&lt;br&gt;Example: 5015
/// </summary>
[Newtonsoft.Json.JsonProperty("hubId", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string HubId { get; set; }
/// <summary>
/// Specify the indicia type.&lt;br&gt;Available options include:&lt;ul&gt;&lt;li&gt;MEDIA_MAIL&lt;/li&gt;&lt;li&gt;PARCEL_SELECT (1 LB through 70 LB)&lt;/li&gt;&lt;li&gt;PRESORTED_BOUND_PRINTED_MATTER&lt;/li&gt;&lt;li&gt;PRESORTED_STANDARD (less than 1 LB)&lt;/li&gt;&lt;li&gt;PARCEL_RETURN&lt;/li&gt;&lt;/ul&gt;Example:PRESORTED_STANDARD
/// </summary>
[Newtonsoft.Json.JsonProperty("indicia", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public SmartPostInfoDetailIndicia Indicia { get; set; }
/// <summary>
/// SmartPost Shipment Special Service Type&lt;br&gt;Example: USPS_DELIVERY_CONFIRMATION
/// </summary>
[Newtonsoft.Json.JsonProperty("specialServices", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public SmartPostInfoDetailSpecialServices? SpecialServices { 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; }
}
}
}