/**
 * An encapsulation of an account that can be used to
 * purchase streaming music.
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Account
{
    private double       balance;
    private String       id;

    /**
     * Default Constructor
     */
    public Account()
    {
        id      = "";
        balance = 0.0;
    }
    
    /**
     * Get the balance
     *
     * @return   The balance
     */
    public double getBalance()
    {
       return balance;       
    }

    /**
     * Get the ID
     *
     * @return   The ID
     */
    public String getID()
    {
       return id;       
    }
    
    /**
     * Set the balance for this account
     *
     * @param balance   The new balance
     */
    public void setBalance(double balance)
    {
       this.balance = balance;
    }
    
    /**
     * Set the ID for this account
     *
     * @param id   The ID
     */
    public void setID(String id)
    {
       this.id = id;       
    }
    
}
