// Path: app/src/main/java/com/sanchez/fmf/model/MarketDetailResponseModel.java
// public class MarketDetailResponseModel {
// 
//     private MarketDetailModel market;
// 
//     public MarketDetailResponseModel() {}
// 
//     public MarketDetailModel getMarketdetails() {
//         return this.market;
//     }
// 
//     public void setMarketdetails(MarketDetailModel market) {
//         this.market = market;
//     }
// }
// 
// Path: app/src/main/java/com/sanchez/fmf/model/MarketListResponseModel.java
// public class MarketListResponseModel {
// 
//     private List<MarketListItemModel> markets;
// 
//     public MarketListResponseModel() {}
// 
//     public List<MarketListItemModel> getMarkets() {
//         return this.markets;
//     }
// 
//     public void setMarkets(List<MarketListItemModel> markets) {
//         this.markets = markets;
//     }
// }


import com.sanchez.fmf.model.MarketDetailResponseModel;
import com.sanchez.fmf.model.MarketListResponseModel;
import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Query;
package com.sanchez.fmf.service;



/**
 * Created by dakota on 9/2/15.
 */
public interface MarketService {

    @GET("/api/v1/markets")
// Path: app/src/main/java/com/sanchez/fmf/model/MarketDetailResponseModel.java
// public class MarketDetailResponseModel {
// 
//     private MarketDetailModel market;
// 
//     public MarketDetailResponseModel() {}
// 
//     public MarketDetailModel getMarketdetails() {
//         return this.market;
//     }
// 
//     public void setMarketdetails(MarketDetailModel market) {
//         this.market = market;
//     }
// }
// 
// Path: app/src/main/java/com/sanchez/fmf/model/MarketListResponseModel.java
// public class MarketListResponseModel {
// 
//     private List<MarketListItemModel> markets;
// 
//     public MarketListResponseModel() {}
// 
//     public List<MarketListItemModel> getMarkets() {
//         return this.markets;
//     }
// 
//     public void setMarkets(List<MarketListItemModel> markets) {
//         this.markets = markets;
//     }
// }


// Path: app/src/main/java/com/sanchez/fmf/service/MarketService.java
import com.sanchez.fmf.model.MarketDetailResponseModel;
import com.sanchez.fmf.model.MarketListResponseModel;
import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Query;

package com.sanchez.fmf.service;



/**
 * Created by dakota on 9/2/15.
 */
public interface MarketService {

    @GET("/api/v1/markets")
    void getMarkets(@Query("x") double lng, @Query("y") double lat, @Query("dist") double distance, Callback<MarketListResponseModel> cb);