CustomerInfo

data class CustomerInfo(val id: String, val title: String?, val firstName: String, val lastName: String, val birthDate: String, val nationality: String?, val occupation: Occupation?, val vulnerabilities: List<Vulnerability>, val vulnerabilitiesApplicable: Boolean, val additionalAttributes: Map<String, String>, val serviceLevel: Int?, val externalId: String?, val address: Address?, val contactInfo: ContactInformation?, val type: String?, val restrictions: List<UserRestriction>, val accounts: List<Account>, val incompleteAttributes: List<IncompleteAttribute>, val preferences: Preferences?)

Data class representing customer information.

Constructors

Link copied to clipboard
constructor(id: String, title: String?, firstName: String, lastName: String, birthDate: String, nationality: String?, occupation: Occupation?, vulnerabilities: List<Vulnerability>, vulnerabilitiesApplicable: Boolean, additionalAttributes: Map<String, String>, serviceLevel: Int?, externalId: String?, address: Address?, contactInfo: ContactInformation?, type: String?, restrictions: List<UserRestriction>, accounts: List<Account>, incompleteAttributes: List<IncompleteAttribute>, preferences: Preferences?)

Properties

Link copied to clipboard

A list of Account's associated with the customer.

Link copied to clipboard

A list of additional attributes not covered in standard list. Specifics need to be aligned during integration with Paysafe.

Link copied to clipboard

The address associated with the customer.

Link copied to clipboard

The birth date of the customer in YYYY-MM-DD format.

Link copied to clipboard

The contact information associated with the customer.

Link copied to clipboard

External identifier in merchant system. Must be passed during onboarding.

Link copied to clipboard

The first name of the customer.

Link copied to clipboard
val id: String

Paysafe embedded wallet internal identifier.

Link copied to clipboard

A list of IncompleteAttribute that are missing for the customer.

Link copied to clipboard

The last name of the customer.

Link copied to clipboard

The nationality of the customer in ISO-3166 Alpha 2 format.

Link copied to clipboard

The occupation of the customer.

Link copied to clipboard

User-defined preferences related to data consent and marketing communication.

Link copied to clipboard

A list of UserRestriction's imposed on the customer.

Link copied to clipboard

The service level of the customer.

Link copied to clipboard

Personal title, Mr., Dr., etc.

Link copied to clipboard
val type: String?

The type of the customer.

Link copied to clipboard

A list of Vulnerability's associated with the customer.

Link copied to clipboard

A flag indicating if vulnerabilities are applicable to the customer.