/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/USEmbassyIA 2 Nirvan - Final/src/usembassyia/Trip.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package usembassyia;
 7 
 8 /**
 9  *
10  * @author 21293
11  */
12 public class Trip {
13     
14     private String date = "Not Set Yet";
15     private Courier courier;
16     private Destination destination;
17     
18     public Trip(){
19         
20     }
21     
22     public Trip(Courier courier, Destination destination, String date){
23        this.courier = courier;
24        this.date= date;
25        this.destination = destination;
26     }
27     
28     public void setCourier( Courier courier){
29         this.courier = courier;
30         
31     }   
32     public void setDestination(Destination destination){
33         this.destination = destination;
34     }
35     public void setDate(String date){
36         this.date = date;
37         
38     }
39     
40     public Courier getTripCourier(){
41         return courier;
42     }
43     
44     public Destination getTripDestination(){
45         return destination;
46         
47     }
48     public String getTripDate(){
49         return date;
50     }
51 }
52