reservation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: AGPL-3.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReservationServiceEndpoints

func NewReservationServiceEndpoints() []*api.Endpoint

func RegisterReservationServiceHandler

func RegisterReservationServiceHandler(s server.Server, hdlr ReservationServiceHandler, opts ...server.HandlerOption) error

Types

type ClearRequest

type ClearRequest struct {
	CinemaId          int64  `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	ReservationNumber string `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
	CardNumber        string `protobuf:"bytes,3,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"`
}

func (*ClearRequest) Descriptor

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

func (*ClearRequest) GetCardNumber

func (m *ClearRequest) GetCardNumber() string

func (*ClearRequest) GetCinemaId

func (m *ClearRequest) GetCinemaId() int64

func (*ClearRequest) GetReservationNumber

func (m *ClearRequest) GetReservationNumber() string

func (*ClearRequest) ProtoMessage

func (*ClearRequest) ProtoMessage()

func (*ClearRequest) Reset

func (m *ClearRequest) Reset()

func (*ClearRequest) String

func (m *ClearRequest) String() string

func (*ClearRequest) Validate

func (m *ClearRequest) Validate() error

Validate checks the field values on ClearRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ClearRequest) XXX_DiscardUnknown

func (m *ClearRequest) XXX_DiscardUnknown()

func (*ClearRequest) XXX_Marshal

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

func (*ClearRequest) XXX_Merge

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

func (*ClearRequest) XXX_Size

func (m *ClearRequest) XXX_Size() int

func (*ClearRequest) XXX_Unmarshal

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

type ClearRequestValidationError

type ClearRequestValidationError struct {
	// contains filtered or unexported fields
}

ClearRequestValidationError is the validation error returned by ClearRequest.Validate if the designated constraints aren't met.

func (ClearRequestValidationError) Cause

Cause function returns cause value.

func (ClearRequestValidationError) Error

Error satisfies the builtin error interface

func (ClearRequestValidationError) ErrorName

func (e ClearRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ClearRequestValidationError) Field

Field function returns field value.

func (ClearRequestValidationError) Key

Key function returns key value.

func (ClearRequestValidationError) Reason

Reason function returns reason value.

type InfoByNumberRequest

type InfoByNumberRequest struct {
	CinemaId          int64  `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	ReservationNumber string `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
}

func (*InfoByNumberRequest) Descriptor

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

func (*InfoByNumberRequest) GetCinemaId

func (m *InfoByNumberRequest) GetCinemaId() int64

func (*InfoByNumberRequest) GetReservationNumber

func (m *InfoByNumberRequest) GetReservationNumber() string

func (*InfoByNumberRequest) ProtoMessage

func (*InfoByNumberRequest) ProtoMessage()

func (*InfoByNumberRequest) Reset

func (m *InfoByNumberRequest) Reset()

func (*InfoByNumberRequest) String

func (m *InfoByNumberRequest) String() string

func (*InfoByNumberRequest) Validate

func (m *InfoByNumberRequest) Validate() error

Validate checks the field values on InfoByNumberRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*InfoByNumberRequest) XXX_DiscardUnknown

func (m *InfoByNumberRequest) XXX_DiscardUnknown()

func (*InfoByNumberRequest) XXX_Marshal

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

func (*InfoByNumberRequest) XXX_Merge

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

func (*InfoByNumberRequest) XXX_Size

func (m *InfoByNumberRequest) XXX_Size() int

func (*InfoByNumberRequest) XXX_Unmarshal

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

type InfoByNumberRequestValidationError

type InfoByNumberRequestValidationError struct {
	// contains filtered or unexported fields
}

InfoByNumberRequestValidationError is the validation error returned by InfoByNumberRequest.Validate if the designated constraints aren't met.

func (InfoByNumberRequestValidationError) Cause

Cause function returns cause value.

func (InfoByNumberRequestValidationError) Error

Error satisfies the builtin error interface

func (InfoByNumberRequestValidationError) ErrorName

ErrorName returns error name.

func (InfoByNumberRequestValidationError) Field

Field function returns field value.

func (InfoByNumberRequestValidationError) Key

Key function returns key value.

func (InfoByNumberRequestValidationError) Reason

Reason function returns reason value.

type InfoByNumberResponse

type InfoByNumberResponse struct {
	Data *InfoByNumberResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*InfoByNumberResponse) Descriptor

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

func (*InfoByNumberResponse) GetData

func (*InfoByNumberResponse) ProtoMessage

func (*InfoByNumberResponse) ProtoMessage()

func (*InfoByNumberResponse) Reset

func (m *InfoByNumberResponse) Reset()

func (*InfoByNumberResponse) String

func (m *InfoByNumberResponse) String() string

func (*InfoByNumberResponse) Validate

func (m *InfoByNumberResponse) Validate() error

Validate checks the field values on InfoByNumberResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*InfoByNumberResponse) XXX_DiscardUnknown

func (m *InfoByNumberResponse) XXX_DiscardUnknown()

func (*InfoByNumberResponse) XXX_Marshal

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

func (*InfoByNumberResponse) XXX_Merge

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

func (*InfoByNumberResponse) XXX_Size

func (m *InfoByNumberResponse) XXX_Size() int

func (*InfoByNumberResponse) XXX_Unmarshal

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

type InfoByNumberResponseValidationError

type InfoByNumberResponseValidationError struct {
	// contains filtered or unexported fields
}

InfoByNumberResponseValidationError is the validation error returned by InfoByNumberResponse.Validate if the designated constraints aren't met.

func (InfoByNumberResponseValidationError) Cause

