redeemRewardAsync

open fun redeemRewardAsync(rewardId: String, request: RewardRedemptionRequest, cancellationSignal: CancellationSignal?, callback: WalletCallback<RewardRedemption>)

Asynchronously redeem an active reward.

Parameters

rewardId

The identifier of the reward in the reward store.

request

Customer's request of a reward.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.