1 | <?php |
||
7 | class ProcessBooking extends Model |
||
8 | { |
||
9 | /** |
||
10 | * Prediction of booker's next trips |
||
11 | * display conditionnext_trips=3 |
||
12 | * @var array of obj |
||
13 | */ |
||
14 | protected $next_trips; |
||
15 | |||
16 | /** |
||
17 | * A four-digit number used in combination with the booking number to give the customer access to view, |
||
18 | * modify or cancel their booking. In th test mode, this value will be '0000'. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $pincode; |
||
23 | |||
24 | /** |
||
25 | * Link to the google maps static map for this hotel's location. |
||
26 | * It is only displayed for Windows 8.0 affiliate ids. |
||
27 | * display conditionaffiliate_id=000000 |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $gmaps_url; |
||
32 | |||
33 | /** |
||
34 | * A nine or ten digit number that uniquely identifies the booking that was just made. |
||
35 | * In the test mode, this value will be '0'. |
||
36 | * |
||
37 | * @var int |
||
38 | */ |
||
39 | protected $reservation_id; |
||
40 | |||
41 | /** |
||
42 | * display conditionextras=hotel_contact_info |
||
43 | * @var object |
||
44 | */ |
||
45 | protected $hotel_contact_info; |
||
46 | |||
47 | /** |
||
48 | * @return array of objects |
||
49 | */ |
||
50 | public function getNextTrips(): ?array |
||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getPincode(): string |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getGmapsUrl(): ?string |
||
70 | |||
71 | /** |
||
72 | * @return int |
||
73 | */ |
||
74 | public function getReservationId(): int |
||
78 | |||
79 | /** |
||
80 | * @return object |
||
81 | */ |
||
82 | public function getHotelContactInfo(): stdClass |
||
86 | |||
87 | /** |
||
88 | * @return array |
||
89 | */ |
||
90 | protected function getAttributeMap(): array |
||
100 | } |
||
101 |