Cause function returns cause value.

func (InfoByNumberResponseValidationError) Error

Error satisfies the builtin error interface

func (InfoByNumberResponseValidationError) ErrorName

ErrorName returns error name.

func (InfoByNumberResponseValidationError) Field

Field function returns field value.

func (InfoByNumberResponseValidationError) Key

Key function returns key value.

func (InfoByNumberResponseValidationError) Reason

Reason function returns reason value.

type InfoByNumberResponse_Data

type InfoByNumberResponse_Data struct {
	ReservationId     int64                             `protobuf:"varint,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	ReservationNumber string                            `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
	ReservationDate   string                            `protobuf:"bytes,3,opt,name=reservation_date,json=reservationDate,proto3" json:"reservation_date,omitempty"`
	SeanceId          int64                             `protobuf:"varint,4,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId       int64                             `protobuf:"varint,5,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	VoidDate          string                            `protobuf:"bytes,6,opt,name=void_date,json=voidDate,proto3" json:"void_date,omitempty"`
	ConfirmationDate  string                            `protobuf:"bytes,7,opt,name=confirmation_date,json=confirmationDate,proto3" json:"confirmation_date,omitempty"`
	ConfirmeDate      string                            `protobuf:"bytes,8,opt,name=confirme_date,json=confirmeDate,proto3" json:"confirme_date,omitempty"`
	SeatsPrice        float64                           `protobuf:"fixed64,9,opt,name=seats_price,json=seatsPrice,proto3" json:"seats_price,omitempty"`
	ReservationPrice  float64                           `protobuf:"fixed64,10,opt,name=reservation_price,json=reservationPrice,proto3" json:"reservation_price,omitempty"`
	Seats             []*InfoByNumberResponse_Data_Seat `protobuf:"bytes,11,rep,name=seats,proto3" json:"seats,omitempty"`
}

func (*InfoByNumberResponse_Data) Descriptor

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

func (*InfoByNumberResponse_Data) GetConfirmationDate

func (m *InfoByNumberResponse_Data) GetConfirmationDate() string

func (*InfoByNumberResponse_Data) GetConfirmeDate

func (m *InfoByNumberResponse_Data) GetConfirmeDate() string

func (*InfoByNumberResponse_Data) GetContainerId

func (m *InfoByNumberResponse_Data) GetContainerId() int64

func (*InfoByNumberResponse_Data) GetReservationDate

func (m *InfoByNumberResponse_Data) GetReservationDate() string

func (*InfoByNumberResponse_Data) GetReservationId

func (m *InfoByNumberResponse_Data) GetReservationId() int64

func (*InfoByNumberResponse_Data) GetReservationNumber

func (m *InfoByNumberResponse_Data) GetReservationNumber() string

func (*InfoByNumberResponse_Data) GetReservationPrice

func (m *InfoByNumberResponse_Data) GetReservationPrice() float64

func (*InfoByNumberResponse_Data) GetSeanceId

func (m *InfoByNumberResponse_Data) GetSeanceId() int64

func (*InfoByNumberResponse_Data) GetSeats

func (*InfoByNumberResponse_Data) GetSeatsPrice

func (m *InfoByNumberResponse_Data) GetSeatsPrice() float64

func (*InfoByNumberResponse_Data) GetVoidDate

func (m *InfoByNumberResponse_Data) GetVoidDate() string

func (*InfoByNumberResponse_Data) ProtoMessage

func (*InfoByNumberResponse_Data) ProtoMessage()

func (*InfoByNumberResponse_Data) Reset

func (m *InfoByNumberResponse_Data) Reset()

func (*InfoByNumberResponse_Data) String

func (m *InfoByNumberResponse_Data) String() string

func (*InfoByNumberResponse_Data) Validate

func (m *InfoByNumberResponse_Data) Validate() error

Validate checks the field values on InfoByNumberResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*InfoByNumberResponse_Data) XXX_DiscardUnknown

func (m *InfoByNumberResponse_Data) XXX_DiscardUnknown()

func (*InfoByNumberResponse_Data) XXX_Marshal

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

func (*InfoByNumberResponse_Data) XXX_Merge

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

func (*InfoByNumberResponse_Data) XXX_Size

func (m *InfoByNumberResponse_Data) XXX_Size() int

func (*InfoByNumberResponse_Data) XXX_Unmarshal

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

type InfoByNumberResponse_DataValidationError

type InfoByNumberResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

InfoByNumberResponse_DataValidationError is the validation error returned by InfoByNumberResponse_Data.Validate if the designated constraints aren't met.

func (InfoByNumberResponse_DataValidationError) Cause

Cause function returns cause value.

func (InfoByNumberResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (InfoByNumberResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (InfoByNumberResponse_DataValidationError) Field

Field function returns field value.

func (InfoByNumberResponse_DataValidationError) Key

Key function returns key value.

func (InfoByNumberResponse_DataValidationError) Reason

Reason function returns reason value.

type InfoByNumberResponse_Data_Seat

type InfoByNumberResponse_Data_Seat struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RowText  string `protobuf:"bytes,2,opt,name=row_text,json=rowText,proto3" json:"row_text,omitempty"`
	SeatText string `protobuf:"bytes,3,opt,name=seat_text,json=seatText,proto3" json:"seat_text,omitempty"`
}

func (*InfoByNumberResponse_Data_Seat) Descriptor

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

func (*InfoByNumberResponse_Data_Seat) GetId

func (*InfoByNumberResponse_Data_Seat) GetRowText

func (m *InfoByNumberResponse_Data_Seat) GetRowText() string

func (*InfoByNumberResponse_Data_Seat) GetSeatText

func (m *InfoByNumberResponse_Data_Seat) GetSeatText() string

func (*InfoByNumberResponse_Data_Seat) ProtoMessage

func (*InfoByNumberResponse_Data_Seat) ProtoMessage()

func (*InfoByNumberResponse_Data_Seat) Reset

func (m *InfoByNumberResponse_Data_Seat) Reset()

func (*InfoByNumberResponse_Data_Seat) String

func (*InfoByNumberResponse_Data_Seat) Validate

func (m *InfoByNumberResponse_Data_Seat) Validate() error

Validate checks the field values on InfoByNumberResponse_Data_Seat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*InfoByNumberResponse_Data_Seat) XXX_DiscardUnknown

