order

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: AGPL-3.0 Imports: 22 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 GetResponse

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

func (*GetResponse) Descriptor

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

func (*GetResponse) GetData

func (m *GetResponse) GetData() *Order

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) Validate

func (m *GetResponse) Validate() error

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

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

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

func (*GetResponse) XXX_Merge

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

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

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

type GetResponseValidationError

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

GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.

func (GetResponseValidationError) Cause

Cause function returns cause value.

func (GetResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field

Field function returns field value.

func (GetResponseValidationError) Key

Key function returns key value.

func (GetResponseValidationError) Reason

Reason function returns reason value.

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 {
	Update(ctx context.Context, in *UpdateRequest, opts ...client.CallOption) (*UpdateResponse, error)
	Get(ctx context.Context, in *Request, opts ...client.CallOption) (*GetResponse, error)
	Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, 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"`
	Hash   string `protobuf:"bytes,4,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) 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       bool     `protobuf:"varint,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 (m *Order_Detail_Hall) GetMenu() bool

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_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        string                   `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() string

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 *PaginateRequest_Filter `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() *PaginateRequest_Filter

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 PaginateRequest_Filter

type PaginateRequest_Filter struct {
	Uuid              string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	ReservationNumber string `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"`
	ExternalId        string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	SortOrder         string `protobuf:"bytes,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
}

func (*PaginateRequest_Filter) Descriptor

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

func (*PaginateRequest_Filter) GetExternalId

func (m *PaginateRequest_Filter) GetExternalId() string

func (*PaginateRequest_Filter) GetReservationNumber

func (m *PaginateRequest_Filter) GetReservationNumber() string

func (*PaginateRequest_Filter) GetSortOrder

func (m *PaginateRequest_Filter) GetSortOrder() string

func (*PaginateRequest_Filter) GetUuid

func (m *PaginateRequest_Filter) GetUuid() string

func (*PaginateRequest_Filter) ProtoMessage

func (*PaginateRequest_Filter) ProtoMessage()

func (*PaginateRequest_Filter) Reset

func (m *PaginateRequest_Filter) Reset()

func (*PaginateRequest_Filter) String

func (m *PaginateRequest_Filter) String() string

func (*PaginateRequest_Filter) Validate

func (m *PaginateRequest_Filter) Validate() error

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

func (*PaginateRequest_Filter) XXX_DiscardUnknown

func (m *PaginateRequest_Filter) XXX_DiscardUnknown()

func (*PaginateRequest_Filter) XXX_Marshal

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

func (*PaginateRequest_Filter) XXX_Merge

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

func (*PaginateRequest_Filter) XXX_Size

func (m *PaginateRequest_Filter) XXX_Size() int

func (*PaginateRequest_Filter) XXX_Unmarshal

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

type PaginateRequest_FilterValidationError

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

PaginateRequest_FilterValidationError is the validation error returned by PaginateRequest_Filter.Validate if the designated constraints aren't met.

func (PaginateRequest_FilterValidationError) Cause

Cause function returns cause value.

func (PaginateRequest_FilterValidationError) Error

Error satisfies the builtin error interface

func (PaginateRequest_FilterValidationError) ErrorName

ErrorName returns error name.

func (PaginateRequest_FilterValidationError) Field

Field function returns field value.

func (PaginateRequest_FilterValidationError) Key

Key function returns key value.

func (PaginateRequest_FilterValidationError) Reason

Reason function returns reason value.

type PaginateResponse

type PaginateResponse struct {
	Data []*Order `protobuf:"bytes,1,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) 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 {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetUuid

func (m *Request) GetUuid() string

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 UpdateRequest added in v2.5.0

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

func (*UpdateRequest) Descriptor added in v2.5.0

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

func (*UpdateRequest) GetData added in v2.5.0

func (m *UpdateRequest) GetData() *Order

func (*UpdateRequest) ProtoMessage added in v2.5.0

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset added in v2.5.0

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String added in v2.5.0

func (m *UpdateRequest) String() string

func (*UpdateRequest) Validate added in v2.5.0

func (m *UpdateRequest) Validate() error

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

func (*UpdateRequest) XXX_DiscardUnknown added in v2.5.0

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal added in v2.5.0

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

func (*UpdateRequest) XXX_Merge added in v2.5.0

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

func (*UpdateRequest) XXX_Size added in v2.5.0

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal added in v2.5.0

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

type UpdateRequestValidationError added in v2.5.0

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

UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.

func (UpdateRequestValidationError) Cause added in v2.5.0

Cause function returns cause value.

func (UpdateRequestValidationError) Error added in v2.5.0

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName added in v2.5.0

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field added in v2.5.0

Field function returns field value.

func (UpdateRequestValidationError) Key added in v2.5.0

Key function returns key value.

func (UpdateRequestValidationError) Reason added in v2.5.0

Reason function returns reason value.

type UpdateResponse added in v2.5.0

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

func (*UpdateResponse) Descriptor added in v2.5.0

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

func (*UpdateResponse) GetData added in v2.5.0

func (m *UpdateResponse) GetData() *Order

func (*UpdateResponse) ProtoMessage added in v2.5.0

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset added in v2.5.0

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String added in v2.5.0

func (m *UpdateResponse) String() string

func (*UpdateResponse) Validate added in v2.5.0

func (m *UpdateResponse) Validate() error

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

func (*UpdateResponse) XXX_DiscardUnknown added in v2.5.0

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal added in v2.5.0

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

func (*UpdateResponse) XXX_Merge added in v2.5.0

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

func (*UpdateResponse) XXX_Size added in v2.5.0

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal added in v2.5.0

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

type UpdateResponseValidationError added in v2.5.0

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

UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.

func (UpdateResponseValidationError) Cause added in v2.5.0

Cause function returns cause value.

func (UpdateResponseValidationError) Error added in v2.5.0

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName added in v2.5.0

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field added in v2.5.0

Field function returns field value.

func (UpdateResponseValidationError) Key added in v2.5.0

Key function returns key value.

func (UpdateResponseValidationError) Reason added in v2.5.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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