Select Git revision
Joel Andrew Wach authored
PSL.java 851 B
package assignment2;
public class PSL {
private String code;
private String type;
private String ticketCode;
private double licenseFee;
PSL(String code, String type, String ticketCode, double licenseFee){
this.setCode(code);
this.setType(type);
this.setTicketCode(ticketCode);
this.setLicenseFee(licenseFee);
}
public void setLicenseFee(double licenseFee) {
this.licenseFee = licenseFee;
}
public double getLicenseFee() {
return licenseFee;
}
public void setTicketCode(String ticketCode) {
this.ticketCode = ticketCode;
}
public String getTicketCode() {
return ticketCode;
}
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setCode(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}