UpdateCustomerRequest

data class UpdateCustomerRequest(val title: String? = null, val firstName: String? = null, val lastName: String? = null, val birthDate: String? = null, val nationality: String? = null, val occupation: Occupation? = null, val vulnerabilities: List<Vulnerability>? = null, val additionalAttributes: Map<String, String>? = null, val address: UpdateAddressRequest? = null)

Data class representing the changed customer information.

Constructors

Link copied to clipboard
constructor(title: String? = null, firstName: String? = null, lastName: String? = null, birthDate: String? = null, nationality: String? = null, occupation: Occupation? = null, vulnerabilities: List<Vulnerability>? = null, additionalAttributes: Map<String, String>? = null, address: UpdateAddressRequest? = null)

Properties

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 new address associated with the customer.

Link copied to clipboard
val birthDate: String? = null

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

Link copied to clipboard
val firstName: String? = null

The first name of the customer.

Link copied to clipboard
val lastName: String? = null

The last name of the customer.

Link copied to clipboard
val nationality: String? = null

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

Link copied to clipboard
val occupation: Occupation? = null

The occupation of the customer.

Link copied to clipboard
val title: String? = null

Personal title, Mr., Dr., etc.

Link copied to clipboard

A list of Vulnerability's associated with the customer.