package org.initialde.yakasave.Api.Responses;

import java.time.LocalDate;

public abstract class RetrievedSavingsFound {
    protected String goalTitle;
    protected double goalAmount;
    protected double currentBalance;
    protected String reference;
    protected LocalDate launchDate;
    protected LocalDate deadline;

    public RetrievedSavingsFound(String goalTitle,
                                 double goalAmount,
                                 double currentBalance,
                                 String reference,
                                 LocalDate launchDate,
                                 LocalDate deadline) {
        this.goalTitle = goalTitle;
        this.goalAmount = goalAmount;
        this.currentBalance = currentBalance;
        this.reference = reference;
        this.launchDate = launchDate;
        this.deadline = deadline;
    }
}
