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.
50 lines
3.4 KiB
C#
50 lines
3.4 KiB
C#
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
|
|
{
|
|
/// <summary>
|
|
/// This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the US).
|
|
/// </summary>
|
|
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
|
|
public partial class PartyAddress
|
|
{
|
|
/// <summary>
|
|
/// Combination of number, street name, etc. At least one line is required for a valid physical address. Empty lines should not be included. Max Length is 35.<br>Example: [1550 Union Blvd,Suite 302]
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("streetLines", Required = Newtonsoft.Json.Required.Always)]
|
|
[System.ComponentModel.DataAnnotations.Required]
|
|
public System.Collections.Generic.ICollection<string> StreetLines { get; set; } = new System.Collections.ObjectModel.Collection<string>();
|
|
|
|
/// <summary>
|
|
/// The name of city, town of the recipient.Max length is 35.<br>Example: Beverly Hills
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)]
|
|
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
|
|
[System.ComponentModel.DataAnnotations.StringLength(35)]
|
|
public string City { get; set; }
|
|
|
|
/// <summary>
|
|
/// The US States,Canada and Puerto Rico Province codes of the recipient. The Format and presence of this field may vary depending on the country.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br>Example: CA
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("stateOrProvinceCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string StateOrProvinceCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// This is the postal code.<br>Note: This is Optional for non postal-aware countries. Maximum length is 10.<br>Example: 65247<br><a onclick='loadDocReference("postalawarecountries")'>click here to see Postal aware countries</a>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public string PostalCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// This is the two-letter country code.<br>Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference("countrycodes")'>click here to see Country codes</a>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("countryCode", Required = Newtonsoft.Json.Required.Always)]
|
|
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
|
|
public string CountryCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indicates whether this address is residential (as opposed to commercial).<br>Example: false
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("residential", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
public bool? Residential { get; set; }
|
|
|
|
}
|
|
} |