import java.util.Scanner;

//clothing doesn't need to be shipped
public class Clothing implements SaleItem {

    private int ID;
    private double price;
    private int size;
    private boolean purchased;

    private static Scanner in = new Scanner(System.in);

    public Clothing(int id, double price, int size) {
	ID = id;
	this.price = price;
	this.size = size;
	purchased = false;
    }

    public int getID() {return ID; }
    public double getPrice() {return price;}
    public int getSize() {return size;}
    public boolean getPurchased() {return purchased;}

    //no mutators b/c none of the above ever change

    //implement SaleItem
    //getPrice() already implemented above (note this was natural)
    public void purchase() {
	purchased = true;
    }
    public boolean purchased() {
	return getPurchased();
    }
}
