order

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrderServiceEndpoints

func NewOrderServiceEndpoints() []*api.Endpoint

func RegisterOrderServiceHandler

func RegisterOrderServiceHandler(s server.Server, hdlr OrderServiceHandler, opts ...server.HandlerOption) error

Types

type Order

type Order struct {
	Uuid      string             `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Type      string             `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" bson:"type"`
	Contract  *Order_Contract    `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty" bson:"contract"`
	Detail    *Order_Detail      `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty" bson:"detail"`
	Customer  *Order_Customer    `protobuf:"bytes,5,opt,name=customer,proto3" json:"customer,omitempty" bson:"customer"`
	Items     *Order_Item        `protobuf:"bytes,6,opt,name=items,proto3" json:"items,omitempty" bson:"items"`
	Payment   *payment.Payment   `protobuf:"bytes,7,opt,name=payment,proto3" json:"payment,omitempty" bson:"payment"`
	Status    map[string]string  `` /* 167-byte string literal not displayed */
	Amount    map[string]float64 `` /* 169-byte string literal not displayed */
	CreatedAt string             `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"`
	UpdatedAt string             `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"`
}

func (*Order) Descriptor

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

func (*Order) GetAmount

func (m *Order) GetAmount() map[string]float64

func (*Order) GetContract

func (m *Order) GetContract() *Order_Contract

func (*Order) GetCreatedAt

func (m *Order) GetCreatedAt() string

func (*Order) GetCustomer

func (m *Order) GetCustomer() *Order_Customer

func (*Order) GetDetail

func (m *Order) GetDetail() *Order_Detail

func (*Order) GetItems

func (m *Order) GetItems() *Order_Item

func (*Order) GetPayment

func (m *Order) GetPayment() *payment.Payment

func (*Order) GetStatus

func (m *Order) GetStatus() map[string]string

func (*Order) GetType

func (m *Order) GetType() string

func (*Order) GetUpdatedAt

func (m *Order) GetUpdatedAt() string

func (*Order) GetUuid

func (m *Order) GetUuid() string

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) String

func (m *Order) String() string

func (*Order) Validate

func (m *Order) Validate() error

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

func (*Order) XXX_DiscardUnknown

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal

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

func (*Order) XXX_Merge

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

func (*Order) XXX_Size

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal

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

type OrderService

