-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct.go
43 lines (27 loc) · 957 Bytes
/
product.go
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
/*
* Hotelspro Api Client
*
* Hotelspro Api Client
*
* OpenAPI spec version: 2.0.0
* Contact: [email protected]
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
package hotelspro_client
type Product struct {
// product code
Code string `json:"code,omitempty"`
Offer bool `json:"offer,omitempty"`
PayAtHotel bool `json:"pay_at_hotel,omitempty"`
Nonrefundable bool `json:"nonrefundable,omitempty"`
Price string `json:"price,omitempty"`
Currency string `json:"currency,omitempty"`
Rooms []Room `json:"rooms,omitempty"`
SupportsCancellation bool `json:"supports_cancellation,omitempty"`
HotelCurrency string `json:"hotel_currency,omitempty"`
HotelPrice string `json:"hotel_price,omitempty"`
MealType string `json:"meal_type,omitempty"`
Policies []Policy `json:"policies,omitempty"`
MinimumSellingPrice string `json:"minimum_selling_price,omitempty"`
View bool `json:"view,omitempty"`
}