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.4 KiB
C#

namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
/// <summary>
/// Use this object to specify required information for a shipment to be held at destination FedEx location.&lt;br&gt;&lt;i&gt;Note: This object HoldAtLocationDetail is Required, when HOLD_AT_LOCATION is chosen in the specialServiceTypes.&lt;/i&gt;
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class HoldAtLocationDetail
{
/// <summary>
/// This is an alphanumeric identifier used for Location/Facility Identification.&lt;br&gt;Example: YBZA&lt;br&gt;Note: &lt;ul&gt;&lt;li&gt;For HAL Shipment, Location ID is &lt;b&gt;REQUIRED&lt;/b&gt; to ensure packages are delivered to the right location.&lt;/li&gt;&lt;li&gt;Use endpoint [&lt;b&gt;Find Location&lt;/b&gt;] in [&lt;b&gt;Location Search API&lt;/b&gt;], to find the correct location ID for your shipment.&lt;/li&gt;&lt;/ul&gt;
/// </summary>
[Newtonsoft.Json.JsonProperty("locationId", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string LocationId { get; set; }
[Newtonsoft.Json.JsonProperty("locationContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ContactAndAddress LocationContactAndAddress { get; set; }
/// <summary>
/// Type of facility at which package/shipment is to be held.&lt;br&gt; Example: FEDEX_ONSITE
/// </summary>
[Newtonsoft.Json.JsonProperty("locationType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public HoldAtLocationDetailLocationType? LocationType { 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; }
}
}
}