type OrderService interface {
	Create(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	Update(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
	Delete(ctx context.Context, in *Request, opts ...client.CallOption) (*empty.Empty, error)
	Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error)
	Get(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}

func NewOrderService

func NewOrderService(name string, c client.Client) OrderService

type OrderValidationError

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

OrderValidationError is the validation error returned by Order.Validate if the designated constraints aren't met.

func (OrderValidationError) Cause

func (e OrderValidationError) Cause() error

Cause function returns cause value.

func (OrderValidationError) Error

func (e OrderValidationError) Error() string

Error satisfies the builtin error interface

func (OrderValidationError) ErrorName

func (e OrderValidationError) ErrorName() string

ErrorName returns error name.

func (OrderValidationError) Field

func (e OrderValidationError) Field() string

Field function returns field value.

func (OrderValidationError) Key

func (e OrderValidationError) Key() bool

Key function returns key value.

func (OrderValidationError) Reason

func (e OrderValidationError) Reason() string

Reason function returns reason value.

type Order_Contract

type Order_Contract struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" bson:"contract_id"`
}

func (*Order_Contract) Descriptor

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

func (*Order_Contract) GetContractId

func (m *Order_Contract) GetContractId() string

func (*Order_Contract) GetName

func (m *Order_Contract) GetName() string

func (*Order_Contract) GetUuid

func (m *Order_Contract) GetUuid() string

func (*Order_Contract) ProtoMessage

func (*Order_Contract) ProtoMessage()

func (*Order_Contract) Reset

func (m *Order_Contract) Reset()

func (*Order_Contract) String

func (m *Order_Contract) String() string

func (*Order_Contract) Validate

func (m *Order_Contract) Validate() error

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

func (*Order_Contract) XXX_DiscardUnknown

func (m *Order_Contract) XXX_DiscardUnknown()

func (*Order_Contract) XXX_Marshal

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

func (*Order_Contract) XXX_Merge

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

func (*Order_Contract) XXX_Size

func (m *Order_Contract) XXX_Size() int

func (*Order_Contract) XXX_Unmarshal

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

type Order_ContractValidationError

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

Order_ContractValidationError is the validation error returned by Order_Contract.Validate if the designated constraints aren't met.

func (Order_ContractValidationError) Cause

Cause function returns cause value.

func (Order_ContractValidationError) Error

Error satisfies the builtin error interface

func (Order_ContractValidationError) ErrorName

func (e Order_ContractValidationError) ErrorName() string

ErrorName returns error name.

func (Order_ContractValidationError) Field

Field function returns field value.

func (Order_ContractValidationError) Key

Key function returns key value.

func (Order_ContractValidationError) Reason

Reason function returns reason value.

type Order_Customer

type Order_Customer struct {
	Uuid  string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty" bson:"phone"`
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" bson:"email"`
}

func (*Order_Customer) Descriptor

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

func (*Order_Customer) GetEmail

func (m *Order_Customer) GetEmail() string

func (*Order_Customer) GetPhone

func (m *Order_Customer) GetPhone() string

func (*Order_Customer) GetUuid

func (m *Order_Customer) GetUuid() string

func (*Order_Customer) ProtoMessage

func (*Order_Customer) ProtoMessage()

func (*Order_Customer) Reset

func (m *Order_Customer) Reset()

func (*Order_Customer) String

func (m *Order_Customer) String() string

func (*Order_Customer) Validate

func (m *Order_Customer) Validate() error

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

func (*Order_Customer) XXX_DiscardUnknown

func (m *Order_Customer) XXX_DiscardUnknown()

func (*Order_Customer) XXX_Marshal

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

func (*Order_Customer) XXX_Merge

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

func (*Order_Customer) XXX_Size

func (m *Order_Customer) XXX_Size() int

func (*Order_Customer) XXX_Unmarshal

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

type Order_CustomerValidationError

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

Order_CustomerValidationError is the validation error returned by Order_Customer.Validate if the designated constraints aren't met.

func (Order_CustomerValidationError) Cause

Cause function returns cause value.

func (Order_CustomerValidationError) Error

Error satisfies the builtin error interface

func (Order_CustomerValidationError) ErrorName

func (e Order_CustomerValidationError) ErrorName() string

ErrorName returns error name.

func (Order_CustomerValidationError) Field

Field function returns field value.

func (Order_CustomerValidationError) Key

Key function returns key value.

func (Order_CustomerValidationError) Reason

Reason function returns reason value.

type Order_Detail added in v2.5.0

type Order_Detail struct {
	City   *Order_Detail_City   `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"`
	Cinema *Order_Detail_Cinema `protobuf:"bytes,2,opt,name=cinema,proto3" json:"cinema,omitempty"`
	Movie  *Order_Detail_Movie  `protobuf:"bytes,3,opt,name=movie,proto3" json:"movie,omitempty"`
	Hall   *Order_Detail_Hall   `protobuf:"bytes,4,opt,name=hall,proto3" json:"hall,omitempty"`
	Seance *Order_Detail_Seance `protobuf:"bytes,5,opt,name=seance,proto3" json:"seance,omitempty"`
}

func (*Order_Detail) Descriptor added in v2.5.0

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

func (*Order_Detail) GetCinema added in v2.6.0

func (m *Order_Detail) GetCinema() *Order_Detail_Cinema

func (*Order_Detail) GetCity added in v2.6.0

func (m *Order_Detail) GetCity() *Order_Detail_City

func (*Order_Detail) GetHall added in v2.6.0

func (m *Order_Detail) GetHall() *Order_Detail_Hall

func (*Order_Detail) GetMovie added in v2.6.0

func (m *Order_Detail) GetMovie() *Order_Detail_Movie

func (*Order_Detail) GetSeance added in v2.6.0

func (m *Order_Detail) GetSeance() *Order_Detail_Seance

func (*Order_Detail) ProtoMessage added in v2.5.0

func (*Order_Detail) ProtoMessage()

func (*Order_Detail) Reset added in v2.5.0

func (m *Order_Detail) Reset()

func (*Order_Detail) String added in v2.5.0

func (m *Order_Detail) String() string

func (*Order_Detail) Validate added in v2.5.0

func (m *Order_Detail) Validate() error

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

func (*Order_Detail) XXX_DiscardUnknown added in v2.5.0

func (m *Order_Detail) XXX_DiscardUnknown()

func (*Order_Detail) XXX_Marshal added in v2.5.0

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

func (*Order_Detail) XXX_Merge added in v2.5.0

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

func (*Order_Detail) XXX_Size added in v2.5.0

func (m *Order_Detail) XXX_Size() int

func (*Order_Detail) XXX_Unmarshal added in v2.5.0

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

type Order_DetailValidationError added in v2.5.0

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

Order_DetailValidationError is the validation error returned by Order_Detail.Validate if the designated constraints aren't met.

func (Order_DetailValidationError) Cause added in v2.5.0

Cause function returns cause value.

func (Order_DetailValidationError) Error added in v2.5.0

Error satisfies the builtin error interface

func (Order_DetailValidationError) ErrorName added in v2.5.0

func (e Order_DetailValidationError) ErrorName() string

ErrorName returns error name.

func (Order_DetailValidationError) Field added in v2.5.0

Field function returns field value.

func (Order_DetailValidationError) Key added in v2.5.0

Key function returns key value.

func (Order_DetailValidationError) Reason added in v2.5.0

Reason function returns reason value.

type Order_Detail_Cinema added in v2.6.0

type Order_Detail_Cinema struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	ShopId  string `protobuf:"bytes,3,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty" bson:"shop_id"`
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty" bson:"address"`
	Hash    string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"`
}

