// Arup Guha
// 9/27/2026
// Ticket class for COP 3330 Program 4 (Fall 2026)

public class Ticket {

	private char row;
	private int seatNum;
	private int faceValueCost;

	// Typical constructor.
	public Ticket(char thisRow, int thisSeat, int initCost) {
		row = thisRow;
		seatNum = thisSeat;
		faceValueCost = initCost;
	}
	
	// Getter - returns a ticket's face value.
	public int getFaceValue() {
		return faceValueCost;
	}
	
	// To String defines out a single ticket prints out.
	public String toString() {
		return ""+row+" "+seatNum+" $"+faceValueCost;
	}

}