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.

41 lines
2.3 KiB
C#

2 months ago
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
/// <summary>
/// Indicate the contact details for this shipment.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class PartyContact
{
/// <summary>
/// Specify contact name. Maximum length is 70. &lt;br&gt;Note: Either the companyName or personName is mandatory.&lt;br&gt; Example: John Taylor
/// </summary>
[Newtonsoft.Json.JsonProperty("personName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string PersonName { get; set; }
/// <summary>
/// Specify contact email address. Maximum length is 80. &lt;br&gt; Example: sample@company.com
/// </summary>
[Newtonsoft.Json.JsonProperty("emailAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string EmailAddress { get; set; }
/// <summary>
/// Specify contact phone extension. Maximum length is 6. &lt;br&gt; Example: 1234
/// </summary>
[Newtonsoft.Json.JsonProperty("phoneExtension", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string PhoneExtension { get; set; }
/// <summary>
/// The shipper's phone number. &lt;br&gt;Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.&lt;br&gt;Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.&lt;br&gt;Example: 918xxxxx890
/// </summary>
[Newtonsoft.Json.JsonProperty("phoneNumber", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string PhoneNumber { get; set; }
/// <summary>
/// The shipper's company name. Max length is 35.&lt;br&gt;Example: FedEx
/// </summary>
[Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string CompanyName { get; set; }
}
}