Class Customer
Inherited Members
Namespace: Worldline.Connect.Sdk.V1.Domain
Assembly: Worldline.Connect.Sdk.dll
Syntax
public class Customer : CustomerBase
Properties
Account
Object containing data related to the account the customer has with you
Declaration
public CustomerAccount Account { get; set; }
Property Value
Type | Description |
---|---|
CustomerAccount |
AccountType
Type of the customer account that is used to place this order. Can have one of the following values:
- none - The account that was used to place the order with is a guest account or no account was used at all
- created - The customer account was created during this transaction
- existing - The customer account was an already existing account prior to this transaction
Declaration
public string AccountType { get; set; }
Property Value
Type | Description |
---|---|
string |
BillingAddress
Object containing billing address details
Declaration
public Address BillingAddress { get; set; }
Property Value
Type | Description |
---|---|
Address |
ContactDetails
Object containing contact details like email address and phone number
Declaration
public ContactDetails ContactDetails { get; set; }
Property Value
Type | Description |
---|---|
ContactDetails |
Device
Object containing information on the device and browser of the customer
Declaration
public CustomerDevice Device { get; set; }
Property Value
Type | Description |
---|---|
CustomerDevice |
FiscalNumber
The fiscal registration number of the customer or the tax registration number of the company in case of a business customer. Please find below specifics per country:
- Argentina - Consumer (DNI) with a length of 7 or 8 digits
- Argentina - Company (CUIT) with a length of 11 digits
- Brazil - Consumer (CPF) with a length of 11 digits
- Brazil - Company (CNPJ) with a length of 14 digits
- Chile - Consumer (RUT) with a length of 9 digits
- Colombia - Consumer (NIT) with a length of 8, 9 or 10 digits
- Denmark - Consumer (CPR-nummer or personnummer) with a length of 10 digits
- Dominican Republic - Consumer (RNC) with a length of 11 digits
- Finland - Consumer (Finnish: henkilötunnus (abbreviated as HETU)) with a length of 11 characters
- India - Consumer (PAN) with a length of 10 characters
- Mexico - Consumer (RFC) with a length of 13 digits
- Mexico - Company (RFC) with a length of 12 digits
- Norway - Consumer (fødselsnummer) with a length of 11 digits
- Peru - Consumer (RUC) with a length of 11 digits
- Sweden - Consumer (personnummer) with a length of 10 or 12 digits
- Uruguay - Consumer (CI) with a length of 8 digits
- Uruguay - Consumer (NIE) with a length of 9 digits
- Uruguay - Company (RUT) with a length of 12 digits
Declaration
public string FiscalNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
IsCompany
Indicates if the payer is a company or an individual
- true = This is a company
- false = This is an individual
Declaration
public bool? IsCompany { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IsPreviousCustomer
Specifies if the customer has a history of online shopping with the merchant
- true - The customer is a known returning customer
- false - The customer is new/unknown customer
Declaration
public bool? IsPreviousCustomer { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Locale
The locale that the customer should be addressed in (for 3rd parties). Note that some 3rd party providers only support the languageCode part of the locale, in those cases we will only use part of the locale provided.
Declaration
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
string |
PersonalInformation
Object containing personal information like name, date of birth and gender.
Declaration
public PersonalInformation PersonalInformation { get; set; }
Property Value
Type | Description |
---|---|
PersonalInformation |
ShippingAddress
Object containing shipping address details
Declaration
[Obsolete("Use Order.shipping.address instead")]
public AddressPersonal ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
AddressPersonal |