func (m *InfoByNumberResponse_Data_Seat) XXX_DiscardUnknown()

func (*InfoByNumberResponse_Data_Seat) XXX_Marshal

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

func (*InfoByNumberResponse_Data_Seat) XXX_Merge

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

func (*InfoByNumberResponse_Data_Seat) XXX_Size

func (m *InfoByNumberResponse_Data_Seat) XXX_Size() int

func (*InfoByNumberResponse_Data_Seat) XXX_Unmarshal

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

type InfoByNumberResponse_Data_SeatValidationError

type InfoByNumberResponse_Data_SeatValidationError struct {
	// contains filtered or unexported fields
}

InfoByNumberResponse_Data_SeatValidationError is the validation error returned by InfoByNumberResponse_Data_Seat.Validate if the designated constraints aren't met.

func (InfoByNumberResponse_Data_SeatValidationError) Cause

Cause function returns cause value.

func (InfoByNumberResponse_Data_SeatValidationError) Error

Error satisfies the builtin error interface

func (InfoByNumberResponse_Data_SeatValidationError) ErrorName

ErrorName returns error name.

func (InfoByNumberResponse_Data_SeatValidationError) Field

Field function returns field value.

func (InfoByNumberResponse_Data_SeatValidationError) Key

Key function returns key value.

func (InfoByNumberResponse_Data_SeatValidationError) Reason

Reason function returns reason value.

type PayedRequest

type PayedRequest struct {
	CinemaId      int64   `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	ReservationId int64   `protobuf:"varint,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	Sum           float64 `protobuf:"fixed64,3,opt,name=sum,proto3" json:"sum,omitempty"`
}

func (*PayedRequest) Descriptor

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

func (*PayedRequest) GetCinemaId

func (m *PayedRequest) GetCinemaId() int64

func (*PayedRequest) GetReservationId

func (m *PayedRequest) GetReservationId() int64

func (*PayedRequest) GetSum

func (m *PayedRequest) GetSum() float64

func (*PayedRequest) ProtoMessage

func (*PayedRequest) ProtoMessage()

func (*PayedRequest) Reset

func (m *PayedRequest) Reset()

func (*PayedRequest) String

func (m *PayedRequest) String() string

func (*PayedRequest) Validate

func (m *PayedRequest) Validate() error

Validate checks the field values on PayedRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PayedRequest) XXX_DiscardUnknown

func (m *PayedRequest) XXX_DiscardUnknown()

func (*PayedRequest) XXX_Marshal

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

func (*PayedRequest) XXX_Merge

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

func (*PayedRequest) XXX_Size

func (m *PayedRequest) XXX_Size() int

func (*PayedRequest) XXX_Unmarshal

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

type PayedRequestValidationError

type PayedRequestValidationError struct {
	// contains filtered or unexported fields
}

PayedRequestValidationError is the validation error returned by PayedRequest.Validate if the designated constraints aren't met.

func (PayedRequestValidationError) Cause

Cause function returns cause value.

func (PayedRequestValidationError) Error

Error satisfies the builtin error interface

func (PayedRequestValidationError) ErrorName

func (e PayedRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PayedRequestValidationError) Field

Field function returns field value.

func (PayedRequestValidationError) Key

Key function returns key value.

func (PayedRequestValidationError) Reason

Reason function returns reason value.

type PayedResponse

type PayedResponse struct {
	Data *PayedResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*PayedResponse) Descriptor

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

func (*PayedResponse) GetData

func (m *PayedResponse) GetData() *PayedResponse_Data

func (*PayedResponse) ProtoMessage

func (*PayedResponse) ProtoMessage()

func (*PayedResponse) Reset

func (m *PayedResponse) Reset()

func (*PayedResponse) String

func (m *PayedResponse) String() string

func (*PayedResponse) Validate

func (m *PayedResponse) Validate() error

Validate checks the field values on PayedResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PayedResponse) XXX_DiscardUnknown

func (m *PayedResponse) XXX_DiscardUnknown()

func (*PayedResponse) XXX_Marshal

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

func (*PayedResponse) XXX_Merge

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

func (*PayedResponse) XXX_Size

func (m *PayedResponse) XXX_Size() int

func (*PayedResponse) XXX_Unmarshal

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

type PayedResponseValidationError

type PayedResponseValidationError struct {
	// contains filtered or unexported fields
}

PayedResponseValidationError is the validation error returned by PayedResponse.Validate if the designated constraints aren't met.

func (PayedResponseValidationError) Cause

Cause function returns cause value.

func (PayedResponseValidationError) Error

Error satisfies the builtin error interface

func (PayedResponseValidationError) ErrorName

func (e PayedResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PayedResponseValidationError) Field

Field function returns field value.

func (PayedResponseValidationError) Key

