Documentation ¶
Index ¶
- Variables
- func ParseDateTime(layout string, value string) (*time.Time, error)
- func ParseLocalDateTime(layout string, value string) (*time.Time, error)
- type Board
- type CouponType
- type Date
- type Gender
- type HotelFeature
- type HotelStars
- type HotelType
- type LTSData
- type LTSHotelRepresentation
- type LTSHotelStatus
- type LocationType
- type MemberOfTourismAssociation
- type OfferType
- type PaymentMethod
- type RoomType
- type SpecialPremium
- type SpecialType
- type Theme
- type ThemeID
Constants ¶
This section is empty.
Variables ¶
View Source
var Boards = []Board{ BoardAny, BoardWithoutBoard, BoardWithBreakfast, BoardHalfBoard, BoardFullBoard, BoardAllInclusive, }
View Source
var CouponTypes = []CouponType{ CouponTypeVoucher, CouponTypePromotion, }
View Source
var Genders = []Gender{ GenderUnknown, GenderMale, GenderFemale, }
View Source
var HotelFeatures = []HotelFeature{ HotelFeatureGarage, HotelFeatureElevatorLift, HotelFeatureRestaurant, HotelFeatureGym, HotelFeatureWellness, HotelFeatureSpaCuisineHealthFoods, HotelFeatureContinentalBreakfastLuncheon, HotelFeatureBreakfastBuffet, HotelFeatureOutdoorPool, HotelFeatureIndoorPool, HotelFeatureBar, HotelFeatureBarrierFree, HotelFeatureWlan, HotelFeatureShuttleService, HotelFeatureChildcare, HotelFeatureSmallPetsAllowed, HotelFeatureBeautyFarm, HotelFeatureCentralLocation, HotelFeatureCoveredParking, HotelFeatureOpenParking, HotelFeatureMassages, HotelFeatureSauna, HotelFeatureSteamBath, HotelFeaturePublicBar, HotelFeatureDogsAllowed, }
View Source
var HotelStarsList = []HotelStars{ HotelStarsUndefined, HotelStars1, HotelStars2, HotelStars3, HotelStars3S, HotelStars4, HotelStars4S, HotelStars5, }
View Source
var HotelTypes = []HotelType{ HotelTypeUndefined, HotelTypeHotel, HotelTypeSkiSchool, HotelTypeResidence, HotelTypeBBAndAppartmentsPriv, HotelTypeFarmVacation, HotelTypeMountainInn, HotelTypeCampingSite, HotelTypeHolidayHome, HotelTypeYouthHostel, HotelTypeGuesthouse, HotelTypeRefuge, HotelTypeGarni, HotelTypeInn, }
View Source
var LTSHotelRepresentations = []LTSHotelRepresentation{ LTSHotelRepresentationUndefined, LTSHotelRepresentationDoNotDisplay, LTSHotelRepresentationMinimal, LTSHotelRepresentationComplete, }
View Source
var LTSHotelStatuses = []LTSHotelStatus{ LTSHotelStatusUndefined, LTSHotelActive, LTSHotelInactive, }
View Source
var LocationTypes = []LocationType{ LocationTypeArea, LocationTypeRegion, LocationTypeCommunity, LocationTypeLocation, LocationTypeVirtualLocation, }
View Source
var MemberOfTourismAssociations = []MemberOfTourismAssociation{ MemberOfTourismAssociationUndefined, MemberOfTourismAssociationFalse, MemberOfTourismAssociationTrue, }
View Source
var OfferTypes = []OfferType{ OfferTypePriceListStandardPrice, OfferTypeBasedOnAgeOfPeople, OfferTypeBasedOnNumberOfPeople, OfferTypeBasedOnStaying, OfferTypeBasedOnDateOfBooking, OfferTypeBasedOnWeekday, OfferTypeNoReference, OfferTypeSpecialBasedOnAgeOfPeople, OfferTypeSpecialBasedOnNumberOfPeople, OfferTypeSpecialBasedOnStaying, OfferTypeSpecialBasedOnDateOfBooking, OfferTypeSpecialBasedOnWeekday, OfferTypeSpecialNoReference, }
View Source
var PaymentMethods = []PaymentMethod{ PaymentMethodDepositByCreditCard, PaymentMethodCreditCardAsSecurity, PaymentMethodDepositByBankTransfer, PaymentMethodPaymentByCreditCard, PaymentMethodPaymentByBankTransfer, PaymentMethodPaymentAtTheHotel, }
View Source
var RoomTypes = []RoomType{ RoomTypeRoom, RoomTypeApartment, RoomTypeCampingPitch, }
View Source
var SpecialPremiums = []SpecialPremium{ SpecialPremiumVitalpina, SpecialPremiumFamilyHotelsPremium, SpecialPremiumVinumHotelsPremium, SpecialPremiumSüdtirolBalancePremium, SpecialPremiumVitalpinaDurchatmen, SpecialPremiumVitalpinaWohlfühlen, SpecialPremiumVitaplinaErnährung, SpecialPremiumVitaplinaAktiv, SpecialPremiumVitalpinaPremium, SpecialPremiumBikehotelsMountainbike, SpecialPremiumBikehotelsBikeTouringAndEbike, SpecialPremiumBikehotelsRoadbike, SpecialPremiumBikehotelsPremium, SpecialPremiumArchitectureDays, SpecialPremiumVinumHotels, SpecialPremiumFamilienHotels, SpecialPremiumFamilienHotelsNaturdetektivSommer, SpecialPremiumFamilienHotelsNaturdetektivWinter, }
View Source
var SpecialTypes = []SpecialType{ SpecialTypePackages, SpecialTypeSpecials, SpecialTypeMasterpackages, }
View Source
var ThemeIDs = []ThemeID{ ThemeIDHiking, ThemeIDCyclingMountainbike, ThemeIDFamily, ThemeIDWellnessHealth, ThemeIDFoodAndDrink, ThemeIDGolf, ThemeIDCulture, ThemeIDMotorsport, ThemeIDCarFreeHolidays, ThemeIDSkiSnowboard, ThemeIDSummerActivities, ThemeIDEvents, ThemeIDChristmasMarkets, ThemeIDActiveWinter, ThemeIDVitalpina, ThemeIDVitalpinaBreathe, ThemeIDBikeHotelsEBike, ThemeIDBikeHotelsFreeride, ThemeIDBikeHotelsMountainbike, ThemeIDBikeHotelsBikeTours, ThemeIDBikeHotelsRacingBike, ThemeIDFamilyHotels, ThemeIDFamilyHotelsNatureDetective, ThemeIDFamilyHotel, ThemeIDNatureDetectivSummer, ThemeIDNatureDetectivWinter, ThemeIDEcologicHoliday, ThemeIDHorseBackRiding, ThemeIDLuxuryHoliday, ThemeIDPetsFriendlyHoliday, ThemeIDRoadBike, ThemeIDRomanticHoliday, ThemeIDWine, ThemeIDBicycleTouring, ThemeIDEBike, }
View Source
var Themes = []Theme{ ThemeUndefined, ThemeFamily, ThemeWellness, ThemeHiking, ThemeMotorcycle, ThemeBike, ThemeGolf, ThemeRiding, ThemeRomantic, ThemeSki, ThemeMeeting, ThemeCrossCountrySkiing, ThemeCulture, ThemeSnowshoeing, ThemeSustainabilityLevel1, ThemeSustainabilityLevel2, ThemeSustainabilityLevel3, }
Functions ¶
Types ¶
type CouponType ¶
type CouponType string
const ( CouponTypeVoucher CouponType = "voucher" CouponTypePromotion CouponType = "promotion" )
type HotelFeature ¶
type HotelFeature int
const ( HotelFeatureGarage HotelFeature = 1 << iota HotelFeatureElevatorLift HotelFeatureRestaurant HotelFeatureGym HotelFeatureWellness HotelFeatureSpaCuisineHealthFoods HotelFeatureContinentalBreakfastLuncheon HotelFeatureBreakfastBuffet HotelFeatureOutdoorPool HotelFeatureIndoorPool HotelFeatureBar HotelFeatureBarrierFree HotelFeatureWlan HotelFeatureShuttleService HotelFeatureChildcare HotelFeatureSmallPetsAllowed HotelFeatureBeautyFarm HotelFeatureCentralLocation HotelFeature = 2 << iota HotelFeatureCoveredParking HotelFeatureOpenParking HotelFeatureMassages HotelFeatureSauna HotelFeatureSteamBath HotelFeaturePublicBar HotelFeatureDogsAllowed )
type HotelStars ¶
type HotelStars float64
const ( HotelStarsUndefined HotelStars = 0 HotelStars1 HotelStars = 1 HotelStars2 HotelStars = 2 HotelStars3 HotelStars = 3 HotelStars3S HotelStars = 3.5 HotelStars4 HotelStars = 4 HotelStars4S HotelStars = 4.5 HotelStars5 HotelStars = 5 )
type HotelType ¶
type HotelType int
const ( HotelTypeUndefined HotelType = 0 HotelTypeHotel HotelType = 1 << (iota - 1) HotelTypeSkiSchool HotelTypeResidence HotelTypeBBAndAppartmentsPriv HotelType = 2 << (iota - 1) HotelTypeFarmVacation HotelTypeMountainInn HotelTypeCampingSite HotelTypeHolidayHome HotelTypeYouthHostel HotelTypeGuesthouse HotelTypeRefuge HotelTypeGarni HotelTypeInn )
type LTSData ¶
type LTSData struct { A0Ene LTSHotelStatus `xml:"A0Ene"` A0MTV MemberOfTourismAssociation `xml:"A0MTV"` A0Rep LTSHotelRepresentation `xml:"A0Rep"` }
type LTSHotelRepresentation ¶
type LTSHotelRepresentation int
const ( LTSHotelRepresentationUndefined LTSHotelRepresentation = iota LTSHotelRepresentationDoNotDisplay LTSHotelRepresentationMinimal LTSHotelRepresentationComplete )
type LTSHotelStatus ¶
type LTSHotelStatus int
const ( LTSHotelStatusUndefined LTSHotelStatus = iota LTSHotelActive LTSHotelInactive )
type LocationType ¶
type LocationType string
const ( // Area = an Italian province or region (e.g. South Tyrol) LocationTypeArea LocationType = "ara" // Region is an area LocationTypeRegion LocationType = "reg" // Community = municipality LocationTypeCommunity LocationType = "com" // Location is a subdivision of a municipality LocationTypeLocation LocationType = "cit" // VirtualLocation = arbitrary group of one or more locations LocationTypeVirtualLocation LocationType = "vir" )
type MemberOfTourismAssociation ¶
type MemberOfTourismAssociation int
const ( MemberOfTourismAssociationUndefined MemberOfTourismAssociation = iota MemberOfTourismAssociationFalse MemberOfTourismAssociationTrue )
type OfferType ¶
type OfferType int
const ( OfferTypePriceListStandardPrice OfferType = 10 OfferTypeBasedOnAgeOfPeople OfferType = 20 OfferTypeBasedOnNumberOfPeople OfferType = 21 OfferTypeBasedOnStaying OfferType = 22 OfferTypeBasedOnDateOfBooking OfferType = 23 OfferTypeBasedOnWeekday OfferType = 24 OfferTypeNoReference OfferType = 25 OfferTypeSpecialBasedOnAgeOfPeople OfferType = 50 OfferTypeSpecialBasedOnNumberOfPeople OfferType = 51 OfferTypeSpecialBasedOnStaying OfferType = 52 OfferTypeSpecialBasedOnDateOfBooking OfferType = 53 OfferTypeSpecialBasedOnWeekday OfferType = 54 OfferTypeSpecialNoReference OfferType = 55 )
type PaymentMethod ¶
type PaymentMethod int
const ( PaymentMethodDepositByCreditCard PaymentMethod = 1 << iota PaymentMethodCreditCardAsSecurity PaymentMethodDepositByBankTransfer PaymentMethodPaymentByCreditCard PaymentMethodPaymentByBankTransfer PaymentMethodPaymentAtTheHotel )
type SpecialPremium ¶
type SpecialPremium int
const ( SpecialPremiumVitalpina SpecialPremium = 1 << iota SpecialPremiumFamilyHotelsPremium SpecialPremiumVinumHotelsPremium SpecialPremiumSüdtirolBalancePremium SpecialPremiumVitalpinaDurchatmen SpecialPremiumVitalpinaWohlfühlen SpecialPremiumVitaplinaErnährung SpecialPremiumVitaplinaAktiv SpecialPremiumVitalpinaPremium SpecialPremiumBikehotelsMountainbike SpecialPremiumBikehotelsBikeTouringAndEbike SpecialPremiumBikehotelsRoadbike SpecialPremiumBikehotelsPremium SpecialPremiumArchitectureDays SpecialPremiumVinumHotels SpecialPremiumFamilienHotels SpecialPremiumFamilienHotelsNaturdetektivSommer SpecialPremiumFamilienHotelsNaturdetektivWinter )
type SpecialType ¶
type SpecialType int
const ( SpecialTypePackages SpecialType = 1 << iota SpecialTypeSpecials SpecialTypeMasterpackages )
type Theme ¶
type Theme int
const ( ThemeUndefined Theme = 0 ThemeFamily Theme = 1 << (iota - 1) ThemeWellness ThemeHiking ThemeMotorcycle ThemeBike ThemeGolf ThemeRiding ThemeRomantic ThemeSki ThemeMeeting ThemeCrossCountrySkiing ThemeCulture ThemeSnowshoeing ThemeSustainabilityLevel1 Theme = 1 << 22 << iota ThemeSustainabilityLevel2 ThemeSustainabilityLevel3 )
type ThemeID ¶
type ThemeID int
const ( ThemeIDHiking ThemeID = iota + 1 ThemeIDCyclingMountainbike ThemeIDFamily ThemeIDWellnessHealth ThemeIDFoodAndDrink ThemeIDGolf ThemeIDCulture ThemeIDMotorsport ThemeIDCarFreeHolidays ThemeIDSkiSnowboard ThemeIDSummerActivities ThemeIDEvents ThemeIDChristmasMarkets ThemeIDActiveWinter ThemeIDVitalpina ThemeIDVitalpinaBreathe ThemeIDBikeHotelsEBike ThemeIDBikeHotelsFreeride ThemeIDBikeHotelsMountainbike ThemeID = iota + 2 ThemeIDBikeHotelsBikeTours ThemeIDBikeHotelsRacingBike ThemeIDFamilyHotels ThemeIDFamilyHotelsNatureDetective ThemeIDFamilyHotel ThemeID = iota + 3 ThemeIDNatureDetectivSummer ThemeIDNatureDetectivWinter ThemeIDEcologicHoliday ThemeID = iota + 53 ThemeIDHorseBackRiding ThemeIDLuxuryHoliday ThemeIDPetsFriendlyHoliday ThemeIDRoadBike ThemeIDRomanticHoliday ThemeIDWine ThemeIDBicycleTouring ThemeIDEBike )
Click to show internal directories.
Click to hide internal directories.