package Ġcom . brid ou _ n . beacon scanner . API Ċ Ċ import Ġcom . brid ou _ n . beacon scanner . models . Coupon Response Ċ import Ġcom . brid ou _ n . beacon scanner . models . Result Response Ċ import Ġcom . brid ou _ n . beacon scanner . models . Survey Request Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Observable Ċ import Ġretrofit 2 . http .* Ċ Ċ interface ĠData Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" result ") ĊĠĠĠ Ġfun Ġget Result (@ Query (" Dr ink ") Ġdrink State : ĠString ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" B ak ery ") Ġb ak ery State : ĠString ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" C andy ") Ġc andy State : ĠString ? Ġ= Ġnull ): ĠObservable < List < Result Response >> ĊĊĠĠĠ Ġ@ GET (" coupon /{ id }") ĊĠĠĠ Ġfun Ġget Coupon (@ Path (" id ") Ġid : ĠInt ): ĠObservable < List < Coupon Response >> ĊĊĠĠĠ Ġ@ GET (" coupon _ list ") ĊĠĠĠ Ġfun Ġget Coupon List (): ĠObservable < List < Coupon Response >> ĊĊĠĠĠ Ġ@ POST (" survey /") ĊĠĠĠ Ġfun Ġsend Survey Results (@ Body Ġrequest : ĠSurvey Request ): ĠComp letable Ċ }