protobuf

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: 9 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*AddOn) GetKey

func (m *AddOn) GetKey() string

func (*AddOn) GetValue

func (m *AddOn) GetValue() string

func (*AddOn) ProtoMessage

func (*AddOn) ProtoMessage()

func (*AddOn) Reset

func (m *AddOn) Reset()

func (*AddOn) String

func (m *AddOn) String() string

func (*AddOn) XXX_DiscardUnknown

func (m *AddOn) XXX_DiscardUnknown()

func (*AddOn) XXX_Marshal

func (m *AddOn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddOn) XXX_Merge

func (m *AddOn) XXX_Merge(src proto.Message)

func (*AddOn) XXX_Size

func (m *AddOn) XXX_Size() int

func (*AddOn) XXX_Unmarshal

func (m *AddOn) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*AddOns) GetDistribute

func (m *AddOns) GetDistribute() string

func (*AddOns) GetDistribution

func (m *AddOns) GetDistribution() []*AddOn

func (*AddOns) ProtoMessage

func (*AddOns) ProtoMessage()

func (*AddOns) Reset

func (m *AddOns) Reset()

func (*AddOns) String

func (m *AddOns) String() string

func (*AddOns) XXX_DiscardUnknown

func (m *AddOns) XXX_DiscardUnknown()

func (*AddOns) XXX_Marshal

func (m *AddOns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddOns) XXX_Merge

func (m *AddOns) XXX_Merge(src proto.Message)

func (*AddOns) XXX_Size

func (m *AddOns) XXX_Size() int

func (*AddOns) XXX_Unmarshal