Key function returns key value.

func (PayedResponseValidationError) Reason

Reason function returns reason value.

type PayedResponse_Data

type PayedResponse_Data struct {
	Result     int64  `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	ResultText string `protobuf:"bytes,2,opt,name=result_text,json=resultText,proto3" json:"result_text,omitempty"`
}

func (*PayedResponse_Data) Descriptor

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

func (*PayedResponse_Data) GetResult

func (m *PayedResponse_Data) GetResult() int64

func (*PayedResponse_Data) GetResultText

func (m *PayedResponse_Data) GetResultText() string

func (*PayedResponse_Data) ProtoMessage

func (*PayedResponse_Data) ProtoMessage()

func (*PayedResponse_Data) Reset

func (m *PayedResponse_Data) Reset()

func (*PayedResponse_Data) String

func (m *PayedResponse_Data) String() string

func (*PayedResponse_Data) Validate

func (m *PayedResponse_Data) Validate() error

Validate checks the field values on PayedResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PayedResponse_Data) XXX_DiscardUnknown

func (m *PayedResponse_Data) XXX_DiscardUnknown()

func (*PayedResponse_Data) XXX_Marshal

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

func (*PayedResponse_Data) XXX_Merge

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

func (*PayedResponse_Data) XXX_Size

func (m *PayedResponse_Data) XXX_Size() int

func (*PayedResponse_Data) XXX_Unmarshal

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

type PayedResponse_DataValidationError

type PayedResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

PayedResponse_DataValidationError is the validation error returned by PayedResponse_Data.Validate if the designated constraints aren't met.

func (PayedResponse_DataValidationError) Cause

Cause function returns cause value.

func (PayedResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (PayedResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (PayedResponse_DataValidationError) Field

Field function returns field value.

func (PayedResponse_DataValidationError) Key

Key function returns key value.

func (PayedResponse_DataValidationError) Reason

Reason function returns reason value.

type PayedWithContractRequest

type PayedWithContractRequest struct {
	CinemaId      int64   `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	ReservationId int64   `protobuf:"varint,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	ContractId    int64   `protobuf:"varint,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Sum           float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"`
}

func (*PayedWithContractRequest) Descriptor

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

func (*PayedWithContractRequest) GetCinemaId

func (m *PayedWithContractRequest) GetCinemaId() int64

func (*PayedWithContractRequest) GetContractId

func (m *PayedWithContractRequest) GetContractId() int64

func (*PayedWithContractRequest) GetReservationId

func (m *PayedWithContractRequest) GetReservationId() int64

func (*PayedWithContractRequest) GetSum

func (m *PayedWithContractRequest) GetSum() float64

func (*PayedWithContractRequest) ProtoMessage

func (*PayedWithContractRequest) ProtoMessage()

func (*PayedWithContractRequest) Reset

func (m *PayedWithContractRequest) Reset()

func (*PayedWithContractRequest) String

func (m *PayedWithContractRequest) String() string

func (*PayedWithContractRequest) Validate

func (m *PayedWithContractRequest) Validate() error

Validate checks the field values on PayedWithContractRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PayedWithContractRequest) XXX_DiscardUnknown

func (m *PayedWithContractRequest) XXX_DiscardUnknown()

func (*PayedWithContractRequest) XXX_Marshal

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

func (*PayedWithContractRequest) XXX_Merge

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

func (*PayedWithContractRequest) XXX_Size

func (m *PayedWithContractRequest) XXX_Size() int

func (*PayedWithContractRequest) XXX_Unmarshal

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

type PayedWithContractRequestValidationError

type PayedWithContractRequestValidationError struct {
	// contains filtered or unexported fields
}

PayedWithContractRequestValidationError is the validation error returned by PayedWithContractRequest.Validate if the designated constraints aren't met.

func (PayedWithContractRequestValidationError) Cause

Cause function returns cause value.

func (PayedWithContractRequestValidationError) Error

Error satisfies the builtin error interface

func (PayedWithContractRequestValidationError) ErrorName

ErrorName returns error name.

func (PayedWithContractRequestValidationError) Field

Field function returns field value.

func (PayedWithContractRequestValidationError) Key

Key function returns key value.

func (PayedWithContractRequestValidationError) Reason

Reason function returns reason value.

type ReservationService

type ReservationService interface {
	Reserve(ctx context.Context, in *ReserveRequest, opts ...client.CallOption) (*ReserveResponse, error)
	Payed(ctx context.Context, in *PayedRequest, opts ...client.CallOption) (*PayedResponse, error)
	PayedWithContract(ctx context.Context, in *PayedWithContractRequest, opts ...client.CallOption) (*PayedResponse, error)
	InfoByNumber(ctx context.Context, in *InfoByNumberRequest, opts ...client.CallOption) (*InfoByNumberResponse, error)
	Clear(ctx context.Context, in *ClearRequest, opts ...client.CallOption) (*empty.Empty, error)
	Sell(ctx context.Context, in *SellRequest, opts ...client.CallOption) (*SellResponse, error)
}

func NewReservationService

func NewReservationService(name string, c client.Client) ReservationService

type ReserveRequest

type ReserveRequest struct {
	CinemaId    int64   `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	SeanceId    int64   `protobuf:"varint,2,opt,name=seance_id,json=seanceId,proto3" json:"seance_id,omitempty"`
	ContainerId int64   `protobuf:"varint,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	CardNumber  string  `protobuf:"bytes,4,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"`
	Seats       []int64 `protobuf:"varint,5,rep,packed,name=seats,proto3" json:"seats,omitempty"`
	CustomerId  int64   `protobuf:"varint,6,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
}

