getCouponInfoByBarcode

fun getCouponInfoByBarcode(barcode: String, sessionToken: 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.

sessionToken

optional token of the user, should be parsed on if a user is logged in and the token is available.