Coupon Repository
This repository give access to DLO Coupon info for Lotto and other number games.
Functions
Link copied to clipboard
fun addCouponIdToFavorite(favoriteId: String, couponId: String, sessionToken: String): Single<FavoriteCoupon>
Link copied to clipboard
fun createFavoriteCoupon(favoriteName: String, couponId: String, sessionToken: String): Single<FavoriteCoupon>
Link copied to clipboard
Link copied to clipboard
fun getAllActiveGroupPlayCoupons(groupId: Long, sessionToken: String): Single<List<GroupPlayListItem>>
getAllActiveGroupPlayCoupons, This Single will emmit a list of GroupPlayListItem containing all active coupons
Link copied to clipboard
fun getAllCompletedGroupPlayCoupons(groupId: Long, sessionToken: String): Single<List<GroupPlayListItem>>
getAllCompletedGroupPlayCoupons, This Single will emmit a list of GroupPlayListItem containing all completed coupons
Link copied to clipboard
Link copied to clipboard
getCouponInfo, This Single will emmit a Coupon
Link copied to clipboard
getCouponInfo, This Single will emmit a Coupon
Link copied to clipboard
getGameRules, This Single will emmit a Rules Object used for knowing when the different game type has prizes on a specific row.
Link copied to clipboard
Link copied to clipboard
fun getGroupCouponInfoByFundingId(playerId: String, fundingId: Long, groupPlayId: Long, sessionToken: String): Single<TemporaryGroupCoupon>
getCouponInfo, This Single will emmit a Coupon
Link copied to clipboard
fun updateFavoriteCoupon(favoriteId: String, favoriteName: String, sessionToken: String): Single<FavoriteCoupon>