-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCruseLine.php
More file actions
113 lines (96 loc) · 1.94 KB
/
CruseLine.php
File metadata and controls
113 lines (96 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
* Define the CruseLine model
*/
class CruseLine{
/**
* value of the offer Id
*/
private $offerId;
/**
* value of the offer Name
*/
private $offerName;
/**
* value of the depature date
*/
private $departureDate;
/**
* value of the itinerary
*/
private $itinerary;
/**
* value of the cruise name
*/
private $name;
/**
* value of the jpeg file for the logo
*/
private $logo;
/**
* value of the ship name
*/
private $shipName;
/**
* Create a new cruse line
*
* @param string $offerId
* @param string $offerName
* @param string $departureDate
* @param string $itinerary
* @param string $name
* @param string $logo
* @param string $shipName
*/
function __construct($offerId='',$offerName='',$departureDate='',$itinerary='',$name='',$logo='',$shipName=''){
$this->offerId = $offerId;
$this->offerName = $offerName;
$this->departureDate = $departureDate;
$this->itinerary = $itinerary;
$this->name = $name;
$this->logo = $logo;
$this->shipName = $shipName;
}
public function getOfferId(){
return $this->offerId;
}
public function setOfferId($value){
$this->offerId = $value;
}
public function getOfferName(){
return $this->offerName;
}
public function setOfferName($value){
$this->offerName = $value;
}
public function getDepartureDate(){
return $this->departureDate;
}
public function setDepartureDate($value){
$this->departureDate = $value;
}
public function getItinerary(){
return $this->itinerary;
}
public function setItinerary($value){
$this->itinerary = $value;
}
public function getName(){
return $this->name;
}
public function setName($value){
$this->name = $value;
}
public function getLogo(){
return $this->logo;
}
public function setLogo($value){
$this->logo = $value;
}
public function getShipName(){
return $this->shipName;
}
public function setShipName($value){
$this->shipName = $value;
}
}