             self.endLongitude = endLongitude
     }
     
-    var requestUrl : String {
-        get {
-            return "promotions"
-        }
+    var requestUrl: String {
+        return "promotions"
     }
     
-    var queryParameters : [ String : AnyObject ] {
-        get {
-            return [
-                "start_latitude" : startLatitude,
-                "start_longitude" : startLongitude,
-                "end_latitude" : endLatitude,
-                "end_longitude" : endLongitude
-            ]
-        }
+    var queryParameters: [ String : AnyObject ] {
+        return [
+            "start_latitude" : startLatitude,
+            "start_longitude" : startLongitude,
+            "end_latitude" : endLatitude,
+            "end_longitude" : endLongitude
+        ]
     }
     
-    var HTTPMethod : CRHTTPMethod {
-        get {
-            return CRHTTPMethod.GET
-        }
+    var HTTPMethod: CRHTTPMethod {
+        return CRHTTPMethod.GET
     }
 }
 


struct CRUberProductsRequest : CRUberRequest {
    
    var latitude : Double
    var longitude : Double
    
    init(withLatitude latitude : Double, longitude : Double) {
        self.latitude = latitude
        self.longitude = longitude
    }
    
    var requestUrl : String {
        get {
            return "products"
        }
    }
    
    var queryParameters : [ String : AnyObject ] {
        get {
            return [
                "latitude" : latitude,
                "longitude" : longitude
            ]
        }
    }
    
    var HTTPMethod : CRHTTPMethod {
        get {
            return CRHTTPMethod.GET
        }
    }
}

struct CRUberPriceEstimatesRequest : CRUberRequest {
    
    var startLatitude : Double
    var startLongitude : Double
    var endLatitude : Double
    var endLongitude : Double
    
    init(withStartLatitude
        startLatitude : Double,
        startLongitude : Double,
        endLatitude : Double,
        endLongitude: Double) {
            
            self.startLatitude = startLatitude

            self.endLongitude = endLongitude
    }
    
    var requestUrl: String {
        return "estimates/price"
    }
    
    var queryParameters: [ String : AnyObject ] {
        return [
            "start_latitude" : startLatitude,
            "start_longitude" : startLongitude,
            "end_latitude" : endLatitude,
            "end_longitude" : endLongitude
        ]
    }
    
    var HTTPMethod: CRHTTPMethod {
        return CRHTTPMethod.GET
    }
}


struct CRUberTimeEstimatesRequest : CRUberRequest {
    
    var startLatitude: Double
    var startLongitude: Double
    
    init(withStartLatitude
        startLatitude: Double,
        startLongitude: Double) {
            
            self.startLatitude = startLatitude
            self.startLongitude = startLongitude
    }
    
    var requestUrl: String {
        return "estimates/time"
    }
    
    var queryParameters: [ String : AnyObject ] {
        return [
            "start_latitude" : startLatitude,
            "start_longitude" : startLongitude
        ]
    }
    
    var HTTPMethod: CRHTTPMethod {
        return CRHTTPMethod.GET
    }
}

struct CRUberPromotionsRequest : CRUberRequest {
    
    var startLatitude: Double
    var startLongitude: Double
    var endLatitude: Double
    var endLongitude: Double
    
    init(withStartLatitude
        startLatitude: Double,
        startLongitude: Double,
        endLatitude: Double,
        endLongitude: Double) {
            
            self.startLatitude = startLatitude