func (*Order_Detail_Cinema) Descriptor added in v2.6.0

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

func (*Order_Detail_Cinema) GetAddress added in v2.10.0

func (m *Order_Detail_Cinema) GetAddress() string

func (*Order_Detail_Cinema) GetHash added in v2.6.0

func (m *Order_Detail_Cinema) GetHash() string

func (*Order_Detail_Cinema) GetName added in v2.6.0

func (m *Order_Detail_Cinema) GetName() string

func (*Order_Detail_Cinema) GetShopId added in v2.6.0

func (m *Order_Detail_Cinema) GetShopId() string

func (*Order_Detail_Cinema) GetUuid added in v2.6.0

func (m *Order_Detail_Cinema) GetUuid() string

func (*Order_Detail_Cinema) ProtoMessage added in v2.6.0

func (*Order_Detail_Cinema) ProtoMessage()

func (*Order_Detail_Cinema) Reset added in v2.6.0

func (m *Order_Detail_Cinema) Reset()

func (*Order_Detail_Cinema) String added in v2.6.0

func (m *Order_Detail_Cinema) String() string

func (*Order_Detail_Cinema) Validate added in v2.6.0

func (m *Order_Detail_Cinema) Validate() error

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

func (*Order_Detail_Cinema) XXX_DiscardUnknown added in v2.6.0

func (m *Order_Detail_Cinema) XXX_DiscardUnknown()

func (*Order_Detail_Cinema) XXX_Marshal added in v2.6.0

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

func (*Order_Detail_Cinema) XXX_Merge added in v2.6.0

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

func (*Order_Detail_Cinema) XXX_Size added in v2.6.0

func (m *Order_Detail_Cinema) XXX_Size() int

func (*Order_Detail_Cinema) XXX_Unmarshal added in v2.6.0

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

type Order_Detail_CinemaValidationError added in v2.6.0

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

Order_Detail_CinemaValidationError is the validation error returned by Order_Detail_Cinema.Validate if the designated constraints aren't met.

func (Order_Detail_CinemaValidationError) Cause added in v2.6.0

Cause function returns cause value.

func (Order_Detail_CinemaValidationError) Error added in v2.6.0

Error satisfies the builtin error interface

func (Order_Detail_CinemaValidationError) ErrorName added in v2.6.0

ErrorName returns error name.

func (Order_Detail_CinemaValidationError) Field added in v2.6.0

Field function returns field value.

func (Order_Detail_CinemaValidationError) Key added in v2.6.0

Key function returns key value.

func (Order_Detail_CinemaValidationError) Reason added in v2.6.0

Reason function returns reason value.

type Order_Detail_City added in v2.6.0

type Order_Detail_City struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty" bson:"location"`
	Hash     string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"`
}

func (*Order_Detail_City) Descriptor added in v2.6.0

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

func (*Order_Detail_City) GetHash added in v2.6.0

func (m *Order_Detail_City) GetHash() string

func (*Order_Detail_City) GetLocation added in v2.6.0

func (m *Order_Detail_City) GetLocation() string

func (*Order_Detail_City) GetName added in v2.6.0

func (m *Order_Detail_City) GetName() string

func (*Order_Detail_City) GetUuid added in v2.6.0

func (m *Order_Detail_City) GetUuid() string

func (*Order_Detail_City) ProtoMessage added in v2.6.0

func (*Order_Detail_City) ProtoMessage()

func (*Order_Detail_City) Reset added in v2.6.0

func (m *Order_Detail_City) Reset()

func (*Order_Detail_City) String added in v2.6.0

func (m *Order_Detail_City) String() string

func (*Order_Detail_City) Validate added in v2.6.0

