Resend Prize Redemption Email
Resend prize redemption email.
Android
fun resendRedemptionEmail(prize: Prize): VsLiveData<EmailSentSuccessfully>
/**
* @property prize: A Challenges' Prize
* @return VsLiveData with EmailSentSuccessfully status
*/
val prize: Prize // Can be obtained from getAvailablePrizes
SDK.Prizing.resendRedemptionEmail(prize)
.observe(object : VsObserver<EmailSentSuccessfully>() {
override fun onError(error: Throwable) {}
override fun onChanged(t: PrizeRedeemedSuccessfully) {}
})
iOS
/// - Parameters:
/// - prizeId: The UUID of a prize instance
/// - completionHandler: Closure which returns a single prize
sendPrizeRedemptionEmail(prizeId: String, completionHandler: @escaping VersusApiResponse<Prize>)
Updated over 2 years ago