func (*ReserveRequest) Descriptor

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

func (*ReserveRequest) GetCardNumber

func (m *ReserveRequest) GetCardNumber() string

func (*ReserveRequest) GetCinemaId

func (m *ReserveRequest) GetCinemaId() int64

func (*ReserveRequest) GetContainerId

func (m *ReserveRequest) GetContainerId() int64

func (*ReserveRequest) GetCustomerId

func (m *ReserveRequest) GetCustomerId() int64

func (*ReserveRequest) GetSeanceId

func (m *ReserveRequest) GetSeanceId() int64

func (*ReserveRequest) GetSeats

func (m *ReserveRequest) GetSeats() []int64

func (*ReserveRequest) ProtoMessage

func (*ReserveRequest) ProtoMessage()

func (*ReserveRequest) Reset

func (m *ReserveRequest) Reset()

func (*ReserveRequest) String

func (m *ReserveRequest) String() string

func (*ReserveRequest) Validate

func (m *ReserveRequest) Validate() error

Validate checks the field values on ReserveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReserveRequest) XXX_DiscardUnknown

func (m *ReserveRequest) XXX_DiscardUnknown()

func (*ReserveRequest) XXX_Marshal

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

func (*ReserveRequest) XXX_Merge

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

func (*ReserveRequest) XXX_Size

func (m *ReserveRequest) XXX_Size() int

func (*ReserveRequest) XXX_Unmarshal

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

type ReserveRequestValidationError

type ReserveRequestValidationError struct {
	// contains filtered or unexported fields
}

ReserveRequestValidationError is the validation error returned by ReserveRequest.Validate if the designated constraints aren't met.

func (ReserveRequestValidationError) Cause

Cause function returns cause value.

func (ReserveRequestValidationError) Error

Error satisfies the builtin error interface

func (ReserveRequestValidationError) ErrorName

func (e ReserveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ReserveRequestValidationError) Field

Field function returns field value.

func (ReserveRequestValidationError) Key

Key function returns key value.

func (ReserveRequestValidationError) Reason

Reason function returns reason value.

type ReserveResponse

type ReserveResponse struct {
	Data *ReserveResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*ReserveResponse) Descriptor

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

func (*ReserveResponse) GetData

func (m *ReserveResponse) GetData() *ReserveResponse_Data

func (*ReserveResponse) ProtoMessage

func (*ReserveResponse) ProtoMessage()

func (*ReserveResponse) Reset

func (m *ReserveResponse) Reset()

func (*ReserveResponse) String

func (m *ReserveResponse) String() string

func (*ReserveResponse) Validate

func (m *ReserveResponse) Validate() error

Validate checks the field values on ReserveResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReserveResponse) XXX_DiscardUnknown

func (m *ReserveResponse) XXX_DiscardUnknown()

func (*ReserveResponse) XXX_Marshal

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

func (*ReserveResponse) XXX_Merge

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

func (*ReserveResponse) XXX_Size

func (m *ReserveResponse) XXX_Size() int

func (*ReserveResponse) XXX_Unmarshal

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

type ReserveResponseValidationError

type ReserveResponseValidationError struct {
	// contains filtered or unexported fields
}

ReserveResponseValidationError is the validation error returned by ReserveResponse.Validate if the designated constraints aren't met.

func (ReserveResponseValidationError) Cause

Cause function returns cause value.

func (ReserveResponseValidationError) Error

Error satisfies the builtin error interface

func (ReserveResponseValidationError) ErrorName

func (e ReserveResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ReserveResponseValidationError) Field

Field function returns field value.

func (ReserveResponseValidationError) Key

Key function returns key value.

func (ReserveResponseValidationError) Reason

Reason function returns reason value.

type ReserveResponse_Data

type ReserveResponse_Data struct {
	ReservationId     int64                        `protobuf:"varint,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	ReservationNumber string                       `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
	VoidDate          string                       `protobuf:"bytes,3,opt,name=void_date,json=voidDate,proto3" json:"void_date,omitempty"`
	ConfirmationDate  string                       `protobuf:"bytes,4,opt,name=confirmation_date,json=confirmationDate,proto3" json:"confirmation_date,omitempty"`
	SeatsPrice        float64                      `protobuf:"fixed64,5,opt,name=seats_price,json=seatsPrice,proto3" json:"seats_price,omitempty"`
	ReservationPrice  float64                      `protobuf:"fixed64,6,opt,name=reservation_price,json=reservationPrice,proto3" json:"reservation_price,omitempty"`
	Result            int64                        `protobuf:"varint,7,opt,name=result,proto3" json:"result,omitempty"`
	ResultText        string                       `protobuf:"bytes,8,opt,name=result_text,json=resultText,proto3" json:"result_text,omitempty"`
	Seats             []*ReserveResponse_Data_Seat `protobuf:"bytes,9,rep,name=seats,proto3" json:"seats,omitempty"`
}

func (*ReserveResponse_Data) Descriptor

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

func (*ReserveResponse_Data) GetConfirmationDate

func (m *ReserveResponse_Data) GetConfirmationDate() string

func (*ReserveResponse_Data) GetReservationId

func (m *ReserveResponse_Data) GetReservationId() int64

func (*ReserveResponse_Data) GetReservationNumber

func (m *ReserveResponse_Data) GetReservationNumber() string

func (*ReserveResponse_Data) GetReservationPrice

func (m *ReserveResponse_Data) GetReservationPrice() float64

func (*ReserveResponse_Data) GetResult

