get Coupon Info By Barcode
fun getCouponInfoByBarcode(barcode: String, sessionToken: String? = null, accessToken: String? = null): Single<Coupon>
getCouponInfo, This Single will emmit a Coupon
Return
a Single that emits the Coupon info.
Parameters
barcode
the barcode of the coupon to get info from.
session Token
optional token of the user, should be parsed on if a user is logged in and the token is available.
access Token
optional JWT access token of the user, should be parsed on if a user is logged in and the token is available.