9
9
*/
10
10
@ ToString
11
11
public class HotelOffer extends Resource {
12
- protected HotelOffer () {}
13
-
14
12
private @ Getter String type ;
15
13
private @ Getter Hotel hotel ;
16
14
private @ Getter boolean available ;
17
15
private @ Getter Offer [] offers ;
18
16
17
+ protected HotelOffer () {}
18
+
19
19
/**
20
20
* An HotelOffer-related object as returned by the HotelOffers API.
21
21
* @see com.amadeus.shopping.HotelOffers#get()
22
22
*/
23
23
@ ToString
24
24
public class Hotel {
25
- protected Hotel () {}
26
-
27
25
private @ Getter String type ;
28
26
private @ Getter String hotelId ;
29
27
private @ Getter String chainCode ;
@@ -40,6 +38,8 @@ protected Hotel() {}
40
38
private @ Getter HotelDistance hotelDistance ;
41
39
private @ Getter AddressType address ;
42
40
private @ Getter HotelContact contact ;
41
+
42
+ protected Hotel () {}
43
43
}
44
44
45
45
/**
@@ -48,8 +48,6 @@ protected Hotel() {}
48
48
*/
49
49
@ ToString
50
50
public class Offer extends Resource {
51
- protected Offer () {}
52
-
53
51
private @ Getter String type ;
54
52
private @ Getter String id ;
55
53
private @ Getter Integer roomQuantity ;
@@ -63,6 +61,8 @@ protected Offer() {}
63
61
private @ Getter Guests guests ;
64
62
private @ Getter HotelPrice price ;
65
63
private @ Getter PolicyDetails policies ;
64
+
65
+ protected Offer () {}
66
66
}
67
67
68
68
/**
@@ -71,11 +71,11 @@ protected Offer() {}
71
71
*/
72
72
@ ToString
73
73
public class HotelDistance {
74
- protected HotelDistance () {}
75
-
76
74
private @ Getter String description ;
77
75
private @ Getter double distance ;
78
76
private @ Getter String distanceUnit ;
77
+
78
+ protected HotelDistance () {}
79
79
}
80
80
81
81
/**
@@ -84,10 +84,10 @@ protected HotelDistance() {}
84
84
*/
85
85
@ ToString
86
86
public class RateFamily {
87
- protected RateFamily () {}
88
-
89
87
private @ Getter String code ;
90
88
private @ Getter String type ;
89
+
90
+ protected RateFamily () {}
91
91
}
92
92
93
93
/**
@@ -96,11 +96,11 @@ protected RateFamily() {}
96
96
*/
97
97
@ ToString
98
98
public class Commission {
99
- protected Commission () {}
100
-
101
99
private @ Getter String percentage ;
102
100
private @ Getter String amount ;
103
101
private @ Getter TextWithLanguageType description ;
102
+
103
+ protected Commission () {}
104
104
}
105
105
106
106
/**
@@ -109,11 +109,11 @@ protected Commission() {}
109
109
*/
110
110
@ ToString
111
111
public class RoomDetails {
112
- protected RoomDetails () {}
113
-
114
112
private @ Getter String type ;
115
113
private @ Getter EstimatedRoomType typeEstimated ;
116
114
private @ Getter TextWithLanguageType description ;
115
+
116
+ protected RoomDetails () {}
117
117
}
118
118
119
119
/**
@@ -122,11 +122,11 @@ protected RoomDetails() {}
122
122
*/
123
123
@ ToString
124
124
public class EstimatedRoomType {
125
- protected EstimatedRoomType () {}
126
-
127
125
private @ Getter String category ;
128
126
private @ Getter Integer beds ;
129
127
private @ Getter String bedType ;
128
+
129
+ protected EstimatedRoomType () {}
130
130
}
131
131
132
132
/**
@@ -135,13 +135,13 @@ protected EstimatedRoomType() {}
135
135
*/
136
136
@ ToString
137
137
public class HotelPrice {
138
- protected HotelPrice () {}
139
-
140
138
private @ Getter String currency ;
141
139
private @ Getter String total ;
142
140
private @ Getter String base ;
143
141
private @ Getter HotelTax [] taxes ;
144
142
private @ Getter PriceVariations variations ;
143
+
144
+ protected HotelPrice () {}
145
145
}
146
146
147
147
/**
@@ -150,8 +150,6 @@ protected HotelPrice() {}
150
150
*/
151
151
@ ToString
152
152
public class HotelTax {
153
- protected HotelTax () {}
154
-
155
153
private @ Getter String currency ;
156
154
private @ Getter String amount ;
157
155
private @ Getter String code ;
@@ -160,6 +158,8 @@ protected HotelTax() {}
160
158
private @ Getter String description ;
161
159
private @ Getter String pricingFrequency ;
162
160
private @ Getter String pricingMode ;
161
+
162
+ protected HotelTax () {}
163
163
}
164
164
165
165
/**
@@ -168,10 +168,10 @@ protected HotelTax() {}
168
168
*/
169
169
@ ToString
170
170
public class PriceVariations {
171
- protected PriceVariations () {}
172
-
173
171
private @ Getter BaseTotalAmount average ;
174
172
private @ Getter PriceVariation [] changes ;
173
+
174
+ protected PriceVariations () {}
175
175
}
176
176
177
177
/**
@@ -180,12 +180,12 @@ protected PriceVariations() {}
180
180
*/
181
181
@ ToString
182
182
public class PriceVariation {
183
- protected PriceVariation () {}
184
-
185
183
private @ Getter String startDate ;
186
184
private @ Getter String endDate ;
187
185
private @ Getter String base ;
188
186
private @ Getter String total ;
187
+
188
+ protected PriceVariation () {}
189
189
}
190
190
191
191
/**
@@ -194,10 +194,10 @@ protected PriceVariation() {}
194
194
*/
195
195
@ ToString
196
196
public class BaseTotalAmount {
197
- protected BaseTotalAmount () {}
198
-
199
197
private @ Getter String base ;
200
198
private @ Getter String total ;
199
+
200
+ protected BaseTotalAmount () {}
201
201
}
202
202
203
203
/**
@@ -206,10 +206,10 @@ protected BaseTotalAmount() {}
206
206
*/
207
207
@ ToString
208
208
public class Guests {
209
- protected Guests () {}
210
-
211
209
private @ Getter Integer adults ;
212
210
private @ Getter Integer [] childAges ;
211
+
212
+ protected Guests () {}
213
213
}
214
214
215
215
/**
@@ -218,10 +218,10 @@ protected Guests() {}
218
218
*/
219
219
@ ToString
220
220
public class TextWithLanguageType {
221
- protected TextWithLanguageType () {}
222
-
223
221
private @ Getter String lang ;
224
222
private @ Getter String text ;
223
+
224
+ protected TextWithLanguageType () {}
225
225
}
226
226
227
227
/**
@@ -230,10 +230,10 @@ protected TextWithLanguageType() {}
230
230
*/
231
231
@ ToString
232
232
public class MediaURI {
233
- protected MediaURI () {}
234
-
235
233
private @ Getter String uri ;
236
234
private @ Getter String category ;
235
+
236
+ protected MediaURI () {}
237
237
}
238
238
239
239
/**
@@ -242,13 +242,13 @@ protected MediaURI() {}
242
242
*/
243
243
@ ToString
244
244
public class AddressType {
245
- protected AddressType () {}
246
-
247
245
private @ Getter String [] lines ;
248
246
private @ Getter String postalCode ;
249
247
private @ Getter String cityName ;
250
248
private @ Getter String countryCode ;
251
249
private @ Getter String stateCode ;
250
+
251
+ protected AddressType () {}
252
252
}
253
253
254
254
/**
@@ -257,11 +257,11 @@ protected AddressType() {}
257
257
*/
258
258
@ ToString
259
259
public class HotelContact {
260
- protected HotelContact () {}
261
-
262
260
private @ Getter String phone ;
263
261
private @ Getter String fax ;
264
262
private @ Getter String email ;
263
+
264
+ protected HotelContact () {}
265
265
}
266
266
267
267
/**
@@ -270,14 +270,14 @@ protected HotelContact() {}
270
270
*/
271
271
@ ToString
272
272
public class PolicyDetails {
273
- protected PolicyDetails () {}
274
-
275
273
private @ Getter GuaranteePolicy guarantee ;
276
274
private @ Getter GuaranteePolicy deposit ;
277
275
private @ Getter GuaranteePolicy prepay ;
278
276
private @ Getter GuaranteePolicy holdTime ;
279
277
private @ Getter CancellationPolicy cancellation ;
280
278
private @ Getter CheckInOutPolicy checkInOut ;
279
+
280
+ protected PolicyDetails () {}
281
281
}
282
282
283
283
/**
@@ -286,13 +286,12 @@ protected PolicyDetails() {}
286
286
*/
287
287
@ ToString
288
288
public class CheckInOutPolicy {
289
-
290
- protected CheckInOutPolicy () {}
291
-
292
289
private @ Getter String checkIn ;
293
290
private @ Getter TextWithLanguageType checkInDescription ;
294
291
private @ Getter String checkOut ;
295
292
private @ Getter TextWithLanguageType checkOutDescription ;
293
+
294
+ protected CheckInOutPolicy () {}
296
295
}
297
296
298
297
/**
@@ -301,12 +300,12 @@ protected CheckInOutPolicy() {}
301
300
*/
302
301
@ ToString
303
302
public class GuaranteePolicy {
304
- protected GuaranteePolicy () {}
305
-
306
303
private @ Getter String amount ;
307
304
private @ Getter String deadline ;
308
305
private @ Getter TextWithLanguageType description ;
309
306
private @ Getter PaymentPolicy acceptedPayments ;
307
+
308
+ protected GuaranteePolicy () {}
310
309
}
311
310
312
311
/**
@@ -315,14 +314,14 @@ protected GuaranteePolicy() {}
315
314
*/
316
315
@ ToString
317
316
public class CancellationPolicy {
318
- protected CancellationPolicy () {}
319
-
320
317
private @ Getter String type ;
321
318
private @ Getter String amount ;
322
319
private @ Getter Integer numberOfNights ;
323
320
private @ Getter String percentage ;
324
321
private @ Getter String deadline ;
325
322
private @ Getter TextWithLanguageType description ;
323
+
324
+ protected CancellationPolicy () {}
326
325
}
327
326
328
327
/**
@@ -331,9 +330,9 @@ protected CancellationPolicy() {}
331
330
*/
332
331
@ ToString
333
332
public class PaymentPolicy {
334
- protected PaymentPolicy () {}
335
-
336
333
private @ Getter String [] creditCards ;
337
334
private @ Getter String method ;
335
+
336
+ protected PaymentPolicy () {}
338
337
}
339
338
}
0 commit comments