this.client = client;
}
@Override
public GibddFines getFines(Vehicle vehicle) throws APITatarException {
HttpQueryParams params = new HttpQueryParams();
params.put("vehicle[number]", vehicle.getLatinizeNumber());
params.put("vehicle[region]", vehicle.getRegion());
params.put("vehicle[document_number]", vehicle.getPassport());
return client.get(
new APITatarAuthRequest("services/gibdd/fines", params),
new GibddFinesModelFactory()