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 Customer { /// /// The default supported value is 'person'. If B2B is enabled for the merchant, the value may be \"organization\". /// /// The default supported value is 'person'. If B2B is enabled for the merchant, the value may be \"organization\". [JsonProperty("type")] public string Type { get; set; } /// /// Customer’s gender - ‘male’ or ‘female’. /// /// Customer’s gender - ‘male’ or ‘female’. [JsonProperty("gender")] public string Gender { get; set; } /// /// Customer’s date of birth. The format is ‘yyyy-mm-dd’. ISO 8601 date. /// /// Customer’s date of birth. The format is ‘yyyy-mm-dd’. ISO 8601 date. [JsonProperty("date_of_birth")] public string DateOfBirth { get; set; } /// /// \"The organization's official registration id (organization number). Note: Applicable only for B2B orders.\" /// /// \"The organization's official registration id (organization number). Note: Applicable only for B2B orders.\" [JsonProperty("organization_registration_id")] public string OrganizationRegistrationId { get; set; } /// /// Organization VAT ID. Only applies for b2b orders. /// /// Organization VAT ID. Only applies for b2b orders. [JsonProperty("vat_id")] public string VatId { get; set; } } }