Skip to content
Snippets Groups Projects
Select Git revision
  • 5bcfc9c6c971339c3b68b60da5762d6257fa76a5
  • master default
  • Project
3 results

PSL.java

Blame
  • 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;
    	}
    
    
    }