func (m *Order_Detail_City) Validate() error

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

func (*Order_Detail_City) XXX_DiscardUnknown added in v2.6.0

func (m *Order_Detail_City) XXX_DiscardUnknown()

func (*Order_Detail_City) XXX_Marshal added in v2.6.0

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

func (*Order_Detail_City) XXX_Merge added in v2.6.0

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

func (*Order_Detail_City) XXX_Size added in v2.6.0

func (m *Order_Detail_City) XXX_Size() int

func (*Order_Detail_City) XXX_Unmarshal added in v2.6.0

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

type Order_Detail_CityValidationError added in v2.6.0

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

Order_Detail_CityValidationError is the validation error returned by Order_Detail_City.Validate if the designated constraints aren't met.

func (Order_Detail_CityValidationError) Cause added in v2.6.0

Cause function returns cause value.

func (Order_Detail_CityValidationError) Error added in v2.6.0

Error satisfies the builtin error interface

func (Order_Detail_CityValidationError) ErrorName added in v2.6.0

ErrorName returns error name.

func (Order_Detail_CityValidationError) Field added in v2.6.0

Field function returns field value.

func (Order_Detail_CityValidationError) Key added in v2.6.0

Key function returns key value.

func (Order_Detail_CityValidationError) Reason added in v2.6.0

Reason function returns reason value.

type Order_Detail_Hall added in v2.6.0

type Order_Detail_Hall struct {
	Uuid       string                  `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name       string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	Format     []string                `protobuf:"bytes,3,rep,name=format,proto3" json:"format,omitempty" bson:"format"`
	SeatCount  int64                   `protobuf:"varint,4,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty" bson:"seat_count"`
	MerchantId string                  `protobuf:"bytes,5,opt,name=merchant_id,json=merchantId,proto3" json:"merchant_id,omitempty" bson:"merchant_id"`
	Hash       string                  `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"`
	Menu       *Order_Detail_Hall_Menu `protobuf:"bytes,7,opt,name=menu,proto3" json:"menu,omitempty" bson:"menu"`
}

func (*Order_Detail_Hall) Descriptor added in v2.6.0

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

func (*Order_Detail_Hall) GetFormat added in v2.6.0

func (m *Order_Detail_Hall) GetFormat() []string

func (*Order_Detail_Hall) GetHash added in v2.6.0

func (m *Order_Detail_Hall) GetHash() string

func (*Order_Detail_Hall) GetMenu added in v2.6.0

func (*Order_Detail_Hall) GetMerchantId added in v2.6.0

func (m *Order_Detail_Hall) GetMerchantId() string

func (*Order_Detail_Hall) GetName added in v2.6.0

func (m *Order_Detail_Hall) GetName() string

func (*Order_Detail_Hall) GetSeatCount added in v2.6.0

func (m *Order_Detail_Hall) GetSeatCount() int64

func (*Order_Detail_Hall) GetUuid added in v2.6.0

func (m *Order_Detail_Hall) GetUuid() string

func (*Order_Detail_Hall) ProtoMessage added in v2.6.0

func (*Order_Detail_Hall) ProtoMessage()

func (*Order_Detail_Hall) Reset added in v2.6.0

func (m *Order_Detail_Hall) Reset()

func (*Order_Detail_Hall) String added in v2.6.0

func (m *Order_Detail_Hall) String() string

func (*Order_Detail_Hall) Validate added in v2.6.0

func (m *Order_Detail_Hall) Validate() error

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

func (*Order_Detail_Hall) XXX_DiscardUnknown added in v2.6.0

func (m *Order_Detail_Hall) XXX_DiscardUnknown()

func (*Order_Detail_Hall) XXX_Marshal added in v2.6.0

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

func (*Order_Detail_Hall) XXX_Merge added in v2.6.0

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

func (*Order_Detail_Hall) XXX_Size added in v2.6.0

func (m *Order_Detail_Hall) XXX_Size() int

func (*Order_Detail_Hall) XXX_Unmarshal added in v2.6.0

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

type Order_Detail_HallValidationError added in v2.6.0

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

Order_Detail_HallValidationError is the validation error returned by Order_Detail_Hall.Validate if the designated constraints aren't met.

func (Order_Detail_HallValidationError) Cause added in v2.6.0

Cause function returns cause value.

func (Order_Detail_HallValidationError) Error added in v2.6.0

Error satisfies the builtin error interface

func (Order_Detail_HallValidationError) ErrorName added in v2.6.0

ErrorName returns error name.

func (Order_Detail_HallValidationError) Field added in v2.6.0