func (m *AddOns) XXX_Unmarshal(b []byte) error

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"`
	Shared               bool     `protobuf:"varint,4,opt,name=shared,proto3" json:"shared,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Bed) Descriptor

func (*Bed) Descriptor() ([]byte, []int)

func (*Bed) GetCount

func (m *Bed) GetCount() int64

func (*Bed) GetDescription

func (m *Bed) GetDescription() string

func (*Bed) GetShared

func (m *Bed) GetShared() bool

func (*Bed) GetType

func (m *Bed) GetType() string

func (*Bed) ProtoMessage

func (*Bed) ProtoMessage()

func (*Bed) Reset

func (m *Bed) Reset()

func (*Bed) String

func (m *Bed) String() string

func (*Bed) XXX_DiscardUnknown

func (m *Bed) XXX_DiscardUnknown()

func (*Bed) XXX_Marshal

func (m *Bed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bed) XXX_Merge

func (m *Bed) XXX_Merge(src proto.Message)

func (*Bed) XXX_Size

func (m *Bed) XXX_Size() int

func (*Bed) XXX_Unmarshal

func (m *Bed) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Breakdown) GetEffectiveDate

func (m *Breakdown) GetEffectiveDate() string

func (*Breakdown) GetExpireDate

func (m *Breakdown) GetExpireDate() string

func (*Breakdown) GetPrice

func (m *Breakdown) GetPrice() *Price

func (*Breakdown) ProtoMessage

func (*Breakdown) ProtoMessage()

func (*Breakdown) Reset

func (m *Breakdown) Reset()

func (*Breakdown) String

func (m *Breakdown) String() string

func (*Breakdown) XXX_DiscardUnknown

func (m *Breakdown) XXX_DiscardUnknown()

func (*Breakdown) XXX_Marshal

func (m *Breakdown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Breakdown) XXX_Merge

func (m *Breakdown) XXX_Merge(src proto.Message)

func (*Breakdown) XXX_Size

func (m *Breakdown) XXX_Size() int

func (*Breakdown) XXX_Unmarshal

func (m *Breakdown) XXX_Unmarshal(b []byte) error

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 (c Candidate) HandlerFunc(options []*presenter.Option) (http.HandlerFunc, error)

func (Candidate) MarshalSearchReply

func (Candidate) MarshalSearchReply(sr *SearchReply) ([]byte, error)

func (Candidate) UnmarshalOptions

func (Candidate) UnmarshalOptions(b []byte) ([]*presenter.Option, 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) Descriptor() ([]byte, []int)

func (*Exchange) GetCurrency

func (m *Exchange) GetCurrency() string

func (*Exchange) GetRate

func (m *Exchange) GetRate() float64

func (*Exchange) ProtoMessage

func (*Exchange) ProtoMessage()

func (*Exchange) Reset

func (m *Exchange) Reset()

func (*Exchange) String

func (m *Exchange) String() string

func (*Exchange) XXX_DiscardUnknown

func (m *Exchange) XXX_DiscardUnknown()

func (*Exchange) XXX_Marshal

func (m *Exchange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Exchange) XXX_Merge

func (m *Exchange) XXX_Merge(src proto.Message)

func (*Exchange) XXX_Size

func (m *Exchange) XXX_Size() int

func (*Exchange) XXX_Unmarshal

func (m *Exchange) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Markup) GetBinding

func (m *Markup) GetBinding() bool

func (*Markup) GetChannel

func (m *Markup) GetChannel() string

func (*Markup) GetCurrency

func (m *Markup) GetCurrency() string

func (*Markup) GetExchange

func (m *Markup) GetExchange() *Exchange

func (*Markup) GetGross

func (m *Markup) GetGross() float64

func (*Markup) GetNet

func (m *Markup) GetNet() float64

func (*Markup) GetRules

func (m *Markup) GetRules() []*Rule

func (*Markup) ProtoMessage

func (*Markup) ProtoMessage()

func (*Markup) Reset

func (m *Markup) Reset()

func (*Markup) String

func (m *Markup) String() string

func (*Markup) XXX_DiscardUnknown

func (m *Markup) XXX_DiscardUnknown()

func (*Markup) XXX_Marshal

func (m *Markup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Markup) XXX_Merge

func (m *Markup) XXX_Merge(src proto.Message)

func (*Markup) XXX_Size

func (m *Markup) XXX_Size() int

func (*Markup) XXX_Unmarshal

func (m *Markup) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Occupancy) GetId

func (m *Occupancy) GetId() int32

func (*Occupancy) GetPaxes

func (m *Occupancy) GetPaxes() []*Pax

func (*Occupancy) ProtoMessage

func (*Occupancy) ProtoMessage()

func (*Occupancy) Reset

func (m *Occupancy) Reset()

func (*Occupancy) String

func (m *Occupancy) String() string

func (*Occupancy) XXX_DiscardUnknown

func (m *Occupancy) XXX_DiscardUnknown()

func (*Occupancy) XXX_Marshal

func (m *Occupancy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Occupancy) XXX_Merge

func (m *Occupancy) XXX_Merge(src proto.Message)

func (*Occupancy) XXX_Size

func (m *Occupancy) XXX_Size() int

func (*Occupancy) XXX_Unmarshal

func (m *Occupancy) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Option) GetAccessCode

func (m *Option) GetAccessCode() string

func (*Option) GetAddOns

func (m *Option) GetAddOns() *AddOns

func (*Option) GetBoardCode

func (m *Option) GetBoardCode() string

func (*Option) GetBoardCodeSupplier

func (m *Option) GetBoardCodeSupplier() string

func (*Option) GetCancelPolicy

func (m *Option) GetCancelPolicy() *CancelPolicy

func (*Option) GetHotelCode

func (m *Option) GetHotelCode() string

func (*Option) GetHotelCodeSupplier

func (m *Option) GetHotelCodeSupplier() string

func (*Option) GetHotelName

func (m *Option) GetHotelName() string

func (*Option) GetId

func (m *Option) GetId() string

func (*Option) GetMarket

func (m *Option) GetMarket() string

func (*Option) GetOccupancies

func (m *Option) GetOccupancies() []*Occupancy

func (*Option) GetPaymentType

func (m *Option) GetPaymentType() PaymentType

func (*Option) GetPrice

func (m *Option) GetPrice() *Price

func (*Option) GetRateRules

func (m *Option) GetRateRules() []RateRuleType

func (*Option) GetRemarks

func (m *Option) GetRemarks() string

func (*Option) GetRooms

func (m *Option) GetRooms() []*Room

func (*Option) GetStatusType

func (m *Option) GetStatusType() StatusType

func (*Option) GetSupplements

func (m *Option) GetSupplements() []*Supplement

func (*Option) GetSupplierCode

func (m *Option) GetSupplierCode() string

func (*Option) GetSurcharges

func (m *Option) GetSurcharges() []*Surcharge

func (*Option) GetToken

func (m *Option) GetToken() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) Reset

func (m *Option) Reset()

func (*Option) String

func (m *Option) String() string

func (*Option) XXX_DiscardUnknown

func (m *Option) XXX_DiscardUnknown()

func (*Option) XXX_Marshal

func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Option) XXX_Merge

func (m *Option) XXX_Merge(src proto.Message)

func (*Option) XXX_Size

func (m *Option) XXX_Size() int

func (*Option) XXX_Unmarshal

func (m *Option) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Pax) GetAge

func (m *Pax) GetAge() uint32

func (*Pax) ProtoMessage

func (*Pax) ProtoMessage()

func (*Pax) Reset

func (m *Pax) Reset()

func (*Pax) String

func (m *Pax) String() string

func (*Pax) XXX_DiscardUnknown

func (m *Pax) XXX_DiscardUnknown()

func (*Pax) XXX_Marshal

func (m *Pax) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pax) XXX_Merge

func (m *Pax) XXX_Merge(src proto.Message)

func (*Pax) XXX_Size

func (m *Pax) XXX_Size() int

func (*Pax) XXX_Unmarshal

func (m *Pax) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Price) GetBinding

func (m *Price) GetBinding() bool

func (*Price) GetCurrency

func (m *Price) GetCurrency() string

func (*Price) GetExchange

func (m *Price) GetExchange() *Exchange

func (*Price) GetGross

func (m *Price) GetGross() float64

func (*Price) GetMarkups

func (m *Price) GetMarkups() []*Markup

func (*Price) GetNet

func (m *Price) GetNet() float64

func (*Price) ProtoMessage

func (*Price) ProtoMessage()

func (*Price) Reset

func (m *Price) Reset()

func (*Price) String

func (m *Price) String() string

func (*Price) XXX_DiscardUnknown

func (m *Price) XXX_DiscardUnknown()

func (*Price) XXX_Marshal

func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Price) XXX_Merge

func (m *Price) XXX_Merge(src proto.Message)

func (*Price) XXX_Size

func (m *Price) XXX_Size() int

func (*Price) XXX_Unmarshal

func (m *Price) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Promotion) GetCode

func (m *Promotion) GetCode() string

func (*Promotion) GetEffectiveDate

func (m *Promotion) GetEffectiveDate() string

func (*Promotion) GetExpireDate

func (m *Promotion) GetExpireDate() string

func (*Promotion) GetName

func (m *Promotion) GetName() string

func (*Promotion) ProtoMessage

func (*Promotion) ProtoMessage()

func (*Promotion) Reset

func (m *Promotion) Reset()

func (*Promotion) String

func (m *Promotion) String() string

func (*Promotion) XXX_DiscardUnknown

func (m *Promotion) XXX_DiscardUnknown()

func (*Promotion) XXX_Marshal

func (m *Promotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Promotion) XXX_Merge

func (m *Promotion) XXX_Merge(src proto.Message)

func (*Promotion) XXX_Size

func (m *Promotion) XXX_Size() int

func (*Promotion) XXX_Unmarshal

func (m *Promotion) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RatePlan) GetCode

func (m *RatePlan) GetCode() string

func (*RatePlan) GetEffectiveDate

func (m *RatePlan) GetEffectiveDate() string

func (*RatePlan) GetExpireDate

func (m *RatePlan) GetExpireDate() string

func (*RatePlan) GetName

func (m *RatePlan) GetName() string

func (*RatePlan) ProtoMessage

func (*RatePlan) ProtoMessage()

func (*RatePlan) Reset

func (m *RatePlan) Reset()

func (*RatePlan) String

func (m *RatePlan) String() string

func (*RatePlan) XXX_DiscardUnknown

func (m *RatePlan) XXX_DiscardUnknown()

func (*RatePlan) XXX_Marshal

func (m *RatePlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RatePlan) XXX_Merge

func (m *RatePlan) XXX_Merge(src proto.Message)

func (*RatePlan) XXX_Size

func (m *RatePlan) XXX_Size() int

func (*RatePlan) XXX_Unmarshal

func (m *RatePlan) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Resort) GetCode

func (m *Resort) GetCode() string

func (*Resort) GetDescription

func (m *Resort) GetDescription() string

func (*Resort) GetName

func (m *Resort) GetName() string

func (*Resort) ProtoMessage

func (*Resort) ProtoMessage()

func (*Resort) Reset

func (m *Resort) Reset()

func (*Resort) String

func (m *Resort) String() string

func (*Resort) XXX_DiscardUnknown

func (m *Resort) XXX_DiscardUnknown()

func (*Resort) XXX_Marshal

func (m *Resort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resort) XXX_Merge

func (m *Resort) XXX_Merge(src proto.Message)

func (*Resort) XXX_Size

func (m *Resort) XXX_Size() int

func (*Resort) XXX_Unmarshal

func (m *Resort) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Room) GetBeds

func (m *Room) GetBeds() []*Bed

func (*Room) GetCode

func (m *Room) GetCode() string

func (*Room) GetDescription

func (m *Room) GetDescription() string

func (*Room) GetOccupancyRefId

func (m *Room) GetOccupancyRefId() int32

func (*Room) GetPromotions

func (m *Room) GetPromotions() []*Promotion

func (*Room) GetRatePlans

func (m *Room) GetRatePlans() []*RatePlan

func (*Room) GetRefundable

func (m *Room) GetRefundable() bool

func (*Room) GetRoomPrice

func (m *Room) GetRoomPrice() *RoomPrice

func (*Room) GetUnits

func (m *Room) GetUnits() int64

func (*Room) ProtoMessage

func (*Room) ProtoMessage()

func (*Room) Reset

func (m *Room) Reset()

func (*Room) String

func (m *Room) String() string

func (*Room) XXX_DiscardUnknown

func (m *Room) XXX_DiscardUnknown()

func (*Room) XXX_Marshal

func (m *Room) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Room) XXX_Merge

func (m *Room) XXX_Merge(src proto.Message)

func (*Room) XXX_Size

func (m *Room) XXX_Size() int

func (*Room) XXX_Unmarshal

func (m *Room) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RoomPrice) GetBreakdowns

func (m *RoomPrice) GetBreakdowns() []*Breakdown

func (*RoomPrice) GetPrice

func (m *RoomPrice) GetPrice() *Price

func (*RoomPrice) ProtoMessage

func (*RoomPrice) ProtoMessage()

func (*RoomPrice) Reset

func (m *RoomPrice) Reset()

func (*RoomPrice) String

func (m *RoomPrice) String() string

func (*RoomPrice) XXX_DiscardUnknown

func (m *RoomPrice) XXX_DiscardUnknown()

func (*RoomPrice) XXX_Marshal

func (m *RoomPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoomPrice) XXX_Merge

func (m *RoomPrice) XXX_Merge(src proto.Message)

func (*RoomPrice) XXX_Size

func (m *RoomPrice) XXX_Size() int

func (*RoomPrice) XXX_Unmarshal

func (m *RoomPrice) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Rule) GetId

func (m *Rule) GetId() string

func (*Rule) GetName

func (m *Rule) GetName() string

func (*Rule) GetType

func (m *Rule) GetType() Rule_MarkupRuleType

func (*Rule) GetValue

func (m *Rule) GetValue() float64

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) Reset

func (m *Rule) Reset()

func (*Rule) String

func (m *Rule) String() string

func (*Rule) XXX_DiscardUnknown

func (m *Rule) XXX_DiscardUnknown()

func (*Rule) XXX_Marshal

func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Rule) XXX_Merge

func (m *Rule) XXX_Merge(src proto.Message)

func (*Rule) XXX_Size

func (m *Rule) XXX_Size() int

func (*Rule) XXX_Unmarshal

func (m *Rule) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Surcharge) GetChargeType

func (m *Surcharge) GetChargeType() ChargeType

func (*Surcharge) GetDescription

func (m *Surcharge) GetDescription() string

func (*Surcharge) GetMandatory

func (m *Surcharge) GetMandatory() bool

func (*Surcharge) GetPrice

func (m *Surcharge) GetPrice() *Price

func (*Surcharge) ProtoMessage

func (*Surcharge) ProtoMessage()

func (*Surcharge) Reset

func (m *Surcharge) Reset()

func (*Surcharge) String

func (m *Surcharge) String() string

func (*Surcharge) XXX_DiscardUnknown

func (m *Surcharge) XXX_DiscardUnknown()

func (*Surcharge) XXX_Marshal

func (m *Surcharge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Surcharge) XXX_Merge

func (m *Surcharge) XXX_Merge(src proto.Message)

func (*Surcharge) XXX_Size

func (m *Surcharge) XXX_Size() int

func (*Surcharge) XXX_Unmarshal

func (m *Surcharge) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

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