// Path: app/src/main/java/dynoapps/exchange_rates/model/rates/BigparaRate.java
// public class BigparaRate extends BuySellRate {
// 
//     @Override
//     public void toRateType() {
//         int rateType = UNKNOWN;
//         String plain_type = type;
//         plain_type = plain_type.toLowerCase();
//         if (plain_type.contains("dolar")) {
//             rateType = USD;
//         } else if (plain_type.contains("euro")) {
//             rateType = EUR;
//         } else if (plain_type.contains("altın")) {
//             rateType = ONS_TRY;
//         } else if (plain_type.contains("parite")) {
//             rateType = EUR_USD;
//         }
//         this.rateType = rateType;
//     }
// }


import java.util.List;
import dynoapps.exchange_rates.model.rates.BigparaRate;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
package dynoapps.exchange_rates.network;



/**
 * Created by erdemmac on 25/11/2016.
 */

public interface BigparaService {
    @Headers({
            "Content-Type:text/html; charset=utf-8"
    })
    @GET("doviz/dolar/")
// Path: app/src/main/java/dynoapps/exchange_rates/model/rates/BigparaRate.java
// public class BigparaRate extends BuySellRate {
// 
//     @Override
//     public void toRateType() {
//         int rateType = UNKNOWN;
//         String plain_type = type;
//         plain_type = plain_type.toLowerCase();
//         if (plain_type.contains("dolar")) {
//             rateType = USD;
//         } else if (plain_type.contains("euro")) {
//             rateType = EUR;
//         } else if (plain_type.contains("altın")) {
//             rateType = ONS_TRY;
//         } else if (plain_type.contains("parite")) {
//             rateType = EUR_USD;
//         }
//         this.rateType = rateType;
//     }
// }


// Path: app/src/main/java/dynoapps/exchange_rates/network/BigparaService.java
import java.util.List;
import dynoapps.exchange_rates.model.rates.BigparaRate;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;

package dynoapps.exchange_rates.network;



/**
 * Created by erdemmac on 25/11/2016.
 */

public interface BigparaService {
    @Headers({
            "Content-Type:text/html; charset=utf-8"
    })
    @GET("doviz/dolar/")
    Observable<List<BigparaRate>> rates();