Field function returns field value.

func (Order_Detail_HallValidationError) Key added in v2.6.0

Key function returns key value.

func (Order_Detail_HallValidationError) Reason added in v2.6.0

Reason function returns reason value.

type Order_Detail_Hall_Menu added in v2.11.0

type Order_Detail_Hall_Menu struct {
	AncestorUuid string `protobuf:"bytes,1,opt,name=ancestor_uuid,json=ancestorUuid,proto3" json:"ancestor_uuid,omitempty" bson:"ancestor_uuid"`
}

func (*Order_Detail_Hall_Menu) Descriptor added in v2.11.0

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

func (*Order_Detail_Hall_Menu) GetAncestorUuid added in v2.11.0

func (m *Order_Detail_Hall_Menu) GetAncestorUuid() string

func (*Order_Detail_Hall_Menu) ProtoMessage added in v2.11.0

func (*Order_Detail_Hall_Menu) ProtoMessage()

func (*Order_Detail_Hall_Menu) Reset added in v2.11.0

func (m *Order_Detail_Hall_Menu) Reset()

func (*Order_Detail_Hall_Menu) String added in v2.11.0

func (m *Order_Detail_Hall_Menu) String() string

func (*Order_Detail_Hall_Menu) Validate added in v2.11.0

func (m *Order_Detail_Hall_Menu) Validate() error

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

func (*Order_Detail_Hall_Menu) XXX_DiscardUnknown added in v2.11.0

func (m *Order_Detail_Hall_Menu) XXX_DiscardUnknown()

func (*Order_Detail_Hall_Menu) XXX_Marshal added in v2.11.0

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

func (*Order_Detail_Hall_Menu) XXX_Merge added in v2.11.0

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

func (*Order_Detail_Hall_Menu) XXX_Size added in v2.11.0

func (m *Order_Detail_Hall_Menu) XXX_Size() int

func (*Order_Detail_Hall_Menu) XXX_Unmarshal added in v2.11.0

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

type Order_Detail_Hall_MenuValidationError added in v2.11.0

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

Order_Detail_Hall_MenuValidationError is the validation error returned by Order_Detail_Hall_Menu.Validate if the designated constraints aren't met.

func (Order_Detail_Hall_MenuValidationError) Cause added in v2.11.0

Cause function returns cause value.

func (Order_Detail_Hall_MenuValidationError) Error added in v2.11.0

Error satisfies the builtin error interface

func (Order_Detail_Hall_MenuValidationError) ErrorName added in v2.11.0

ErrorName returns error name.

func (Order_Detail_Hall_MenuValidationError) Field added in v2.11.0

Field function returns field value.

func (Order_Detail_Hall_MenuValidationError) Key added in v2.11.0

Key function returns key value.

func (Order_Detail_Hall_MenuValidationError) Reason added in v2.11.0

Reason function returns reason value.

type Order_Detail_Movie added in v2.6.0

type Order_Detail_Movie struct {
	Uuid              string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name              string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	ReleaseDate       int64    `protobuf:"varint,3,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty" bson:"release_date"`
	Duration          uint32   `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty" bson:"duration"`
	AgeLimitationText string   `` /* 141-byte string literal not displayed */
	TrailerLink       string   `protobuf:"bytes,6,opt,name=trailer_link,json=trailerLink,proto3" json:"trailer_link,omitempty" bson:"trailer_link"`
	ParentMovieId     int64    `` /* 126-byte string literal not displayed */
	Format            []string `protobuf:"bytes,8,rep,name=format,proto3" json:"format,omitempty" bson:"format"`
	Hash              string   `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"`
}

func (*Order_Detail_Movie) Descriptor added in v2.6.0

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

func (*Order_Detail_Movie) GetAgeLimitationText added in v2.6.0

func (m *Order_Detail_Movie) GetAgeLimitationText() string

func (*Order_Detail_Movie) GetDuration added in v2.6.0

func (m *Order_Detail_Movie) GetDuration() uint32

func (*Order_Detail_Movie) GetFormat added in v2.6.0

func (m *Order_Detail_Movie) GetFormat() []string

func (*Order_Detail_Movie) GetHash added in v2.6.0

func (m *Order_Detail_Movie) GetHash() string

func (*Order_Detail_Movie) GetName added in v2.6.0

func (m *Order_Detail_Movie) GetName() string

func (*Order_Detail_Movie) GetParentMovieId added in v2.6.0

func (m *Order_Detail_Movie) GetParentMovieId() int64

func (*Order_Detail_Movie) GetReleaseDate added in v2.6.0

