search

package
v0.0.0-...-cc58ba3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CriteriaSearch

type CriteriaSearch struct {
	CheckIn      string
	CheckOut     string
	Hotels       *[]string
	Destinations *[]string
	Occupancies  []domainHotelCommon.Occupancy `gqlgen:"criteria"`
	Language     *string
	Currency     *string
	Nationality  *string
	Market       *string
}

type Filter

type Filter struct {
	Access    *TypeFilter
	RateRules *RateRuleFilter
}

type FilterSearch

type FilterSearch struct {
	Access    *TypeFilter
	RateRules *RateRuleFilter
	Plugin    *domainHotelCommon.FilterPluginType
}

type HotelSearchRQ

type HotelSearchRQ struct {
	domainHotelCommon.HotelBaseRQ

	Token        *string         `gqlgen:"token"`
	Criteria     *CriteriaSearch `gqlgen:"criteria"`
	Filter       *Filter         `gqlgen:"filter"`
	FilterSearch *FilterSearch   `gqlgen:"filterSearch"`

	SerializedCriteria string
}

type HotelSearchRS

type HotelSearchRS struct {
	common.BaseRS

	Options []*domainHotelCommon.Option

	// rq is the request that this rs comes from
	RQ *HotelSearchRQ
}

func (HotelSearchRS) IsResponse

func (HotelSearchRS) IsResponse()

type RateRuleFilter

type RateRuleFilter struct {
	Includes *[]access.RateRulesType
	Excludes *[]access.RateRulesType
}

type TypeFilter

type TypeFilter struct {
	Includes *[]string
	Excludes *[]string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL