Documentation ¶
Index ¶
- type AccessConfiguration
- type BusinessRules
- type ConnectUser
- type DefaultSettings
- func (ds *DefaultSettings) BookTimeout() int32
- func (ds *DefaultSettings) BusinessRulesType() string
- func (ds *DefaultSettings) ConnectUser() string
- func (ds *DefaultSettings) Context() *string
- func (ds *DefaultSettings) Currency() string
- func (ds *DefaultSettings) Language() string
- func (ds *DefaultSettings) Market() string
- func (ds *DefaultSettings) Nationality() string
- func (ds *DefaultSettings) OptionsQuota() int32
- func (ds *DefaultSettings) QuoteTimeout() int32
- func (ds *DefaultSettings) SearchTimeout() int32
- type DefaultSettingsRedis
- type HubProviderAccesses
- type OrgProvider
- type Parameter
- type Provider
- type ProviderDll
- type RateRulesType
- type Timeout
- type Urls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfiguration ¶
type AccessConfiguration struct { Code string `json:"code"` IsActive int32 `json:"act"` IsTest int32 `json:"isTest"` Supplier string `json:"hubProvider"` Username *string `json:"user,omitempty"` Password *string `json:"password,omitempty"` Urls Urls `json:"urls,omitempty"` Parameters *[]Parameter `json:"parameters,omitempty"` // Markets to which this access is valid Markets *[]string `json:"markets,omitempty"` RateRules *[]RateRulesType `json:"rateRules,omitempty"` }
func (*AccessConfiguration) Clone ¶
func (a *AccessConfiguration) Clone() *AccessConfiguration
type BusinessRules ¶
type ConnectUser ¶
type ConnectUser struct {
Active int
}
type DefaultSettings ¶
type DefaultSettings struct {
// contains filtered or unexported fields
}
func NewDefaultSettings ¶
func NewDefaultSettings(dsr *DefaultSettingsRedis) *DefaultSettings
func (*DefaultSettings) BookTimeout ¶
func (ds *DefaultSettings) BookTimeout() int32
func (*DefaultSettings) BusinessRulesType ¶
func (ds *DefaultSettings) BusinessRulesType() string
func (*DefaultSettings) ConnectUser ¶
func (ds *DefaultSettings) ConnectUser() string
func (*DefaultSettings) Context ¶
func (ds *DefaultSettings) Context() *string
func (*DefaultSettings) Currency ¶
func (ds *DefaultSettings) Currency() string
func (*DefaultSettings) Language ¶
func (ds *DefaultSettings) Language() string
func (*DefaultSettings) Market ¶
func (ds *DefaultSettings) Market() string
func (*DefaultSettings) Nationality ¶
func (ds *DefaultSettings) Nationality() string
func (*DefaultSettings) OptionsQuota ¶
func (ds *DefaultSettings) OptionsQuota() int32
func (*DefaultSettings) QuoteTimeout ¶
func (ds *DefaultSettings) QuoteTimeout() int32
func (*DefaultSettings) SearchTimeout ¶
func (ds *DefaultSettings) SearchTimeout() int32
type DefaultSettingsRedis ¶
type DefaultSettingsRedis struct { ConnectUser string `json:"hubUser"` Context *string `json:"context"` Language string `json:"language"` Currency string `json:"currency"` Nationality string `json:"nationality"` Market string `json:"market"` Timeout Timeout `json:"timeouts"` BusinessRules BusinessRules `json:"businessRules"` }
type HubProviderAccesses ¶
type OrgProvider ¶
type OrgProvider struct {
Active int `json:"act"`
}
type Provider ¶
type Provider struct { OrgProvider Dll string `json:"dll"` Context string `json:"context"` }
type ProviderDll ¶
type ProviderDll struct {
Code string
}
type RateRulesType ¶
type RateRulesType string
const ( RateRulesTypePackage RateRulesType = "PACKAGE" RateRulesTypeOlder55 RateRulesType = "OLDER55" RateRulesTypeOlder60 RateRulesType = "OLDER60" RateRulesTypeOlder65 RateRulesType = "OLDER65" RateRulesTypeCanaryResident RateRulesType = "CANARY_RESIDENT" RateRulesTypeBalearicResident RateRulesType = "BALEARIC_RESIDENT" RateRulesTypeLargeFamily RateRulesType = "LARGE_FAMILY" RateRulesTypeHoneymoon RateRulesType = "HONEYMOON" RateRulesTypePublicServant RateRulesType = "PUBLIC_SERVANT" RateRulesTypeUnemployed RateRulesType = "UNEMPLOYED" RateRulesTypeNormal RateRulesType = "NORMAL" RateRulesTypeNonRefundable RateRulesType = "NON_REFUNDABLE" )
func (RateRulesType) IsValid ¶
func (e RateRulesType) IsValid() bool
func (RateRulesType) MarshalGQL ¶
func (e RateRulesType) MarshalGQL(w io.Writer)
func (RateRulesType) String ¶
func (e RateRulesType) String() string
func (*RateRulesType) UnmarshalGQL ¶
func (e *RateRulesType) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.