48 lines
1.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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