using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace gehGassi.Klarna.Checkout { public class Address { /// /// Given name. /// /// Given name. [JsonProperty("given_name")] public string GivenName { get; set; } /// /// Family name. /// /// Family name. [JsonProperty("family_name")] public string FamilyName { get; set; } /// /// Gets or Sets OrganizationName /// [JsonProperty("organization_name")] public string OrganizationName { get; set; } /// /// E-mail address. /// /// E-mail address. [JsonProperty("email")] public string Email { get; set; } /// /// Title.Valid values for UK:Mr Ms Mrs Miss Valid values for DACH:Herr Frau Valid values for NL:Dhr.Mevr. /// /// Title.Valid values for UK:Mr</li>Ms</li>Mrs</li>Miss</li></ul>Valid values for DACH:Herr</li>Frau</li></ul>Valid values for NL:Dhr.</li>Mevr.</li></ul> [JsonProperty("title")] public string Title { get; set; } /// /// Street address, first line. /// /// Street address, first line. [JsonProperty("street_address")] public string StreetAddress { get; set; } /// /// Street address, second line. /// /// Street address, second line. [JsonProperty("street_address2")] public string StreetAddress2 { get; set; } /// /// Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See <b>streetNumber</b>. /// /// Street name. Only applicable in DE/AT/NL. Do not combine with street_address. See <b>streetNumber</b>. [JsonProperty("street_name")] public string StreetName { get; set; } /// /// Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See <b>streetName</b>. /// /// Street number. Only applicable in DE/AT/NL. Do not combine with street_address. See <b>streetName</b>. [JsonProperty("street_number")] public string StreetNumber { get; set; } /// /// House extension. Only applicable in NL /// /// House extension. Only applicable in NL [JsonProperty("house_extension")] public string HouseExtension { get; set; } /// /// Postal/post code. /// /// Postal/post code. [JsonProperty("postal_code")] public string PostalCode { get; set; } /// /// City. /// /// City. [JsonProperty("city")] public string City { get; set; } /// /// State or Region. /// /// State or Region. [JsonProperty("region")] public string Region { get; set; } /// /// Phone number. /// /// Phone number. [JsonProperty("phone")] public string Phone { get; set; } /// /// ISO 3166 alpha-2. Country. /// /// ISO 3166 alpha-2. Country. [JsonProperty("country")] public string Country { get; set; } /// /// Care of. /// /// Care of. [JsonProperty("care_of")] public string CareOf { get; set; } /// /// Gets or Sets Reference /// [JsonProperty("reference")] public string Reference { get; set; } /// /// Gets or Sets Attention /// [JsonProperty("attention")] public string Attention { get; set; } } }