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