Guest User

Untitled

a guest
Nov 21st, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public interface PromotionService {
  2.  
  3. @GET("/promotions")
  4. Observable<Response<List<Promotion>>> fetchPromotions();
  5.  
  6. @GET("/promotions/{promotion_id}/sales")
  7. Observable<Response<List<Sale>>> fetchSales(@Path("promotion_id") long promotionId);
  8.  
  9. @GET("/promotions/{promotion_id}/ads")
  10. Observable<Response<List<Ad>>> fetchAds(@Path("promotion_id") long promotionId);
  11.  
  12. }
Add Comment
Please, Sign In to add comment