func (m *ReserveResponse_Data) GetResult() int64

func (*ReserveResponse_Data) GetResultText

func (m *ReserveResponse_Data) GetResultText() string

func (*ReserveResponse_Data) GetSeats

func (*ReserveResponse_Data) GetSeatsPrice

func (m *ReserveResponse_Data) GetSeatsPrice() float64

func (*ReserveResponse_Data) GetVoidDate

func (m *ReserveResponse_Data) GetVoidDate() string

func (*ReserveResponse_Data) ProtoMessage

func (*ReserveResponse_Data) ProtoMessage()

func (*ReserveResponse_Data) Reset

func (m *ReserveResponse_Data) Reset()

func (*ReserveResponse_Data) String

func (m *ReserveResponse_Data) String() string

func (*ReserveResponse_Data) Validate

func (m *ReserveResponse_Data) Validate() error

Validate checks the field values on ReserveResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReserveResponse_Data) XXX_DiscardUnknown

func (m *ReserveResponse_Data) XXX_DiscardUnknown()

func (*ReserveResponse_Data) XXX_Marshal

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

func (*ReserveResponse_Data) XXX_Merge

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

func (*ReserveResponse_Data) XXX_Size

func (m *ReserveResponse_Data) XXX_Size() int

func (*ReserveResponse_Data) XXX_Unmarshal

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

type ReserveResponse_DataValidationError

type ReserveResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

ReserveResponse_DataValidationError is the validation error returned by ReserveResponse_Data.Validate if the designated constraints aren't met.

func (ReserveResponse_DataValidationError) Cause

Cause function returns cause value.

