enroll Customer Async
open fun enrollCustomerAsync(enrollment: LoyaltyEnrollment, cancellationSignal: CancellationSignal?, callback: WalletCallback<LoyaltyCustomer>)
Asynchronously enrolls a customer in the loyalty program. Enrollment requires the customer's consent, which must be included in the request.
Parameters
enrollment
A LoyaltyEnrollment object with nickname and consent information
cancellation Signal
A signal for canceling the asynchronous operation (nullable).
callback
The callback to be invoked upon completion or error.