package com.andela.currencycalculator.model.currency;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Spykins on 20/02/2016.
 */
public class Currency {
    private String baseCurrency;
    private String currency;
    private double exchangeRate;
    private String dateCreated;


    public Currency(String baseCurrency, double exchangeRate, String currency) {
        this.baseCurrency = baseCurrency;
        this.exchangeRate = exchangeRate;
        this.currency = currency;
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        dateCreated = sdf.format(date);
    }

    public String getBaseCurrency() {
        return baseCurrency;
    }

    public double getExchangeRate() {
        return exchangeRate;
    }

    public String getCurrency() {
        return currency;
    }

    public String getDateCreated() {
        return dateCreated;
    }
}

@@ -943,11 +943,134 @@
 d;%0A    %7D
+%0A%0A    public String toString()%7B%0A        return getBaseCurrency() + %22 : %22 + getCurrency() + %22 : %22 + getExchangeRate();%0A    %7D
 %0A%7D%0A

Add toString method to Currency class