func (ReserveResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (ReserveResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (ReserveResponse_DataValidationError) Field

Field function returns field value.

func (ReserveResponse_DataValidationError) Key

Key function returns key value.

func (ReserveResponse_DataValidationError) Reason

Reason function returns reason value.

type ReserveResponse_Data_Seat

type ReserveResponse_Data_Seat struct {
	Id       int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RowText  string  `protobuf:"bytes,2,opt,name=row_text,json=rowText,proto3" json:"row_text,omitempty"`
	SeatText string  `protobuf:"bytes,3,opt,name=seat_text,json=seatText,proto3" json:"seat_text,omitempty"`
	Price    float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"`
	Amount   float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*ReserveResponse_Data_Seat) Descriptor

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

func (*ReserveResponse_Data_Seat) GetAmount

func (m *ReserveResponse_Data_Seat) GetAmount() float64

func (*ReserveResponse_Data_Seat) GetId

func (m *ReserveResponse_Data_Seat) GetId() int64

func (*ReserveResponse_Data_Seat) GetPrice

func (m *ReserveResponse_Data_Seat) GetPrice() float64

func (*ReserveResponse_Data_Seat) GetRowText

func (m *ReserveResponse_Data_Seat) GetRowText() string

func (*ReserveResponse_Data_Seat) GetSeatText

func (m *ReserveResponse_Data_Seat) GetSeatText() string

func (*ReserveResponse_Data_Seat) ProtoMessage

func (*ReserveResponse_Data_Seat) ProtoMessage()

func (*ReserveResponse_Data_Seat) Reset

func (m *ReserveResponse_Data_Seat) Reset()

func (*ReserveResponse_Data_Seat) String

func (m *ReserveResponse_Data_Seat) String() string

func (*ReserveResponse_Data_Seat) Validate

func (m *ReserveResponse_Data_Seat) Validate() error

Validate checks the field values on ReserveResponse_Data_Seat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ReserveResponse_Data_Seat) XXX_DiscardUnknown

func (m *ReserveResponse_Data_Seat) XXX_DiscardUnknown()

func (*ReserveResponse_Data_Seat) XXX_Marshal

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

func (*ReserveResponse_Data_Seat) XXX_Merge

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

func (*ReserveResponse_Data_Seat) XXX_Size

func (m *ReserveResponse_Data_Seat) XXX_Size() int

func (*ReserveResponse_Data_Seat) XXX_Unmarshal

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

type ReserveResponse_Data_SeatValidationError

type ReserveResponse_Data_SeatValidationError struct {
	// contains filtered or unexported fields
}

ReserveResponse_Data_SeatValidationError is the validation error returned by ReserveResponse_Data_Seat.Validate if the designated constraints aren't met.

func (ReserveResponse_Data_SeatValidationError) Cause

Cause function returns cause value.

func (ReserveResponse_Data_SeatValidationError) Error

Error satisfies the builtin error interface

func (ReserveResponse_Data_SeatValidationError) ErrorName

ErrorName returns error name.

func (ReserveResponse_Data_SeatValidationError) Field

Field function returns field value.

func (ReserveResponse_Data_SeatValidationError) Key

Key function returns key value.

func (ReserveResponse_Data_SeatValidationError) Reason

Reason function returns reason value.

type SellRequest

type SellRequest struct {
	CinemaId      int64 `protobuf:"varint,1,opt,name=cinema_id,json=cinemaId,proto3" json:"cinema_id,omitempty"`
	ReservationId int64 `protobuf:"varint,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
}

func (*SellRequest) Descriptor

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

func (*SellRequest) GetCinemaId

func (m *SellRequest) GetCinemaId() int64

func (*SellRequest) GetReservationId

func (m *SellRequest) GetReservationId() int64

func (*SellRequest) ProtoMessage

func (*SellRequest) ProtoMessage()

func (*SellRequest) Reset

func (m *SellRequest) Reset()

func (*SellRequest) String

func (m *SellRequest) String() string

func (*SellRequest) Validate

func (m *SellRequest) Validate() error

Validate checks the field values on SellRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SellRequest) XXX_DiscardUnknown

func (m *SellRequest) XXX_DiscardUnknown()

func (*SellRequest) XXX_Marshal

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

func (*SellRequest) XXX_Merge

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

func (*SellRequest) XXX_Size

func (m *SellRequest) XXX_Size() int

func (*SellRequest) XXX_Unmarshal

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

type SellRequestValidationError

type SellRequestValidationError struct {
	// contains filtered or unexported fields
}

SellRequestValidationError is the validation error returned by SellRequest.Validate if the designated constraints aren't met.

func (SellRequestValidationError) Cause

Cause function returns cause value.

func (SellRequestValidationError) Error

Error satisfies the builtin error interface

func (SellRequestValidationError) ErrorName

func (e SellRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SellRequestValidationError) Field

Field function returns field value.

func (SellRequestValidationError) Key

Key function returns key value.

func (SellRequestValidationError) Reason

Reason function returns reason value.

type SellResponse

type SellResponse struct {
	Data *SellResponse_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*SellResponse) Descriptor

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

func (*SellResponse) GetData

func (m *SellResponse) GetData() *SellResponse_Data

func (*SellResponse) ProtoMessage

func (*SellResponse) ProtoMessage()

func (*SellResponse) Reset

func (m *SellResponse) Reset()

func (*SellResponse) String

func (m *SellResponse) String() string

func (*SellResponse) Validate

func (m *SellResponse) Validate() error

Validate checks the field values on SellResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SellResponse) XXX_DiscardUnknown

func (m *SellResponse) XXX_DiscardUnknown()

func (*SellResponse) XXX_Marshal

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

func (*SellResponse) XXX_Merge

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

func (*SellResponse) XXX_Size

func (m *SellResponse) XXX_Size() int

func (*SellResponse) XXX_Unmarshal

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

type SellResponseValidationError

type SellResponseValidationError struct {
	// contains filtered or unexported fields
}

SellResponseValidationError is the validation error returned by SellResponse.Validate if the designated constraints aren't met.

func (SellResponseValidationError) Cause

Cause function returns cause value.

func (SellResponseValidationError) Error

Error satisfies the builtin error interface

func (SellResponseValidationError) ErrorName

func (e SellResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SellResponseValidationError) Field

Field function returns field value.

func (SellResponseValidationError) Key

Key function returns key value.

func (SellResponseValidationError) Reason

Reason function returns reason value.

type SellResponse_Data

type SellResponse_Data struct {
	ReservationId     int64                     `protobuf:"varint,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	ReservationNumber string                    `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
	SeatsPrice        float64                   `protobuf:"fixed64,5,opt,name=seats_price,json=seatsPrice,proto3" json:"seats_price,omitempty"`
	ReservationPrice  float64                   `protobuf:"fixed64,6,opt,name=reservation_price,json=reservationPrice,proto3" json:"reservation_price,omitempty"`
	Result            int64                     `protobuf:"varint,7,opt,name=result,proto3" json:"result,omitempty"`
	ResultText        string                    `protobuf:"bytes,8,opt,name=result_text,json=resultText,proto3" json:"result_text,omitempty"`
	Seats             []*SellResponse_Data_Seat `protobuf:"bytes,9,rep,name=seats,proto3" json:"seats,omitempty"`
}

func (*SellResponse_Data) Descriptor

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

func (*SellResponse_Data) GetReservationId

func (m *SellResponse_Data) GetReservationId() int64

func (*SellResponse_Data) GetReservationNumber

func (m *SellResponse_Data) GetReservationNumber() string

func (*SellResponse_Data) GetReservationPrice

func (m *SellResponse_Data) GetReservationPrice() float64

func (*SellResponse_Data) GetResult

func (m *SellResponse_Data) GetResult() int64

func (*SellResponse_Data) GetResultText

func (m *SellResponse_Data) GetResultText() string

func (*SellResponse_Data) GetSeats

func (m *SellResponse_Data) GetSeats() []*SellResponse_Data_Seat

func (*SellResponse_Data) GetSeatsPrice

func (m *SellResponse_Data) GetSeatsPrice() float64

func (*SellResponse_Data) ProtoMessage

func (*SellResponse_Data) ProtoMessage()

func (*SellResponse_Data) Reset

func (m *SellResponse_Data) Reset()

func (*SellResponse_Data) String

func (m *SellResponse_Data) String() string

func (*SellResponse_Data) Validate

func (m *SellResponse_Data) Validate() error

Validate checks the field values on SellResponse_Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SellResponse_Data) XXX_DiscardUnknown

func (m *SellResponse_Data) XXX_DiscardUnknown()

func (*SellResponse_Data) XXX_Marshal

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

func (*SellResponse_Data) XXX_Merge

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

func (*SellResponse_Data) XXX_Size

func (m *SellResponse_Data) XXX_Size() int

func (*SellResponse_Data) XXX_Unmarshal

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

type SellResponse_DataValidationError

type SellResponse_DataValidationError struct {
	// contains filtered or unexported fields
}

SellResponse_DataValidationError is the validation error returned by SellResponse_Data.Validate if the designated constraints aren't met.

func (SellResponse_DataValidationError) Cause

Cause function returns cause value.

