update Async
open fun updateAsync(preferences: CommunicationPreferencesUpdate, cancellationSignal: CancellationSignal?, callback: WalletCallback<CommunicationPreferences>)
Asynchronously updates the customer's communication preferences.
Parameters
preferences
The CommunicationPreferencesUpdate describing the changes to apply.
cancellation Signal
A signal for canceling the asynchronous operation (nullable).
callback
The callback to be invoked upon completion or error.