ReadonlynameThe customer's display name.
ReadonlyphoneThe customer's phone number.
ReadonlyemailThe customer's email address.
Optional ReadonlylanguageThe customer's preferred language code (e.g. "en-US", "fr-CA").
Sourced from the top-level customerLanguageCode field on the interaction. The SDK
does not validate the value — the server is the authority for accepted formats
(typically BCP-47). undefined when the server has no language code stored.
Updates the customer's display name.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The display name to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's phone number.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The phone number to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's email address.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The email address to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's preferred language code.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The language code to associate with the customer (e.g. "en-US", "fr-CA")
Promise that resolves when the server confirms the update.
Contract implemented by Customer that describes the API surface for the customer involved in an interaction. Consume this interface when you need to reference the Customer API shape without coupling to the concrete class (e.g. in test doubles).
See