func (m *Order_Detail_Movie) GetReleaseDate() int64
func (m *Order_Detail_Movie) GetTrailerLink() string

func (*Order_Detail_Movie) GetUuid added in v2.6.0

func (m *Order_Detail_Movie) GetUuid() string

func (*Order_Detail_Movie) ProtoMessage added in v2.6.0

func (*Order_Detail_Movie) ProtoMessage()

func (*Order_Detail_Movie) Reset added in v2.6.0

func (m *Order_Detail_Movie) Reset()

func (*Order_Detail_Movie) String added in v2.6.0

func (m *Order_Detail_Movie) String() string

func (*Order_Detail_Movie) Validate added in v2.6.0

func (m *Order_Detail_Movie) Validate() error

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

func (*Order_Detail_Movie) XXX_DiscardUnknown added in v2.6.0

func (m *Order_Detail_Movie) XXX_DiscardUnknown()

func (*Order_Detail_Movie) XXX_Marshal added in v2.6.0

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

func (*Order_Detail_Movie) XXX_Merge added in v2.6.0

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

func (*Order_Detail_Movie) XXX_Size added in v2.6.0

func (m *Order_Detail_Movie) XXX_Size() int

func (*Order_Detail_Movie) XXX_Unmarshal added in v2.6.0

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

type Order_Detail_MovieValidationError added in v2.6.0

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

Order_Detail_MovieValidationError is the validation error returned by Order_Detail_Movie.Validate if the designated constraints aren't met.

func (Order_Detail_MovieValidationError) Cause added in v2.6.0

Cause function returns cause value.

func (Order_Detail_MovieValidationError) Error added in v2.6.0

Error satisfies the builtin error interface

func (Order_Detail_MovieValidationError) ErrorName added in v2.6.0

ErrorName returns error name.

func (Order_Detail_MovieValidationError) Field added in v2.6.0

Field function returns field value.

func (Order_Detail_MovieValidationError) Key added in v2.6.0

Key function returns key value.

func (Order_Detail_MovieValidationError) Reason added in v2.6.0

Reason function returns reason value.

type Order_Detail_Seance added in v2.6.0

type Order_Detail_Seance struct {
	Uuid               string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"`
	Name               string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"`
	BasePrice          float64  `protobuf:"fixed64,3,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty" bson:"base_price"`
	StartTime          int64    `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" bson:"start_time"`
	EndTime            int64    `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" bson:"end_time"`
	Duration           uint32   `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty" bson:"duration"`
	IsReservingEnabled bool     `` /* 146-byte string literal not displayed */
	Format             []string `protobuf:"bytes,8,rep,name=format,proto3" json:"format,omitempty" bson:"format"`
	Language           string   `protobuf:"bytes,9,opt,name=language,proto3" json:"language,omitempty" bson:"language"`
	Hash               string   `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty" bson:"hash"`
}

func (*Order_Detail_Seance) Descriptor added in v2.6.0

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

func (*Order_Detail_Seance) GetBasePrice added in v2.6.0

func (m *Order_Detail_Seance) GetBasePrice() float64

func (*Order_Detail_Seance) GetDuration added in v2.6.0

func (m *Order_Detail_Seance) GetDuration() uint32

func (*Order_Detail_Seance) GetEndTime added in v2.6.0

func (m *Order_Detail_Seance) GetEndTime() int64

func (*Order_Detail_Seance) GetFormat added in v2.6.0

func (m *Order_Detail_Seance) GetFormat() []string

func (*Order_Detail_Seance) GetHash added in v2.6.0

func (m *Order_Detail_Seance) GetHash() string

func (*Order_Detail_Seance) GetIsReservingEnabled added in v2.6.0

func (m *Order_Detail_Seance) GetIsReservingEnabled() bool

func (*Order_Detail_Seance) GetLanguage added in v2.6.0

func (m *Order_Detail_Seance) GetLanguage() string

func (*Order_Detail_Seance) GetName added in v2.6.0

func (m *Order_Detail_Seance) GetName() string

func (*Order_Detail_Seance) GetStartTime added in v2.6.0

func (m *Order_Detail_Seance) GetStartTime() int64

func (*Order_Detail_Seance) GetUuid added in v2.6.0

func (m *Order_Detail_Seance) GetUuid() string

func (*Order_Detail_Seance) ProtoMessage added in v2.6.0

func (*Order_Detail_Seance) ProtoMessage()

func (*Order_Detail_Seance) Reset added in v2.6.0

func (m *Order_Detail_Seance) Reset()

func (*Order_Detail_Seance) String added in v2.6.0

