Documentation ¶
Index ¶
- func NewImporterServiceEndpoints() []*api.Endpoint
- func RegisterImporterServiceHandler(s server.Server, hdlr ImporterServiceHandler, opts ...server.HandlerOption) error
- type ImporterService
- type ImporterServiceHandler
- type OrderCancelRequest
- func (*OrderCancelRequest) Descriptor() ([]byte, []int)
- func (m *OrderCancelRequest) GetUuid() string
- func (*OrderCancelRequest) ProtoMessage()
- func (m *OrderCancelRequest) Reset()
- func (m *OrderCancelRequest) String() string
- func (m *OrderCancelRequest) Validate() error
- func (m *OrderCancelRequest) XXX_DiscardUnknown()
- func (m *OrderCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderCancelRequest) XXX_Merge(src proto.Message)
- func (m *OrderCancelRequest) XXX_Size() int
- func (m *OrderCancelRequest) XXX_Unmarshal(b []byte) error
- type OrderCancelRequestValidationError
- func (e OrderCancelRequestValidationError) Cause() error
- func (e OrderCancelRequestValidationError) Error() string
- func (e OrderCancelRequestValidationError) ErrorName() string
- func (e OrderCancelRequestValidationError) Field() string
- func (e OrderCancelRequestValidationError) Key() bool
- func (e OrderCancelRequestValidationError) Reason() string
- type OrderConfirmRequest
- func (*OrderConfirmRequest) Descriptor() ([]byte, []int)
- func (m *OrderConfirmRequest) GetCook() int64
- func (m *OrderConfirmRequest) GetUuid() string
- func (*OrderConfirmRequest) ProtoMessage()
- func (m *OrderConfirmRequest) Reset()
- func (m *OrderConfirmRequest) String() string
- func (m *OrderConfirmRequest) Validate() error
- func (m *OrderConfirmRequest) XXX_DiscardUnknown()
- func (m *OrderConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderConfirmRequest) XXX_Merge(src proto.Message)
- func (m *OrderConfirmRequest) XXX_Size() int
- func (m *OrderConfirmRequest) XXX_Unmarshal(b []byte) error
- type OrderConfirmRequestValidationError
- func (e OrderConfirmRequestValidationError) Cause() error
- func (e OrderConfirmRequestValidationError) Error() string
- func (e OrderConfirmRequestValidationError) ErrorName() string
- func (e OrderConfirmRequestValidationError) Field() string
- func (e OrderConfirmRequestValidationError) Key() bool
- func (e OrderConfirmRequestValidationError) Reason() string
- type OrderImporterRequest
- func (*OrderImporterRequest) Descriptor() ([]byte, []int)
- func (m *OrderImporterRequest) GetAddress() *OrderImporterRequest_Address
- func (m *OrderImporterRequest) GetClient() string
- func (m *OrderImporterRequest) GetDate() string
- func (m *OrderImporterRequest) GetDeliveryType() shared.DeliveryType
- func (m *OrderImporterRequest) GetDivision() string
- func (m *OrderImporterRequest) GetExec() string
- func (m *OrderImporterRequest) GetGuestEmail() string
- func (m *OrderImporterRequest) GetGuestName() string
- func (m *OrderImporterRequest) GetGuestPhone() string
- func (m *OrderImporterRequest) GetItems() []*OrderImporterRequest_Item
- func (m *OrderImporterRequest) GetName() string
- func (m *OrderImporterRequest) GetUuid() string
- func (m *OrderImporterRequest) GetVat() float64
- func (*OrderImporterRequest) ProtoMessage()
- func (m *OrderImporterRequest) Reset()
- func (m *OrderImporterRequest) String() string
- func (m *OrderImporterRequest) Validate() error
- func (m *OrderImporterRequest) XXX_DiscardUnknown()
- func (m *OrderImporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderImporterRequest) XXX_Merge(src proto.Message)
- func (m *OrderImporterRequest) XXX_Size() int
- func (m *OrderImporterRequest) XXX_Unmarshal(b []byte) error
- type OrderImporterRequestValidationError
- func (e OrderImporterRequestValidationError) Cause() error
- func (e OrderImporterRequestValidationError) Error() string
- func (e OrderImporterRequestValidationError) ErrorName() string
- func (e OrderImporterRequestValidationError) Field() string
- func (e OrderImporterRequestValidationError) Key() bool
- func (e OrderImporterRequestValidationError) Reason() string
- type OrderImporterRequest_Address
- func (*OrderImporterRequest_Address) Descriptor() ([]byte, []int)
- func (m *OrderImporterRequest_Address) GetBuilding() string
- func (m *OrderImporterRequest_Address) GetComment() string
- func (m *OrderImporterRequest_Address) GetEntrance() string
- func (m *OrderImporterRequest_Address) GetFlat() string
- func (m *OrderImporterRequest_Address) GetFloor() string
- func (m *OrderImporterRequest_Address) GetStreet() string
- func (m *OrderImporterRequest_Address) GetTown() string
- func (*OrderImporterRequest_Address) ProtoMessage()
- func (m *OrderImporterRequest_Address) Reset()
- func (m *OrderImporterRequest_Address) String() string
- func (m *OrderImporterRequest_Address) Validate() error
- func (m *OrderImporterRequest_Address) XXX_DiscardUnknown()
- func (m *OrderImporterRequest_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderImporterRequest_Address) XXX_Merge(src proto.Message)
- func (m *OrderImporterRequest_Address) XXX_Size() int
- func (m *OrderImporterRequest_Address) XXX_Unmarshal(b []byte) error
- type OrderImporterRequest_AddressValidationError
- func (e OrderImporterRequest_AddressValidationError) Cause() error
- func (e OrderImporterRequest_AddressValidationError) Error() string
- func (e OrderImporterRequest_AddressValidationError) ErrorName() string
- func (e OrderImporterRequest_AddressValidationError) Field() string
- func (e OrderImporterRequest_AddressValidationError) Key() bool
- func (e OrderImporterRequest_AddressValidationError) Reason() string
- type OrderImporterRequest_Item
- func (*OrderImporterRequest_Item) Descriptor() ([]byte, []int)
- func (m *OrderImporterRequest_Item) GetCount() int64
- func (m *OrderImporterRequest_Item) GetDiscount() float64
- func (m *OrderImporterRequest_Item) GetMargin() float64
- func (m *OrderImporterRequest_Item) GetPrice() float64
- func (m *OrderImporterRequest_Item) GetSaleGroup() string
- func (m *OrderImporterRequest_Item) GetUuid() string
- func (m *OrderImporterRequest_Item) GetVolume() float64
- func (m *OrderImporterRequest_Item) GetVolumeType() string
- func (*OrderImporterRequest_Item) ProtoMessage()
- func (m *OrderImporterRequest_Item) Reset()
- func (m *OrderImporterRequest_Item) String() string
- func (m *OrderImporterRequest_Item) Validate() error
- func (m *OrderImporterRequest_Item) XXX_DiscardUnknown()
- func (m *OrderImporterRequest_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderImporterRequest_Item) XXX_Merge(src proto.Message)
- func (m *OrderImporterRequest_Item) XXX_Size() int
- func (m *OrderImporterRequest_Item) XXX_Unmarshal(b []byte) error
- type OrderImporterRequest_ItemValidationError
- func (e OrderImporterRequest_ItemValidationError) Cause() error
- func (e OrderImporterRequest_ItemValidationError) Error() string
- func (e OrderImporterRequest_ItemValidationError) ErrorName() string
- func (e OrderImporterRequest_ItemValidationError) Field() string
- func (e OrderImporterRequest_ItemValidationError) Key() bool
- func (e OrderImporterRequest_ItemValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterImporterServiceHandler ¶
func RegisterImporterServiceHandler(s server.Server, hdlr ImporterServiceHandler, opts ...server.HandlerOption) error
Types ¶
type ImporterService ¶
type ImporterService interface { Order(ctx context.Context, in *OrderImporterRequest, opts ...client.CallOption) (*empty.Empty, error) OrderConfirm(ctx context.Context, in *OrderConfirmRequest, opts ...client.CallOption) (*empty.Empty, error) OrderCancel(ctx context.Context, in *OrderCancelRequest, opts ...client.CallOption) (*empty.Empty, error) }
func NewImporterService ¶
func NewImporterService(name string, c client.Client) ImporterService
type ImporterServiceHandler ¶
type OrderCancelRequest ¶
type OrderCancelRequest struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
}
func (*OrderCancelRequest) Descriptor ¶
func (*OrderCancelRequest) Descriptor() ([]byte, []int)
func (*OrderCancelRequest) GetUuid ¶
func (m *OrderCancelRequest) GetUuid() string
func (*OrderCancelRequest) ProtoMessage ¶
func (*OrderCancelRequest) ProtoMessage()
func (*OrderCancelRequest) Reset ¶
func (m *OrderCancelRequest) Reset()
func (*OrderCancelRequest) String ¶
func (m *OrderCancelRequest) String() string
func (*OrderCancelRequest) Validate ¶
func (m *OrderCancelRequest) Validate() error
Validate checks the field values on OrderCancelRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderCancelRequest) XXX_DiscardUnknown ¶
func (m *OrderCancelRequest) XXX_DiscardUnknown()
func (*OrderCancelRequest) XXX_Marshal ¶
func (m *OrderCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderCancelRequest) XXX_Merge ¶
func (m *OrderCancelRequest) XXX_Merge(src proto.Message)
func (*OrderCancelRequest) XXX_Size ¶
func (m *OrderCancelRequest) XXX_Size() int
func (*OrderCancelRequest) XXX_Unmarshal ¶
func (m *OrderCancelRequest) XXX_Unmarshal(b []byte) error
type OrderCancelRequestValidationError ¶
type OrderCancelRequestValidationError struct {
// contains filtered or unexported fields
}
OrderCancelRequestValidationError is the validation error returned by OrderCancelRequest.Validate if the designated constraints aren't met.
func (OrderCancelRequestValidationError) Cause ¶
func (e OrderCancelRequestValidationError) Cause() error
Cause function returns cause value.
func (OrderCancelRequestValidationError) Error ¶
func (e OrderCancelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OrderCancelRequestValidationError) ErrorName ¶
func (e OrderCancelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OrderCancelRequestValidationError) Field ¶
func (e OrderCancelRequestValidationError) Field() string
Field function returns field value.
func (OrderCancelRequestValidationError) Key ¶
func (e OrderCancelRequestValidationError) Key() bool
Key function returns key value.
func (OrderCancelRequestValidationError) Reason ¶
func (e OrderCancelRequestValidationError) Reason() string
Reason function returns reason value.
type OrderConfirmRequest ¶
type OrderConfirmRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` Cook int64 `protobuf:"varint,2,opt,name=cook,proto3" json:"cook"` }
func (*OrderConfirmRequest) Descriptor ¶
func (*OrderConfirmRequest) Descriptor() ([]byte, []int)
func (*OrderConfirmRequest) GetCook ¶
func (m *OrderConfirmRequest) GetCook() int64
func (*OrderConfirmRequest) GetUuid ¶
func (m *OrderConfirmRequest) GetUuid() string
func (*OrderConfirmRequest) ProtoMessage ¶
func (*OrderConfirmRequest) ProtoMessage()
func (*OrderConfirmRequest) Reset ¶
func (m *OrderConfirmRequest) Reset()
func (*OrderConfirmRequest) String ¶
func (m *OrderConfirmRequest) String() string
func (*OrderConfirmRequest) Validate ¶
func (m *OrderConfirmRequest) Validate() error
Validate checks the field values on OrderConfirmRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderConfirmRequest) XXX_DiscardUnknown ¶
func (m *OrderConfirmRequest) XXX_DiscardUnknown()
func (*OrderConfirmRequest) XXX_Marshal ¶
func (m *OrderConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderConfirmRequest) XXX_Merge ¶
func (m *OrderConfirmRequest) XXX_Merge(src proto.Message)
func (*OrderConfirmRequest) XXX_Size ¶
func (m *OrderConfirmRequest) XXX_Size() int
func (*OrderConfirmRequest) XXX_Unmarshal ¶
func (m *OrderConfirmRequest) XXX_Unmarshal(b []byte) error
type OrderConfirmRequestValidationError ¶
type OrderConfirmRequestValidationError struct {
// contains filtered or unexported fields
}
OrderConfirmRequestValidationError is the validation error returned by OrderConfirmRequest.Validate if the designated constraints aren't met.
func (OrderConfirmRequestValidationError) Cause ¶
func (e OrderConfirmRequestValidationError) Cause() error
Cause function returns cause value.
func (OrderConfirmRequestValidationError) Error ¶
func (e OrderConfirmRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OrderConfirmRequestValidationError) ErrorName ¶
func (e OrderConfirmRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OrderConfirmRequestValidationError) Field ¶
func (e OrderConfirmRequestValidationError) Field() string
Field function returns field value.
func (OrderConfirmRequestValidationError) Key ¶
func (e OrderConfirmRequestValidationError) Key() bool
Key function returns key value.
func (OrderConfirmRequestValidationError) Reason ¶
func (e OrderConfirmRequestValidationError) Reason() string
Reason function returns reason value.
type OrderImporterRequest ¶
type OrderImporterRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Division string `protobuf:"bytes,3,opt,name=division,proto3" json:"division"` Items []*OrderImporterRequest_Item `protobuf:"bytes,4,rep,name=items,proto3" json:"items"` Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date"` Exec string `protobuf:"bytes,6,opt,name=exec,proto3" json:"exec"` Address *OrderImporterRequest_Address `protobuf:"bytes,7,opt,name=address,proto3" json:"address"` DeliveryType shared.DeliveryType `protobuf:"varint,8,opt,name=delivery_type,json=deliveryType,proto3,enum=tpext.shared.DeliveryType" json:"delivery_type"` Vat float64 `protobuf:"fixed64,9,opt,name=vat,proto3" json:"vat"` Client string `protobuf:"bytes,10,opt,name=client,proto3" json:"client"` GuestName string `protobuf:"bytes,11,opt,name=guest_name,json=guestName,proto3" json:"guest_name"` GuestPhone string `protobuf:"bytes,12,opt,name=guest_phone,json=guestPhone,proto3" json:"guest_phone"` GuestEmail string `protobuf:"bytes,13,opt,name=guest_email,json=guestEmail,proto3" json:"guest_email"` }
func (*OrderImporterRequest) Descriptor ¶
func (*OrderImporterRequest) Descriptor() ([]byte, []int)
func (*OrderImporterRequest) GetAddress ¶
func (m *OrderImporterRequest) GetAddress() *OrderImporterRequest_Address
func (*OrderImporterRequest) GetClient ¶
func (m *OrderImporterRequest) GetClient() string
func (*OrderImporterRequest) GetDate ¶
func (m *OrderImporterRequest) GetDate() string
func (*OrderImporterRequest) GetDeliveryType ¶
func (m *OrderImporterRequest) GetDeliveryType() shared.DeliveryType
func (*OrderImporterRequest) GetDivision ¶
func (m *OrderImporterRequest) GetDivision() string
func (*OrderImporterRequest) GetExec ¶
func (m *OrderImporterRequest) GetExec() string
func (*OrderImporterRequest) GetGuestEmail ¶
func (m *OrderImporterRequest) GetGuestEmail() string
func (*OrderImporterRequest) GetGuestName ¶
func (m *OrderImporterRequest) GetGuestName() string
func (*OrderImporterRequest) GetGuestPhone ¶
func (m *OrderImporterRequest) GetGuestPhone() string
func (*OrderImporterRequest) GetItems ¶
func (m *OrderImporterRequest) GetItems() []*OrderImporterRequest_Item
func (*OrderImporterRequest) GetName ¶
func (m *OrderImporterRequest) GetName() string
func (*OrderImporterRequest) GetUuid ¶
func (m *OrderImporterRequest) GetUuid() string
func (*OrderImporterRequest) GetVat ¶
func (m *OrderImporterRequest) GetVat() float64
func (*OrderImporterRequest) ProtoMessage ¶
func (*OrderImporterRequest) ProtoMessage()
func (*OrderImporterRequest) Reset ¶
func (m *OrderImporterRequest) Reset()
func (*OrderImporterRequest) String ¶
func (m *OrderImporterRequest) String() string
func (*OrderImporterRequest) Validate ¶
func (m *OrderImporterRequest) Validate() error
Validate checks the field values on OrderImporterRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderImporterRequest) XXX_DiscardUnknown ¶
func (m *OrderImporterRequest) XXX_DiscardUnknown()
func (*OrderImporterRequest) XXX_Marshal ¶
func (m *OrderImporterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderImporterRequest) XXX_Merge ¶
func (m *OrderImporterRequest) XXX_Merge(src proto.Message)
func (*OrderImporterRequest) XXX_Size ¶
func (m *OrderImporterRequest) XXX_Size() int
func (*OrderImporterRequest) XXX_Unmarshal ¶
func (m *OrderImporterRequest) XXX_Unmarshal(b []byte) error
type OrderImporterRequestValidationError ¶
type OrderImporterRequestValidationError struct {
// contains filtered or unexported fields
}
OrderImporterRequestValidationError is the validation error returned by OrderImporterRequest.Validate if the designated constraints aren't met.
func (OrderImporterRequestValidationError) Cause ¶
func (e OrderImporterRequestValidationError) Cause() error
Cause function returns cause value.
func (OrderImporterRequestValidationError) Error ¶
func (e OrderImporterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OrderImporterRequestValidationError) ErrorName ¶
func (e OrderImporterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OrderImporterRequestValidationError) Field ¶
func (e OrderImporterRequestValidationError) Field() string
Field function returns field value.
func (OrderImporterRequestValidationError) Key ¶
func (e OrderImporterRequestValidationError) Key() bool
Key function returns key value.
func (OrderImporterRequestValidationError) Reason ¶
func (e OrderImporterRequestValidationError) Reason() string
Reason function returns reason value.
type OrderImporterRequest_Address ¶
type OrderImporterRequest_Address struct { Town string `protobuf:"bytes,1,opt,name=town,proto3" json:"town"` Street string `protobuf:"bytes,2,opt,name=street,proto3" json:"street"` Building string `protobuf:"bytes,3,opt,name=building,proto3" json:"building"` Flat string `protobuf:"bytes,4,opt,name=flat,proto3" json:"flat"` Entrance string `protobuf:"bytes,5,opt,name=entrance,proto3" json:"entrance"` Floor string `protobuf:"bytes,6,opt,name=floor,proto3" json:"floor"` Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment"` }
func (*OrderImporterRequest_Address) Descriptor ¶
func (*OrderImporterRequest_Address) Descriptor() ([]byte, []int)
func (*OrderImporterRequest_Address) GetBuilding ¶
func (m *OrderImporterRequest_Address) GetBuilding() string
func (*OrderImporterRequest_Address) GetComment ¶
func (m *OrderImporterRequest_Address) GetComment() string
func (*OrderImporterRequest_Address) GetEntrance ¶
func (m *OrderImporterRequest_Address) GetEntrance() string
func (*OrderImporterRequest_Address) GetFlat ¶
func (m *OrderImporterRequest_Address) GetFlat() string
func (*OrderImporterRequest_Address) GetFloor ¶
func (m *OrderImporterRequest_Address) GetFloor() string
func (*OrderImporterRequest_Address) GetStreet ¶
func (m *OrderImporterRequest_Address) GetStreet() string
func (*OrderImporterRequest_Address) GetTown ¶
func (m *OrderImporterRequest_Address) GetTown() string
func (*OrderImporterRequest_Address) ProtoMessage ¶
func (*OrderImporterRequest_Address) ProtoMessage()
func (*OrderImporterRequest_Address) Reset ¶
func (m *OrderImporterRequest_Address) Reset()
func (*OrderImporterRequest_Address) String ¶
func (m *OrderImporterRequest_Address) String() string
func (*OrderImporterRequest_Address) Validate ¶
func (m *OrderImporterRequest_Address) Validate() error
Validate checks the field values on OrderImporterRequest_Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderImporterRequest_Address) XXX_DiscardUnknown ¶
func (m *OrderImporterRequest_Address) XXX_DiscardUnknown()
func (*OrderImporterRequest_Address) XXX_Marshal ¶
func (m *OrderImporterRequest_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderImporterRequest_Address) XXX_Merge ¶
func (m *OrderImporterRequest_Address) XXX_Merge(src proto.Message)
func (*OrderImporterRequest_Address) XXX_Size ¶
func (m *OrderImporterRequest_Address) XXX_Size() int
func (*OrderImporterRequest_Address) XXX_Unmarshal ¶
func (m *OrderImporterRequest_Address) XXX_Unmarshal(b []byte) error
type OrderImporterRequest_AddressValidationError ¶
type OrderImporterRequest_AddressValidationError struct {
// contains filtered or unexported fields
}
OrderImporterRequest_AddressValidationError is the validation error returned by OrderImporterRequest_Address.Validate if the designated constraints aren't met.
func (OrderImporterRequest_AddressValidationError) Cause ¶
func (e OrderImporterRequest_AddressValidationError) Cause() error
Cause function returns cause value.
func (OrderImporterRequest_AddressValidationError) Error ¶
func (e OrderImporterRequest_AddressValidationError) Error() string
Error satisfies the builtin error interface
func (OrderImporterRequest_AddressValidationError) ErrorName ¶
func (e OrderImporterRequest_AddressValidationError) ErrorName() string
ErrorName returns error name.
func (OrderImporterRequest_AddressValidationError) Field ¶
func (e OrderImporterRequest_AddressValidationError) Field() string
Field function returns field value.
func (OrderImporterRequest_AddressValidationError) Key ¶
func (e OrderImporterRequest_AddressValidationError) Key() bool
Key function returns key value.
func (OrderImporterRequest_AddressValidationError) Reason ¶
func (e OrderImporterRequest_AddressValidationError) Reason() string
Reason function returns reason value.
type OrderImporterRequest_Item ¶
type OrderImporterRequest_Item struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` VolumeType string `protobuf:"bytes,2,opt,name=volume_type,json=volumeType,proto3" json:"volume_type"` SaleGroup string `protobuf:"bytes,3,opt,name=sale_group,json=saleGroup,proto3" json:"sale_group"` Volume float64 `protobuf:"fixed64,4,opt,name=volume,proto3" json:"volume"` Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count"` Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price"` Discount float64 `protobuf:"fixed64,7,opt,name=discount,proto3" json:"discount"` Margin float64 `protobuf:"fixed64,8,opt,name=margin,proto3" json:"margin"` }
func (*OrderImporterRequest_Item) Descriptor ¶
func (*OrderImporterRequest_Item) Descriptor() ([]byte, []int)
func (*OrderImporterRequest_Item) GetCount ¶
func (m *OrderImporterRequest_Item) GetCount() int64
func (*OrderImporterRequest_Item) GetDiscount ¶
func (m *OrderImporterRequest_Item) GetDiscount() float64
func (*OrderImporterRequest_Item) GetMargin ¶
func (m *OrderImporterRequest_Item) GetMargin() float64
func (*OrderImporterRequest_Item) GetPrice ¶
func (m *OrderImporterRequest_Item) GetPrice() float64
func (*OrderImporterRequest_Item) GetSaleGroup ¶
func (m *OrderImporterRequest_Item) GetSaleGroup() string
func (*OrderImporterRequest_Item) GetUuid ¶
func (m *OrderImporterRequest_Item) GetUuid() string
func (*OrderImporterRequest_Item) GetVolume ¶
func (m *OrderImporterRequest_Item) GetVolume() float64
func (*OrderImporterRequest_Item) GetVolumeType ¶
func (m *OrderImporterRequest_Item) GetVolumeType() string
func (*OrderImporterRequest_Item) ProtoMessage ¶
func (*OrderImporterRequest_Item) ProtoMessage()
func (*OrderImporterRequest_Item) Reset ¶
func (m *OrderImporterRequest_Item) Reset()
func (*OrderImporterRequest_Item) String ¶
func (m *OrderImporterRequest_Item) String() string
func (*OrderImporterRequest_Item) Validate ¶
func (m *OrderImporterRequest_Item) Validate() error
Validate checks the field values on OrderImporterRequest_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderImporterRequest_Item) XXX_DiscardUnknown ¶
func (m *OrderImporterRequest_Item) XXX_DiscardUnknown()
func (*OrderImporterRequest_Item) XXX_Marshal ¶
func (m *OrderImporterRequest_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderImporterRequest_Item) XXX_Merge ¶
func (m *OrderImporterRequest_Item) XXX_Merge(src proto.Message)
func (*OrderImporterRequest_Item) XXX_Size ¶
func (m *OrderImporterRequest_Item) XXX_Size() int
func (*OrderImporterRequest_Item) XXX_Unmarshal ¶
func (m *OrderImporterRequest_Item) XXX_Unmarshal(b []byte) error
type OrderImporterRequest_ItemValidationError ¶
type OrderImporterRequest_ItemValidationError struct {
// contains filtered or unexported fields
}
OrderImporterRequest_ItemValidationError is the validation error returned by OrderImporterRequest_Item.Validate if the designated constraints aren't met.
func (OrderImporterRequest_ItemValidationError) Cause ¶
func (e OrderImporterRequest_ItemValidationError) Cause() error
Cause function returns cause value.
func (OrderImporterRequest_ItemValidationError) Error ¶
func (e OrderImporterRequest_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (OrderImporterRequest_ItemValidationError) ErrorName ¶
func (e OrderImporterRequest_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (OrderImporterRequest_ItemValidationError) Field ¶
func (e OrderImporterRequest_ItemValidationError) Field() string
Field function returns field value.
func (OrderImporterRequest_ItemValidationError) Key ¶
func (e OrderImporterRequest_ItemValidationError) Key() bool
Key function returns key value.
func (OrderImporterRequest_ItemValidationError) Reason ¶
func (e OrderImporterRequest_ItemValidationError) Reason() string
Reason function returns reason value.