func (SellResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (SellResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (SellResponse_DataValidationError) Field

Field function returns field value.

func (SellResponse_DataValidationError) Key

Key function returns key value.

func (SellResponse_DataValidationError) Reason

Reason function returns reason value.

type SellResponse_Data_Seat

type SellResponse_Data_Seat struct {
	Id       int64                          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RowText  string                         `protobuf:"bytes,2,opt,name=row_text,json=rowText,proto3" json:"row_text,omitempty"`
	SeatText string                         `protobuf:"bytes,3,opt,name=seat_text,json=seatText,proto3" json:"seat_text,omitempty"`
	Amount   float64                        `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Barcode  string                         `protobuf:"bytes,6,opt,name=barcode,proto3" json:"barcode,omitempty"`
	Ticket   *SellResponse_Data_Seat_Ticket `protobuf:"bytes,7,opt,name=ticket,proto3" json:"ticket,omitempty"`
}

func (*SellResponse_Data_Seat) Descriptor

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

func (*SellResponse_Data_Seat) GetAmount

func (m *SellResponse_Data_Seat) GetAmount() float64

func (*SellResponse_Data_Seat) GetBarcode

func (m *SellResponse_Data_Seat) GetBarcode() string

func (*SellResponse_Data_Seat) GetId

func (m *SellResponse_Data_Seat) GetId() int64

func (*SellResponse_Data_Seat) GetRowText

func (m *SellResponse_Data_Seat) GetRowText() string

func (*SellResponse_Data_Seat) GetSeatText

func (m *SellResponse_Data_Seat) GetSeatText() string

func (*SellResponse_Data_Seat) GetTicket

func (*SellResponse_Data_Seat) ProtoMessage

func (*SellResponse_Data_Seat) ProtoMessage()

func (*SellResponse_Data_Seat) Reset

func (m *SellResponse_Data_Seat) Reset()

func (*SellResponse_Data_Seat) String

func (m *SellResponse_Data_Seat) String() string

func (*SellResponse_Data_Seat) Validate

func (m *SellResponse_Data_Seat) Validate() error

Validate checks the field values on SellResponse_Data_Seat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SellResponse_Data_Seat) XXX_DiscardUnknown

func (m *SellResponse_Data_Seat) XXX_DiscardUnknown()

func (*SellResponse_Data_Seat) XXX_Marshal

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

func (*SellResponse_Data_Seat) XXX_Merge

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

func (*SellResponse_Data_Seat) XXX_Size

func (m *SellResponse_Data_Seat) XXX_Size() int

func (*SellResponse_Data_Seat) XXX_Unmarshal

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

type SellResponse_Data_SeatValidationError

type SellResponse_Data_SeatValidationError struct {
	// contains filtered or unexported fields
}

SellResponse_Data_SeatValidationError is the validation error returned by SellResponse_Data_Seat.Validate if the designated constraints aren't met.

func (SellResponse_Data_SeatValidationError) Cause

Cause function returns cause value.

func (SellResponse_Data_SeatValidationError) Error

Error satisfies the builtin error interface

func (SellResponse_Data_SeatValidationError) ErrorName

ErrorName returns error name.

func (SellResponse_Data_SeatValidationError) Field

Field function returns field value.

func (SellResponse_Data_SeatValidationError) Key

Key function returns key value.

func (SellResponse_Data_SeatValidationError) Reason

Reason function returns reason value.

type SellResponse_Data_Seat_Ticket

type SellResponse_Data_Seat_Ticket struct {
	Number int64  `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
}

func (*SellResponse_Data_Seat_Ticket) Descriptor

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

func (*SellResponse_Data_Seat_Ticket) GetNumber

func (m *SellResponse_Data_Seat_Ticket) GetNumber() int64

func (*SellResponse_Data_Seat_Ticket) GetSerial

func (m *SellResponse_Data_Seat_Ticket) GetSerial() string

func (*SellResponse_Data_Seat_Ticket) ProtoMessage

func (*SellResponse_Data_Seat_Ticket) ProtoMessage()

func (*SellResponse_Data_Seat_Ticket) Reset

func (m *SellResponse_Data_Seat_Ticket) Reset()

func (*SellResponse_Data_Seat_Ticket) String

func (*SellResponse_Data_Seat_Ticket) Validate

func (m *SellResponse_Data_Seat_Ticket) Validate() error

Validate checks the field values on SellResponse_Data_Seat_Ticket with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SellResponse_Data_Seat_Ticket) XXX_DiscardUnknown

func (m *SellResponse_Data_Seat_Ticket) XXX_DiscardUnknown()

func (*SellResponse_Data_Seat_Ticket) XXX_Marshal

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

func (*SellResponse_Data_Seat_Ticket) XXX_Merge

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

func (*SellResponse_Data_Seat_Ticket) XXX_Size

func (m *SellResponse_Data_Seat_Ticket) XXX_Size() int

func (*SellResponse_Data_Seat_Ticket) XXX_Unmarshal

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

type SellResponse_Data_Seat_TicketValidationError

type SellResponse_Data_Seat_TicketValidationError struct {
	// contains filtered or unexported fields
}

SellResponse_Data_Seat_TicketValidationError is the validation error returned by SellResponse_Data_Seat_Ticket.Validate if the designated constraints aren't met.

func (SellResponse_Data_Seat_TicketValidationError) Cause

Cause function returns cause value.

func (SellResponse_Data_Seat_TicketValidationError) Error

Error satisfies the builtin error interface

func (SellResponse_Data_Seat_TicketValidationError) ErrorName

ErrorName returns error name.

func (SellResponse_Data_Seat_TicketValidationError) Field

Field function returns field value.

func (SellResponse_Data_Seat_TicketValidationError) Key

Key function returns key value.

func (SellResponse_Data_Seat_TicketValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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