func (m *Order_Detail_Seance) String() string

func (*Order_Detail_Seance) Validate added in v2.6.0

func (m *Order_Detail_Seance) Validate() error

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

func (*Order_Detail_Seance) XXX_DiscardUnknown added in v2.6.0

func (m *Order_Detail_Seance) XXX_DiscardUnknown()

func (*Order_Detail_Seance) XXX_Marshal added in v2.6.0

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

func (*Order_Detail_Seance) XXX_Merge added in v2.6.0

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

func (*Order_Detail_Seance) XXX_Size added in v2.6.0

func (m *Order_Detail_Seance) XXX_Size() int

func (*Order_Detail_Seance) XXX_Unmarshal added in v2.6.0

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

type Order_Detail_SeanceValidationError added in v2.6.0

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

Order_Detail_SeanceValidationError is the validation error returned by Order_Detail_Seance.Validate if the designated constraints aren't met.

func (Order_Detail_SeanceValidationError) Cause added in v2.6.0

Cause function returns cause value.

func (Order_Detail_SeanceValidationError) Error added in v2.6.0

Error satisfies the builtin error interface

func (Order_Detail_SeanceValidationError) ErrorName added in v2.6.0

ErrorName returns error name.

func (Order_Detail_SeanceValidationError) Field added in v2.6.0

Field function returns field value.

func (Order_Detail_SeanceValidationError) Key added in v2.6.0

Key function returns key value.

func (Order_Detail_SeanceValidationError) Reason added in v2.6.0

Reason function returns reason value.

type Order_Item

type Order_Item struct {
	Reservation *reservation.Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty" bson:"reservation"`
	Menu        *menu.Menu               `protobuf:"bytes,2,opt,name=menu,proto3" json:"menu,omitempty" bson:"menu"`
}

func (*Order_Item) Descriptor

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

func (*Order_Item) GetMenu added in v2.5.0

func (m *Order_Item) GetMenu() *menu.Menu

func (*Order_Item) GetReservation

func (m *Order_Item) GetReservation() *reservation.Reservation

func (*Order_Item) ProtoMessage

func (*Order_Item) ProtoMessage()

func (*Order_Item) Reset

func (m *Order_Item) Reset()

func (*Order_Item) String

func (m *Order_Item) String() string

func (*Order_Item) Validate

func (m *Order_Item) Validate() error

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

func (*Order_Item) XXX_DiscardUnknown

func (m *Order_Item) XXX_DiscardUnknown()

func (*Order_Item) XXX_Marshal

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

func (*Order_Item) XXX_Merge

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

func (*Order_Item) XXX_Size

func (m *Order_Item) XXX_Size() int

func (*Order_Item) XXX_Unmarshal

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

type Order_ItemValidationError

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

Order_ItemValidationError is the validation error returned by Order_Item.Validate if the designated constraints aren't met.

func (Order_ItemValidationError) Cause

func (e Order_ItemValidationError) Cause() error

Cause function returns cause value.

func (Order_ItemValidationError) Error

Error satisfies the builtin error interface

func (Order_ItemValidationError) ErrorName

func (e Order_ItemValidationError) ErrorName() string

ErrorName returns error name.

func (Order_ItemValidationError) Field

Field function returns field value.

func (Order_ItemValidationError) Key

Key function returns key value.

func (Order_ItemValidationError) Reason

func (e Order_ItemValidationError) Reason() string

Reason function returns reason value.

type PaginateRequest

