Documentation ¶
Index ¶
- Variables
- type AddOn
- func (*AddOn) Descriptor() ([]byte, []int)
- func (m *AddOn) GetKey() string
- func (m *AddOn) GetValue() string
- func (*AddOn) ProtoMessage()
- func (m *AddOn) Reset()
- func (m *AddOn) String() string
- func (m *AddOn) XXX_DiscardUnknown()
- func (m *AddOn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddOn) XXX_Merge(src proto.Message)
- func (m *AddOn) XXX_Size() int
- func (m *AddOn) XXX_Unmarshal(b []byte) error
- type AddOns
- func (*AddOns) Descriptor() ([]byte, []int)
- func (m *AddOns) GetDistribute() string
- func (m *AddOns) GetDistribution() []*AddOn
- func (*AddOns) ProtoMessage()
- func (m *AddOns) Reset()
- func (m *AddOns) String() string
- func (m *AddOns) XXX_DiscardUnknown()
- func (m *AddOns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddOns) XXX_Merge(src proto.Message)
- func (m *AddOns) XXX_Size() int
- func (m *AddOns) XXX_Unmarshal(b []byte) error
- type Bed
- func (*Bed) Descriptor() ([]byte, []int)
- func (m *Bed) GetCount() int64
- func (m *Bed) GetDescription() string
- func (m *Bed) GetShared() bool
- func (m *Bed) GetType() string
- func (*Bed) ProtoMessage()
- func (m *Bed) Reset()
- func (m *Bed) String() string
- func (m *Bed) XXX_DiscardUnknown()
- func (m *Bed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bed) XXX_Merge(src proto.Message)
- func (m *Bed) XXX_Size() int
- func (m *Bed) XXX_Unmarshal(b []byte) error
- type Breakdown
- func (*Breakdown) Descriptor() ([]byte, []int)
- func (m *Breakdown) GetEffectiveDate() string
- func (m *Breakdown) GetExpireDate() string
- func (m *Breakdown) GetPrice() *Price
- func (*Breakdown) ProtoMessage()
- func (m *Breakdown) Reset()
- func (m *Breakdown) String() string
- func (m *Breakdown) XXX_DiscardUnknown()
- func (m *Breakdown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Breakdown) XXX_Merge(src proto.Message)
- func (m *Breakdown) XXX_Size() int
- func (m *Breakdown) XXX_Unmarshal(b []byte) error
- type CancelPenalty
- func (*CancelPenalty) Descriptor() ([]byte, []int)
- func (m *CancelPenalty) GetCurrency() string
- func (m *CancelPenalty) GetHoursBefore() int64
- func (m *CancelPenalty) GetPenaltyType() CancelPenaltyType
- func (m *CancelPenalty) GetValue() float64
- func (*CancelPenalty) ProtoMessage()
- func (m *CancelPenalty) Reset()
- func (m *CancelPenalty) String() string
- func (m *CancelPenalty) XXX_DiscardUnknown()
- func (m *CancelPenalty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelPenalty) XXX_Merge(src proto.Message)
- func (m *CancelPenalty) XXX_Size() int
- func (m *CancelPenalty) XXX_Unmarshal(b []byte) error
- type CancelPenaltyType
- type CancelPolicy
- func (*CancelPolicy) Descriptor() ([]byte, []int)
- func (m *CancelPolicy) GetCancelPenalties() []*CancelPenalty
- func (m *CancelPolicy) GetRefundable() bool
- func (*CancelPolicy) ProtoMessage()
- func (m *CancelPolicy) Reset()
- func (m *CancelPolicy) String() string
- func (m *CancelPolicy) XXX_DiscardUnknown()
- func (m *CancelPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelPolicy) XXX_Merge(src proto.Message)
- func (m *CancelPolicy) XXX_Size() int
- func (m *CancelPolicy) XXX_Unmarshal(b []byte) error
- type Candidate
- type ChargeType
- type DurationType
- type Exchange
- func (*Exchange) Descriptor() ([]byte, []int)
- func (m *Exchange) GetCurrency() string
- func (m *Exchange) GetRate() float64
- func (*Exchange) ProtoMessage()
- func (m *Exchange) Reset()
- func (m *Exchange) String() string
- func (m *Exchange) XXX_DiscardUnknown()
- func (m *Exchange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Exchange) XXX_Merge(src proto.Message)
- func (m *Exchange) XXX_Size() int
- func (m *Exchange) XXX_Unmarshal(b []byte) error
- type Markup
- func (*Markup) Descriptor() ([]byte, []int)
- func (m *Markup) GetBinding() bool
- func (m *Markup) GetChannel() string
- func (m *Markup) GetCurrency() string
- func (m *Markup) GetExchange() *Exchange
- func (m *Markup) GetGross() float64
- func (m *Markup) GetNet() float64
- func (m *Markup) GetRules() []*Rule
- func (*Markup) ProtoMessage()
- func (m *Markup) Reset()
- func (m *Markup) String() string
- func (m *Markup) XXX_DiscardUnknown()
- func (m *Markup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Markup) XXX_Merge(src proto.Message)
- func (m *Markup) XXX_Size() int
- func (m *Markup) XXX_Unmarshal(b []byte) error
- type Occupancy
- func (*Occupancy) Descriptor() ([]byte, []int)
- func (m *Occupancy) GetId() int32
- func (m *Occupancy) GetPaxes() []*Pax
- func (*Occupancy) ProtoMessage()
- func (m *Occupancy) Reset()
- func (m *Occupancy) String() string
- func (m *Occupancy) XXX_DiscardUnknown()
- func (m *Occupancy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Occupancy) XXX_Merge(src proto.Message)
- func (m *Occupancy) XXX_Size() int
- func (m *Occupancy) XXX_Unmarshal(b []byte) error
- type Option
- func (*Option) Descriptor() ([]byte, []int)
- func (m *Option) GetAccessCode() string
- func (m *Option) GetAddOns() *AddOns
- func (m *Option) GetBoardCode() string
- func (m *Option) GetBoardCodeSupplier() string
- func (m *Option) GetCancelPolicy() *CancelPolicy
- func (m *Option) GetHotelCode() string
- func (m *Option) GetHotelCodeSupplier() string
- func (m *Option) GetHotelName() string
- func (m *Option) GetId() string
- func (m *Option) GetMarket() string
- func (m *Option) GetOccupancies() []*Occupancy
- func (m *Option) GetPaymentType() PaymentType
- func (m *Option) GetPrice() *Price
- func (m *Option) GetRateRules() []RateRuleType
- func (m *Option) GetRemarks() string
- func (m *Option) GetRooms() []*Room
- func (m *Option) GetStatusType() StatusType
- func (m *Option) GetSupplements() []*Supplement
- func (m *Option) GetSupplierCode() string
- func (m *Option) GetSurcharges() []*Surcharge
- func (m *Option) GetToken() string
- func (*Option) ProtoMessage()
- func (m *Option) Reset()
- func (m *Option) String() string
- func (m *Option) XXX_DiscardUnknown()
- func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Option) XXX_Merge(src proto.Message)
- func (m *Option) XXX_Size() int
- func (m *Option) XXX_Unmarshal(b []byte) error
- type Pax
- func (*Pax) Descriptor() ([]byte, []int)
- func (m *Pax) GetAge() uint32
- func (*Pax) ProtoMessage()
- func (m *Pax) Reset()
- func (m *Pax) String() string
- func (m *Pax) XXX_DiscardUnknown()
- func (m *Pax) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pax) XXX_Merge(src proto.Message)
- func (m *Pax) XXX_Size() int
- func (m *Pax) XXX_Unmarshal(b []byte) error
- type PaymentType
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (m *Price) GetBinding() bool
- func (m *Price) GetCurrency() string
- func (m *Price) GetExchange() *Exchange
- func (m *Price) GetGross() float64
- func (m *Price) GetMarkups() []*Markup
- func (m *Price) GetNet() float64
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) String() string
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type Promotion
- func (*Promotion) Descriptor() ([]byte, []int)
- func (m *Promotion) GetCode() string
- func (m *Promotion) GetEffectiveDate() string
- func (m *Promotion) GetExpireDate() string
- func (m *Promotion) GetName() string
- func (*Promotion) ProtoMessage()
- func (m *Promotion) Reset()
- func (m *Promotion) String() string
- func (m *Promotion) XXX_DiscardUnknown()
- func (m *Promotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Promotion) XXX_Merge(src proto.Message)
- func (m *Promotion) XXX_Size() int
- func (m *Promotion) XXX_Unmarshal(b []byte) error
- type RatePlan
- func (*RatePlan) Descriptor() ([]byte, []int)
- func (m *RatePlan) GetCode() string
- func (m *RatePlan) GetEffectiveDate() string
- func (m *RatePlan) GetExpireDate() string
- func (m *RatePlan) GetName() string
- func (*RatePlan) ProtoMessage()
- func (m *RatePlan) Reset()
- func (m *RatePlan) String() string
- func (m *RatePlan) XXX_DiscardUnknown()
- func (m *RatePlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RatePlan) XXX_Merge(src proto.Message)
- func (m *RatePlan) XXX_Size() int
- func (m *RatePlan) XXX_Unmarshal(b []byte) error
- type RateRuleType
- type Resort
- func (*Resort) Descriptor() ([]byte, []int)
- func (m *Resort) GetCode() string
- func (m *Resort) GetDescription() string
- func (m *Resort) GetName() string
- func (*Resort) ProtoMessage()
- func (m *Resort) Reset()
- func (m *Resort) String() string
- func (m *Resort) XXX_DiscardUnknown()
- func (m *Resort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resort) XXX_Merge(src proto.Message)
- func (m *Resort) XXX_Size() int
- func (m *Resort) XXX_Unmarshal(b []byte) error
- type Room
- func (*Room) Descriptor() ([]byte, []int)
- func (m *Room) GetBeds() []*Bed
- func (m *Room) GetCode() string
- func (m *Room) GetDescription() string
- func (m *Room) GetOccupancyRefId() int32
- func (m *Room) GetPromotions() []*Promotion
- func (m *Room) GetRatePlans() []*RatePlan
- func (m *Room) GetRefundable() bool
- func (m *Room) GetRoomPrice() *RoomPrice
- func (m *Room) GetUnits() int64
- func (*Room) ProtoMessage()
- func (m *Room) Reset()
- func (m *Room) String() string
- func (m *Room) XXX_DiscardUnknown()
- func (m *Room) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Room) XXX_Merge(src proto.Message)
- func (m *Room) XXX_Size() int
- func (m *Room) XXX_Unmarshal(b []byte) error
- type RoomPrice
- func (*RoomPrice) Descriptor() ([]byte, []int)
- func (m *RoomPrice) GetBreakdowns() []*Breakdown
- func (m *RoomPrice) GetPrice() *Price
- func (*RoomPrice) ProtoMessage()
- func (m *RoomPrice) Reset()
- func (m *RoomPrice) String() string
- func (m *RoomPrice) XXX_DiscardUnknown()
- func (m *RoomPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoomPrice) XXX_Merge(src proto.Message)
- func (m *RoomPrice) XXX_Size() int
- func (m *RoomPrice) XXX_Unmarshal(b []byte) error
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetId() string
- func (m *Rule) GetName() string
- func (m *Rule) GetType() Rule_MarkupRuleType
- func (m *Rule) GetValue() float64
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) String() string
- func (m *Rule) XXX_DiscardUnknown()
- func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rule) XXX_Merge(src proto.Message)
- func (m *Rule) XXX_Size() int
- func (m *Rule) XXX_Unmarshal(b []byte) error
- type Rule_MarkupRuleType
- type SearchReply
- func (*SearchReply) Descriptor() ([]byte, []int)
- func (m *SearchReply) GetOptions() []*Option
- func (*SearchReply) ProtoMessage()
- func (m *SearchReply) Reset()
- func (m *SearchReply) String() string
- func (m *SearchReply) XXX_DiscardUnknown()
- func (m *SearchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchReply) XXX_Merge(src proto.Message)
- func (m *SearchReply) XXX_Size() int
- func (m *SearchReply) XXX_Unmarshal(b []byte) error
- type StatusType
- type Supplement
- func (*Supplement) Descriptor() ([]byte, []int)
- func (m *Supplement) GetChargeType() ChargeType
- func (m *Supplement) GetCode() string
- func (m *Supplement) GetDescription() string
- func (m *Supplement) GetDurationType() DurationType
- func (m *Supplement) GetEffectiveDate() string
- func (m *Supplement) GetExpireDate() string
- func (m *Supplement) GetMandatory() bool
- func (m *Supplement) GetName() string
- func (m *Supplement) GetPrice() *Price
- func (m *Supplement) GetQuantity() int64
- func (m *Supplement) GetResort() *Resort
- func (m *Supplement) GetSupplementType() SupplementType
- func (m *Supplement) GetUnitTimeType() UnitTimeType
- func (*Supplement) ProtoMessage()
- func (m *Supplement) Reset()
- func (m *Supplement) String() string
- func (m *Supplement) XXX_DiscardUnknown()
- func (m *Supplement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Supplement) XXX_Merge(src proto.Message)
- func (m *Supplement) XXX_Size() int
- func (m *Supplement) XXX_Unmarshal(b []byte) error
- type SupplementType
- type Surcharge
- func (*Surcharge) Descriptor() ([]byte, []int)
- func (m *Surcharge) GetChargeType() ChargeType
- func (m *Surcharge) GetDescription() string
- func (m *Surcharge) GetMandatory() bool
- func (m *Surcharge) GetPrice() *Price
- func (*Surcharge) ProtoMessage()
- func (m *Surcharge) Reset()
- func (m *Surcharge) String() string
- func (m *Surcharge) XXX_DiscardUnknown()
- func (m *Surcharge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Surcharge) XXX_Merge(src proto.Message)
- func (m *Surcharge) XXX_Size() int
- func (m *Surcharge) XXX_Unmarshal(b []byte) error
- type UnitTimeType
Constants ¶
This section is empty.
Variables ¶
View Source
var CancelPenaltyType_name = map[int32]string{
0: "NIGHTS",
1: "PERCENT",
2: "IMPORT",
}
View Source
var CancelPenaltyType_value = map[string]int32{
"NIGHTS": 0,
"PERCENT": 1,
"IMPORT": 2,
}
View Source
var ChargeType_name = map[int32]string{
0: "INCLUDE",
1: "EXCLUDE",
}
View Source
var ChargeType_value = map[string]int32{
"INCLUDE": 0,
"EXCLUDE": 1,
}
View Source
var DurationType_name = map[int32]string{
0: "RANGE",
1: "OPEN",
}
View Source
var DurationType_value = map[string]int32{
"RANGE": 0,
"OPEN": 1,
}
View Source
var PaymentType_name = map[int32]string{
0: "MERCHANT",
1: "DIRECT",
2: "CARD_BOOKING",
3: "CARD_CHECK_IN",
}
View Source
var PaymentType_value = map[string]int32{
"MERCHANT": 0,
"DIRECT": 1,
"CARD_BOOKING": 2,
"CARD_CHECK_IN": 3,
}
View Source
var RateRuleType_name = map[int32]string{
0: "PACKAGE",
1: "OLDER55",
2: "OLDER60",
3: "OLDER65",
4: "CANARY_RESIDENT",
5: "BALEARIC_RESIDENT",
6: "LARGE_FAMILY",
7: "HONEYMOON",
8: "PUBLIC_SERVANT",
9: "UNEMPLOYED",
10: "NORMAL",
11: "NON_REFUNDABLE",
}
View Source
var RateRuleType_value = map[string]int32{
"PACKAGE": 0,
"OLDER55": 1,
"OLDER60": 2,
"OLDER65": 3,
"CANARY_RESIDENT": 4,
"BALEARIC_RESIDENT": 5,
"LARGE_FAMILY": 6,
"HONEYMOON": 7,
"PUBLIC_SERVANT": 8,
"UNEMPLOYED": 9,
"NORMAL": 10,
"NON_REFUNDABLE": 11,
}
View Source
var Rule_MarkupRuleType_name = map[int32]string{
0: "PERCENT",
1: "IMPORT",
}
View Source
var Rule_MarkupRuleType_value = map[string]int32{
"PERCENT": 0,
"IMPORT": 1,
}
View Source
var StatusType_name = map[int32]string{
0: "OK",
1: "RQ",
}
View Source
var StatusType_value = map[string]int32{
"OK": 0,
"RQ": 1,
}
View Source
var SupplementType_name = map[int32]string{
0: "SKI_PASS",
1: "LESSONS",
2: "MEALS",
3: "EQUIPMENT",
4: "TICKET",
5: "TRANSFERS",
6: "GALA",
7: "ACTIVITY",
}
View Source
var SupplementType_value = map[string]int32{
"SKI_PASS": 0,
"LESSONS": 1,
"MEALS": 2,
"EQUIPMENT": 3,
"TICKET": 4,
"TRANSFERS": 5,
"GALA": 6,
"ACTIVITY": 7,
}
View Source
var UnitTimeType_name = map[int32]string{
0: "DAY",
1: "HOUR",
}
View Source
var UnitTimeType_value = map[string]int32{
"DAY": 0,
"HOUR": 1,
}
Functions ¶
This section is empty.
Types ¶
type AddOn ¶
type AddOn struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddOn) Descriptor ¶
func (*AddOn) ProtoMessage ¶
func (*AddOn) ProtoMessage()
func (*AddOn) XXX_DiscardUnknown ¶
func (m *AddOn) XXX_DiscardUnknown()
func (*AddOn) XXX_Marshal ¶
func (*AddOn) XXX_Unmarshal ¶
type AddOns ¶
type AddOns struct { Distribution []*AddOn `protobuf:"bytes,1,rep,name=distribution,proto3" json:"distribution,omitempty"` Distribute string `protobuf:"bytes,2,opt,name=distribute,proto3" json:"distribute,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddOns) Descriptor ¶
func (*AddOns) GetDistribute ¶
func (*AddOns) GetDistribution ¶
func (*AddOns) ProtoMessage ¶
func (*AddOns) ProtoMessage()
func (*AddOns) XXX_DiscardUnknown ¶
func (m *AddOns) XXX_DiscardUnknown()
func (*AddOns) XXX_Marshal ¶
func (*AddOns) XXX_Unmarshal ¶
type Bed ¶
type Bed struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Bed) Descriptor ¶
func (*Bed) GetDescription ¶
func (*Bed) ProtoMessage ¶
func (*Bed) ProtoMessage()
func (*Bed) XXX_DiscardUnknown ¶
func (m *Bed) XXX_DiscardUnknown()
func (*Bed) XXX_Unmarshal ¶
type Breakdown ¶
type Breakdown struct { EffectiveDate string `protobuf:"bytes,1,opt,name=effective_date,json=effectiveDate,proto3" json:"effective_date,omitempty"` ExpireDate string `protobuf:"bytes,2,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` Price *Price `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Breakdown) Descriptor ¶
func (*Breakdown) GetEffectiveDate ¶
func (*Breakdown) GetExpireDate ¶
func (*Breakdown) ProtoMessage ¶
func (*Breakdown) ProtoMessage()
func (*Breakdown) XXX_DiscardUnknown ¶
func (m *Breakdown) XXX_DiscardUnknown()
func (*Breakdown) XXX_Marshal ¶
func (*Breakdown) XXX_Unmarshal ¶
type CancelPenalty ¶
type CancelPenalty struct { HoursBefore int64 `protobuf:"varint,1,opt,name=hours_before,json=hoursBefore,proto3" json:"hours_before,omitempty"` PenaltyType CancelPenaltyType `protobuf:"varint,2,opt,name=penalty_type,json=penaltyType,proto3,enum=search.CancelPenaltyType" json:"penalty_type,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CancelPenalty) Descriptor ¶
func (*CancelPenalty) Descriptor() ([]byte, []int)
func (*CancelPenalty) GetCurrency ¶
func (m *CancelPenalty) GetCurrency() string
func (*CancelPenalty) GetHoursBefore ¶
func (m *CancelPenalty) GetHoursBefore() int64
func (*CancelPenalty) GetPenaltyType ¶
func (m *CancelPenalty) GetPenaltyType() CancelPenaltyType
func (*CancelPenalty) GetValue ¶
func (m *CancelPenalty) GetValue() float64
func (*CancelPenalty) ProtoMessage ¶
func (*CancelPenalty) ProtoMessage()
func (*CancelPenalty) Reset ¶
func (m *CancelPenalty) Reset()
func (*CancelPenalty) String ¶
func (m *CancelPenalty) String() string
func (*CancelPenalty) XXX_DiscardUnknown ¶
func (m *CancelPenalty) XXX_DiscardUnknown()
func (*CancelPenalty) XXX_Marshal ¶
func (m *CancelPenalty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelPenalty) XXX_Merge ¶
func (m *CancelPenalty) XXX_Merge(src proto.Message)
func (*CancelPenalty) XXX_Size ¶
func (m *CancelPenalty) XXX_Size() int
func (*CancelPenalty) XXX_Unmarshal ¶
func (m *CancelPenalty) XXX_Unmarshal(b []byte) error
type CancelPenaltyType ¶
type CancelPenaltyType int32
const ( CancelPenaltyType_NIGHTS CancelPenaltyType = 0 CancelPenaltyType_PERCENT CancelPenaltyType = 1 CancelPenaltyType_IMPORT CancelPenaltyType = 2 )
func (CancelPenaltyType) EnumDescriptor ¶
func (CancelPenaltyType) EnumDescriptor() ([]byte, []int)
func (CancelPenaltyType) String ¶
func (x CancelPenaltyType) String() string
type CancelPolicy ¶
type CancelPolicy struct { Refundable bool `protobuf:"varint,1,opt,name=refundable,proto3" json:"refundable,omitempty"` CancelPenalties []*CancelPenalty `protobuf:"bytes,2,rep,name=cancel_penalties,json=cancelPenalties,proto3" json:"cancel_penalties,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CancelPolicy) Descriptor ¶
func (*CancelPolicy) Descriptor() ([]byte, []int)
func (*CancelPolicy) GetCancelPenalties ¶
func (m *CancelPolicy) GetCancelPenalties() []*CancelPenalty
func (*CancelPolicy) GetRefundable ¶
func (m *CancelPolicy) GetRefundable() bool
func (*CancelPolicy) ProtoMessage ¶
func (*CancelPolicy) ProtoMessage()
func (*CancelPolicy) Reset ¶
func (m *CancelPolicy) Reset()
func (*CancelPolicy) String ¶
func (m *CancelPolicy) String() string
func (*CancelPolicy) XXX_DiscardUnknown ¶
func (m *CancelPolicy) XXX_DiscardUnknown()
func (*CancelPolicy) XXX_Marshal ¶
func (m *CancelPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelPolicy) XXX_Merge ¶
func (m *CancelPolicy) XXX_Merge(src proto.Message)
func (*CancelPolicy) XXX_Size ¶
func (m *CancelPolicy) XXX_Size() int
func (*CancelPolicy) XXX_Unmarshal ¶
func (m *CancelPolicy) XXX_Unmarshal(b []byte) error
type Candidate ¶
type Candidate struct{}
func (Candidate) HandlerFunc ¶
func (Candidate) MarshalSearchReply ¶
func (Candidate) MarshalSearchReply(sr *SearchReply) ([]byte, error)
type ChargeType ¶
type ChargeType int32
const ( ChargeType_INCLUDE ChargeType = 0 ChargeType_EXCLUDE ChargeType = 1 )
func (ChargeType) EnumDescriptor ¶
func (ChargeType) EnumDescriptor() ([]byte, []int)
func (ChargeType) String ¶
func (x ChargeType) String() string
type DurationType ¶
type DurationType int32
const ( DurationType_RANGE DurationType = 0 DurationType_OPEN DurationType = 1 )
func (DurationType) EnumDescriptor ¶
func (DurationType) EnumDescriptor() ([]byte, []int)
func (DurationType) String ¶
func (x DurationType) String() string
type Exchange ¶
type Exchange struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Rate float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Exchange) Descriptor ¶
func (*Exchange) GetCurrency ¶
func (*Exchange) ProtoMessage ¶
func (*Exchange) ProtoMessage()
func (*Exchange) XXX_DiscardUnknown ¶
func (m *Exchange) XXX_DiscardUnknown()
func (*Exchange) XXX_Marshal ¶
func (*Exchange) XXX_Unmarshal ¶
type Markup ¶
type Markup struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Binding bool `protobuf:"varint,2,opt,name=binding,proto3" json:"binding,omitempty"` Net float64 `protobuf:"fixed64,3,opt,name=net,proto3" json:"net,omitempty"` Gross float64 `protobuf:"fixed64,4,opt,name=gross,proto3" json:"gross,omitempty"` Exchange *Exchange `protobuf:"bytes,5,opt,name=exchange,proto3" json:"exchange,omitempty"` Channel string `protobuf:"bytes,6,opt,name=channel,proto3" json:"channel,omitempty"` Rules []*Rule `protobuf:"bytes,7,rep,name=rules,proto3" json:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Markup) Descriptor ¶
func (*Markup) GetBinding ¶
func (*Markup) GetChannel ¶
func (*Markup) GetCurrency ¶
func (*Markup) GetExchange ¶
func (*Markup) ProtoMessage ¶
func (*Markup) ProtoMessage()
func (*Markup) XXX_DiscardUnknown ¶
func (m *Markup) XXX_DiscardUnknown()
func (*Markup) XXX_Marshal ¶
func (*Markup) XXX_Unmarshal ¶
type Occupancy ¶
type Occupancy struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Paxes []*Pax `protobuf:"bytes,2,rep,name=paxes,proto3" json:"paxes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Occupancy) Descriptor ¶
func (*Occupancy) ProtoMessage ¶
func (*Occupancy) ProtoMessage()
func (*Occupancy) XXX_DiscardUnknown ¶
func (m *Occupancy) XXX_DiscardUnknown()
func (*Occupancy) XXX_Marshal ¶
func (*Occupancy) XXX_Unmarshal ¶
type Option ¶
type Option struct { SupplierCode string `protobuf:"bytes,1,opt,name=supplier_code,json=supplierCode,proto3" json:"supplier_code,omitempty"` AccessCode string `protobuf:"bytes,2,opt,name=access_code,json=accessCode,proto3" json:"access_code,omitempty"` Market string `protobuf:"bytes,3,opt,name=market,proto3" json:"market,omitempty"` HotelCode string `protobuf:"bytes,4,opt,name=hotel_code,json=hotelCode,proto3" json:"hotel_code,omitempty"` HotelCodeSupplier string `protobuf:"bytes,5,opt,name=hotel_code_supplier,json=hotelCodeSupplier,proto3" json:"hotel_code_supplier,omitempty"` HotelName string `protobuf:"bytes,6,opt,name=hotel_name,json=hotelName,proto3" json:"hotel_name,omitempty"` BoardCode string `protobuf:"bytes,7,opt,name=board_code,json=boardCode,proto3" json:"board_code,omitempty"` BoardCodeSupplier string `protobuf:"bytes,8,opt,name=board_code_supplier,json=boardCodeSupplier,proto3" json:"board_code_supplier,omitempty"` PaymentType PaymentType `protobuf:"varint,9,opt,name=paymentType,proto3,enum=search.PaymentType" json:"paymentType,omitempty"` StatusType StatusType `protobuf:"varint,10,opt,name=statusType,proto3,enum=search.StatusType" json:"statusType,omitempty"` Occupancies []*Occupancy `protobuf:"bytes,11,rep,name=occupancies,proto3" json:"occupancies,omitempty"` Rooms []*Room `protobuf:"bytes,12,rep,name=rooms,proto3" json:"rooms,omitempty"` Price *Price `protobuf:"bytes,13,opt,name=price,proto3" json:"price,omitempty"` Supplements []*Supplement `protobuf:"bytes,14,rep,name=supplements,proto3" json:"supplements,omitempty"` Surcharges []*Surcharge `protobuf:"bytes,15,rep,name=surcharges,proto3" json:"surcharges,omitempty"` RateRules []RateRuleType `protobuf:"varint,16,rep,packed,name=rate_rules,json=rateRules,proto3,enum=search.RateRuleType" json:"rate_rules,omitempty"` CancelPolicy *CancelPolicy `protobuf:"bytes,17,opt,name=cancel_policy,json=cancelPolicy,proto3" json:"cancel_policy,omitempty"` Remarks string `protobuf:"bytes,18,opt,name=remarks,proto3" json:"remarks,omitempty"` AddOns *AddOns `protobuf:"bytes,19,opt,name=add_ons,json=addOns,proto3" json:"add_ons,omitempty"` Token string `protobuf:"bytes,20,opt,name=token,proto3" json:"token,omitempty"` Id string `protobuf:"bytes,21,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Option) Descriptor ¶
func (*Option) GetAccessCode ¶
func (*Option) GetBoardCode ¶
func (*Option) GetBoardCodeSupplier ¶
func (*Option) GetCancelPolicy ¶
func (m *Option) GetCancelPolicy() *CancelPolicy
func (*Option) GetHotelCode ¶
func (*Option) GetHotelCodeSupplier ¶
func (*Option) GetHotelName ¶
func (*Option) GetOccupancies ¶
func (*Option) GetPaymentType ¶
func (m *Option) GetPaymentType() PaymentType
func (*Option) GetRateRules ¶
func (m *Option) GetRateRules() []RateRuleType
func (*Option) GetRemarks ¶
func (*Option) GetStatusType ¶
func (m *Option) GetStatusType() StatusType
func (*Option) GetSupplements ¶
func (m *Option) GetSupplements() []*Supplement
func (*Option) GetSupplierCode ¶
func (*Option) GetSurcharges ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) XXX_DiscardUnknown ¶
func (m *Option) XXX_DiscardUnknown()
func (*Option) XXX_Marshal ¶
func (*Option) XXX_Unmarshal ¶
type Pax ¶
type Pax struct { Age uint32 `protobuf:"varint,1,opt,name=age,proto3" json:"age,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pax) Descriptor ¶
func (*Pax) ProtoMessage ¶
func (*Pax) ProtoMessage()
func (*Pax) XXX_DiscardUnknown ¶
func (m *Pax) XXX_DiscardUnknown()
func (*Pax) XXX_Unmarshal ¶
type PaymentType ¶
type PaymentType int32
const ( PaymentType_MERCHANT PaymentType = 0 PaymentType_DIRECT PaymentType = 1 PaymentType_CARD_BOOKING PaymentType = 2 PaymentType_CARD_CHECK_IN PaymentType = 3 )
func (PaymentType) EnumDescriptor ¶
func (PaymentType) EnumDescriptor() ([]byte, []int)
func (PaymentType) String ¶
func (x PaymentType) String() string
type Price ¶
type Price struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Binding bool `protobuf:"varint,2,opt,name=binding,proto3" json:"binding,omitempty"` Net float64 `protobuf:"fixed64,3,opt,name=net,proto3" json:"net,omitempty"` Gross float64 `protobuf:"fixed64,4,opt,name=gross,proto3" json:"gross,omitempty"` Exchange *Exchange `protobuf:"bytes,5,opt,name=exchange,proto3" json:"exchange,omitempty"` Markups []*Markup `protobuf:"bytes,6,rep,name=markups,proto3" json:"markups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Price) Descriptor ¶
func (*Price) GetBinding ¶
func (*Price) GetCurrency ¶
func (*Price) GetExchange ¶
func (*Price) GetMarkups ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
type Promotion ¶
type Promotion struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` EffectiveDate string `protobuf:"bytes,3,opt,name=effective_date,json=effectiveDate,proto3" json:"effective_date,omitempty"` ExpireDate string `protobuf:"bytes,4,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Promotion) Descriptor ¶
func (*Promotion) GetEffectiveDate ¶
func (*Promotion) GetExpireDate ¶
func (*Promotion) ProtoMessage ¶
func (*Promotion) ProtoMessage()
func (*Promotion) XXX_DiscardUnknown ¶
func (m *Promotion) XXX_DiscardUnknown()
func (*Promotion) XXX_Marshal ¶
func (*Promotion) XXX_Unmarshal ¶
type RatePlan ¶
type RatePlan struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` EffectiveDate string `protobuf:"bytes,3,opt,name=effective_date,json=effectiveDate,proto3" json:"effective_date,omitempty"` ExpireDate string `protobuf:"bytes,4,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RatePlan) Descriptor ¶
func (*RatePlan) GetEffectiveDate ¶
func (*RatePlan) GetExpireDate ¶
func (*RatePlan) ProtoMessage ¶
func (*RatePlan) ProtoMessage()
func (*RatePlan) XXX_DiscardUnknown ¶
func (m *RatePlan) XXX_DiscardUnknown()
func (*RatePlan) XXX_Marshal ¶
func (*RatePlan) XXX_Unmarshal ¶
type RateRuleType ¶
type RateRuleType int32
const ( RateRuleType_PACKAGE RateRuleType = 0 RateRuleType_OLDER55 RateRuleType = 1 RateRuleType_OLDER60 RateRuleType = 2 RateRuleType_OLDER65 RateRuleType = 3 RateRuleType_CANARY_RESIDENT RateRuleType = 4 RateRuleType_BALEARIC_RESIDENT RateRuleType = 5 RateRuleType_LARGE_FAMILY RateRuleType = 6 RateRuleType_HONEYMOON RateRuleType = 7 RateRuleType_PUBLIC_SERVANT RateRuleType = 8 RateRuleType_UNEMPLOYED RateRuleType = 9 RateRuleType_NORMAL RateRuleType = 10 RateRuleType_NON_REFUNDABLE RateRuleType = 11 )
func (RateRuleType) EnumDescriptor ¶
func (RateRuleType) EnumDescriptor() ([]byte, []int)
func (RateRuleType) String ¶
func (x RateRuleType) String() string
type Resort ¶
type Resort struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Resort) Descriptor ¶
func (*Resort) GetDescription ¶
func (*Resort) ProtoMessage ¶
func (*Resort) ProtoMessage()
func (*Resort) XXX_DiscardUnknown ¶
func (m *Resort) XXX_DiscardUnknown()
func (*Resort) XXX_Marshal ¶
func (*Resort) XXX_Unmarshal ¶
type Room ¶
type Room struct { OccupancyRefId int32 `protobuf:"varint,1,opt,name=occupancy_ref_id,json=occupancyRefId,proto3" json:"occupancy_ref_id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Refundable bool `protobuf:"varint,4,opt,name=refundable,proto3" json:"refundable,omitempty"` Units int64 `protobuf:"varint,5,opt,name=units,proto3" json:"units,omitempty"` RoomPrice *RoomPrice `protobuf:"bytes,6,opt,name=room_price,json=roomPrice,proto3" json:"room_price,omitempty"` Beds []*Bed `protobuf:"bytes,7,rep,name=beds,proto3" json:"beds,omitempty"` RatePlans []*RatePlan `protobuf:"bytes,8,rep,name=rate_plans,json=ratePlans,proto3" json:"rate_plans,omitempty"` Promotions []*Promotion `protobuf:"bytes,9,rep,name=promotions,proto3" json:"promotions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Room) Descriptor ¶
func (*Room) GetDescription ¶
func (*Room) GetOccupancyRefId ¶
func (*Room) GetPromotions ¶
func (*Room) GetRatePlans ¶
func (*Room) GetRefundable ¶
func (*Room) GetRoomPrice ¶
func (*Room) ProtoMessage ¶
func (*Room) ProtoMessage()
func (*Room) XXX_DiscardUnknown ¶
func (m *Room) XXX_DiscardUnknown()
func (*Room) XXX_Unmarshal ¶
type RoomPrice ¶
type RoomPrice struct { Price *Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` Breakdowns []*Breakdown `protobuf:"bytes,2,rep,name=breakdowns,proto3" json:"breakdowns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomPrice) Descriptor ¶
func (*RoomPrice) GetBreakdowns ¶
func (*RoomPrice) ProtoMessage ¶
func (*RoomPrice) ProtoMessage()
func (*RoomPrice) XXX_DiscardUnknown ¶
func (m *RoomPrice) XXX_DiscardUnknown()
func (*RoomPrice) XXX_Marshal ¶
func (*RoomPrice) XXX_Unmarshal ¶
type Rule ¶
type Rule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type Rule_MarkupRuleType `protobuf:"varint,3,opt,name=type,proto3,enum=search.Rule_MarkupRuleType" json:"type,omitempty"` Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Rule) Descriptor ¶
func (*Rule) GetType ¶
func (m *Rule) GetType() Rule_MarkupRuleType
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) XXX_DiscardUnknown ¶
func (m *Rule) XXX_DiscardUnknown()
func (*Rule) XXX_Unmarshal ¶
type Rule_MarkupRuleType ¶
type Rule_MarkupRuleType int32
const ( Rule_PERCENT Rule_MarkupRuleType = 0 Rule_IMPORT Rule_MarkupRuleType = 1 )
func (Rule_MarkupRuleType) EnumDescriptor ¶
func (Rule_MarkupRuleType) EnumDescriptor() ([]byte, []int)
func (Rule_MarkupRuleType) String ¶
func (x Rule_MarkupRuleType) String() string
type SearchReply ¶
type SearchReply struct { Options []*Option `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewResponse ¶
func NewResponse(options []*presenter.Option) *SearchReply
func (*SearchReply) Descriptor ¶
func (*SearchReply) Descriptor() ([]byte, []int)
func (*SearchReply) GetOptions ¶
func (m *SearchReply) GetOptions() []*Option
func (*SearchReply) ProtoMessage ¶
func (*SearchReply) ProtoMessage()
func (*SearchReply) Reset ¶
func (m *SearchReply) Reset()
func (*SearchReply) String ¶
func (m *SearchReply) String() string
func (*SearchReply) XXX_DiscardUnknown ¶
func (m *SearchReply) XXX_DiscardUnknown()
func (*SearchReply) XXX_Marshal ¶
func (m *SearchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchReply) XXX_Merge ¶
func (m *SearchReply) XXX_Merge(src proto.Message)
func (*SearchReply) XXX_Size ¶
func (m *SearchReply) XXX_Size() int
func (*SearchReply) XXX_Unmarshal ¶
func (m *SearchReply) XXX_Unmarshal(b []byte) error
type StatusType ¶
type StatusType int32
const ( StatusType_OK StatusType = 0 StatusType_RQ StatusType = 1 )
func (StatusType) EnumDescriptor ¶
func (StatusType) EnumDescriptor() ([]byte, []int)
func (StatusType) String ¶
func (x StatusType) String() string
type Supplement ¶
type Supplement struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ChargeType ChargeType `protobuf:"varint,4,opt,name=charge_type,json=chargeType,proto3,enum=search.ChargeType" json:"charge_type,omitempty"` Mandatory bool `protobuf:"varint,5,opt,name=mandatory,proto3" json:"mandatory,omitempty"` DurationType DurationType `protobuf:"varint,6,opt,name=duration_type,json=durationType,proto3,enum=search.DurationType" json:"duration_type,omitempty"` Quantity int64 `protobuf:"varint,7,opt,name=quantity,proto3" json:"quantity,omitempty"` UnitTimeType UnitTimeType `protobuf:"varint,8,opt,name=unit_time_type,json=unitTimeType,proto3,enum=search.UnitTimeType" json:"unit_time_type,omitempty"` EffectiveDate string `protobuf:"bytes,9,opt,name=effective_date,json=effectiveDate,proto3" json:"effective_date,omitempty"` ExpireDate string `protobuf:"bytes,10,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` Resort *Resort `protobuf:"bytes,11,opt,name=resort,proto3" json:"resort,omitempty"` Price *Price `protobuf:"bytes,12,opt,name=price,proto3" json:"price,omitempty"` SupplementType SupplementType `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Supplement) Descriptor ¶
func (*Supplement) Descriptor() ([]byte, []int)
func (*Supplement) GetChargeType ¶
func (m *Supplement) GetChargeType() ChargeType
func (*Supplement) GetCode ¶
func (m *Supplement) GetCode() string
func (*Supplement) GetDescription ¶
func (m *Supplement) GetDescription() string
func (*Supplement) GetDurationType ¶
func (m *Supplement) GetDurationType() DurationType
func (*Supplement) GetEffectiveDate ¶
func (m *Supplement) GetEffectiveDate() string
func (*Supplement) GetExpireDate ¶
func (m *Supplement) GetExpireDate() string
func (*Supplement) GetMandatory ¶
func (m *Supplement) GetMandatory() bool
func (*Supplement) GetName ¶
func (m *Supplement) GetName() string
func (*Supplement) GetPrice ¶
func (m *Supplement) GetPrice() *Price
func (*Supplement) GetQuantity ¶
func (m *Supplement) GetQuantity() int64
func (*Supplement) GetResort ¶
func (m *Supplement) GetResort() *Resort
func (*Supplement) GetSupplementType ¶
func (m *Supplement) GetSupplementType() SupplementType
func (*Supplement) GetUnitTimeType ¶
func (m *Supplement) GetUnitTimeType() UnitTimeType
func (*Supplement) ProtoMessage ¶
func (*Supplement) ProtoMessage()
func (*Supplement) Reset ¶
func (m *Supplement) Reset()
func (*Supplement) String ¶
func (m *Supplement) String() string
func (*Supplement) XXX_DiscardUnknown ¶
func (m *Supplement) XXX_DiscardUnknown()
func (*Supplement) XXX_Marshal ¶
func (m *Supplement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Supplement) XXX_Merge ¶
func (m *Supplement) XXX_Merge(src proto.Message)
func (*Supplement) XXX_Size ¶
func (m *Supplement) XXX_Size() int
func (*Supplement) XXX_Unmarshal ¶
func (m *Supplement) XXX_Unmarshal(b []byte) error
type SupplementType ¶
type SupplementType int32
const ( SupplementType_SKI_PASS SupplementType = 0 SupplementType_LESSONS SupplementType = 1 SupplementType_MEALS SupplementType = 2 SupplementType_EQUIPMENT SupplementType = 3 SupplementType_TICKET SupplementType = 4 SupplementType_TRANSFERS SupplementType = 5 SupplementType_GALA SupplementType = 6 SupplementType_ACTIVITY SupplementType = 7 )
func (SupplementType) EnumDescriptor ¶
func (SupplementType) EnumDescriptor() ([]byte, []int)
func (SupplementType) String ¶
func (x SupplementType) String() string
type Surcharge ¶
type Surcharge struct { ChargeType ChargeType `protobuf:"varint,1,opt,name=charge_type,json=chargeType,proto3,enum=search.ChargeType" json:"charge_type,omitempty"` Mandatory bool `protobuf:"varint,2,opt,name=mandatory,proto3" json:"mandatory,omitempty"` Price *Price `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Surcharge) Descriptor ¶
func (*Surcharge) GetChargeType ¶
func (m *Surcharge) GetChargeType() ChargeType
func (*Surcharge) GetDescription ¶
func (*Surcharge) GetMandatory ¶
func (*Surcharge) ProtoMessage ¶
func (*Surcharge) ProtoMessage()
func (*Surcharge) XXX_DiscardUnknown ¶
func (m *Surcharge) XXX_DiscardUnknown()
func (*Surcharge) XXX_Marshal ¶
func (*Surcharge) XXX_Unmarshal ¶
type UnitTimeType ¶
type UnitTimeType int32
const ( UnitTimeType_DAY UnitTimeType = 0 UnitTimeType_HOUR UnitTimeType = 1 )
func (UnitTimeType) EnumDescriptor ¶
func (UnitTimeType) EnumDescriptor() ([]byte, []int)
func (UnitTimeType) String ¶
func (x UnitTimeType) String() string
Click to show internal directories.
Click to hide internal directories.