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#
41 lines
2.3 KiB
C#
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. <br>Note: Either the companyName or personName is mandatory.<br> 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. <br> 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. <br> 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. <br>Minimum length is 10 and supports maximum of 15 for certain countries using longer phone numbers.<br>Note: For US and CA, a phone number must have exactly 10 digits, plus an optional leading country code of '1' or '+1'.<br>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.<br>Example: FedEx
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("companyName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string CompanyName { get; set; }
|
|
|
|
}
|
|
} |