type PaginateRequest struct {
	Skip   int64  `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit  int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Sort   string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"`
	Filter *Order `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
}

func (*PaginateRequest) Descriptor

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

func (*PaginateRequest) GetFilter

func (m *PaginateRequest) GetFilter() *Order

func (*PaginateRequest) GetLimit

func (m *PaginateRequest) GetLimit() int64

func (*PaginateRequest) GetSkip

func (m *PaginateRequest) GetSkip() int64

func (*PaginateRequest) GetSort

func (m *PaginateRequest) GetSort() string

func (*PaginateRequest) ProtoMessage

func (*PaginateRequest) ProtoMessage()

func (*PaginateRequest) Reset

func (m *PaginateRequest) Reset()

func (*PaginateRequest) String

func (m *PaginateRequest) String() string

func (*PaginateRequest) Validate

func (m *PaginateRequest) Validate() error

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

func (*PaginateRequest) XXX_DiscardUnknown

func (m *PaginateRequest) XXX_DiscardUnknown()

func (*PaginateRequest) XXX_Marshal

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

func (*PaginateRequest) XXX_Merge

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

func (*PaginateRequest) XXX_Size

func (m *PaginateRequest) XXX_Size() int

func (*PaginateRequest) XXX_Unmarshal

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

type PaginateRequestValidationError

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

PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.

func (PaginateRequestValidationError) Cause

Cause function returns cause value.

func (PaginateRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateRequestValidationError) ErrorName

func (e PaginateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PaginateRequestValidationError) Field

Field function returns field value.

func (PaginateRequestValidationError) Key

Key function returns key value.

func (PaginateRequestValidationError) Reason

Reason function returns reason value.

type PaginateResponse

type PaginateResponse struct {
	Skip  int64    `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit int64    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Total int64    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*Order `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
}

func (*PaginateResponse) Descriptor

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

func (*PaginateResponse) GetData

func (m *PaginateResponse) GetData() []*Order

func (*PaginateResponse) GetLimit added in v2.8.0

func (m *PaginateResponse) GetLimit() int64

func (*PaginateResponse) GetSkip added in v2.8.0

func (m *PaginateResponse) GetSkip() int64

func (*PaginateResponse) GetTotal added in v2.8.0

func (m *PaginateResponse) GetTotal() int64

func (*PaginateResponse) ProtoMessage

func (*PaginateResponse) ProtoMessage()

func (*PaginateResponse) Reset

func (m *PaginateResponse) Reset()

func (*PaginateResponse) String

func (m *PaginateResponse) String() string

func (*PaginateResponse) Validate

func (m *PaginateResponse) Validate() error

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

func (*PaginateResponse) XXX_DiscardUnknown

func (m *PaginateResponse) XXX_DiscardUnknown()

func (*PaginateResponse) XXX_Marshal

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

func (*PaginateResponse) XXX_Merge

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

func (*PaginateResponse) XXX_Size

func (m *PaginateResponse) XXX_Size() int

func (*PaginateResponse) XXX_Unmarshal

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

type PaginateResponseValidationError

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

PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.

func (PaginateResponseValidationError) Cause

Cause function returns cause value.

func (PaginateResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateResponseValidationError) Field

Field function returns field value.

func (PaginateResponseValidationError) Key

Key function returns key value.

func (PaginateResponseValidationError) Reason

Reason function returns reason value.

type Request

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

func (*Request) Descriptor

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

func (*Request) GetData added in v2.8.0

func (m *Request) GetData() *Order

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) Validate

func (m *Request) Validate() error

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

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type RequestValidationError

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

RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.

func (RequestValidationError) Cause

func (e RequestValidationError) Cause() error

Cause function returns cause value.

func (RequestValidationError) Error

func (e RequestValidationError) Error() string

Error satisfies the builtin error interface

func (RequestValidationError) ErrorName

func (e RequestValidationError) ErrorName() string

ErrorName returns error name.

func (RequestValidationError) Field

func (e RequestValidationError) Field() string

Field function returns field value.

func (RequestValidationError) Key

func (e RequestValidationError) Key() bool

Key function returns key value.

func (RequestValidationError) Reason

func (e RequestValidationError) Reason() string

Reason function returns reason value.

type Response added in v2.8.0

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

func (*Response) Descriptor added in v2.8.0

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

func (*Response) GetData added in v2.8.0

func (m *Response) GetData() *Order

func (*Response) ProtoMessage added in v2.8.0

func (*Response) ProtoMessage()

func (*Response) Reset added in v2.8.0

func (m *Response) Reset()

func (*Response) String added in v2.8.0

func (m *Response) String() string

func (*Response) Validate added in v2.8.0

func (m *Response) Validate() error

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

func (*Response) XXX_DiscardUnknown added in v2.8.0

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal added in v2.8.0

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

func (*Response) XXX_Merge added in v2.8.0

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

func (*Response) XXX_Size added in v2.8.0

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal added in v2.8.0

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

type ResponseValidationError added in v2.8.0

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

ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.

func (ResponseValidationError) Cause added in v2.8.0

func (e ResponseValidationError) Cause() error

Cause function returns cause value.

func (ResponseValidationError) Error added in v2.8.0

func (e ResponseValidationError) Error() string

Error satisfies the builtin error interface

func (ResponseValidationError) ErrorName added in v2.8.0

func (e ResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseValidationError) Field added in v2.8.0

func (e ResponseValidationError) Field() string

Field function returns field value.

func (ResponseValidationError) Key added in v2.8.0

func (e ResponseValidationError) Key() bool

Key function returns key value.

func (ResponseValidationError) Reason added in v2.8.0

func (e ResponseValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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