Documentation
¶
Index ¶
- Variables
- func RegisterReceiptServiceServer(s grpc.ServiceRegistrar, srv ReceiptServiceServer)
- type CreateWithAccountingRequest
- func (*CreateWithAccountingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithAccountingRequest) GetCustomerId() int32
- func (x *CreateWithAccountingRequest) GetProducts() []*ProductReceipt
- func (x *CreateWithAccountingRequest) GetReceiptingPointWithAccountingId() int32
- func (x *CreateWithAccountingRequest) GetReceiptingPointWithAccountingType() tradingpoint.ReceiptingPointWithAccountingType
- func (x *CreateWithAccountingRequest) GetSellerId() int32
- func (*CreateWithAccountingRequest) ProtoMessage()
- func (x *CreateWithAccountingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWithAccountingRequest) Reset()
- func (x *CreateWithAccountingRequest) String() string
- type CreateWithAccountingResponse
- func (*CreateWithAccountingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithAccountingResponse) GetId() int32
- func (*CreateWithAccountingResponse) ProtoMessage()
- func (x *CreateWithAccountingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWithAccountingResponse) Reset()
- func (x *CreateWithAccountingResponse) String() string
- type CreateWithoutAccountingRequest
- func (*CreateWithoutAccountingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithoutAccountingRequest) GetProducts() []*ProductReceipt
- func (x *CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingId() int32
- func (x *CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingType() tradingpoint.ReceiptingPointWithoutAccountingType
- func (x *CreateWithoutAccountingRequest) GetSellerId() int32
- func (*CreateWithoutAccountingRequest) ProtoMessage()
- func (x *CreateWithoutAccountingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWithoutAccountingRequest) Reset()
- func (x *CreateWithoutAccountingRequest) String() string
- type CreateWithoutAccountingResponse
- func (*CreateWithoutAccountingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithoutAccountingResponse) GetId() int32
- func (*CreateWithoutAccountingResponse) ProtoMessage()
- func (x *CreateWithoutAccountingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWithoutAccountingResponse) Reset()
- func (x *CreateWithoutAccountingResponse) String() string
- type ListRequest
- type ListResponse
- type ProductReceipt
- func (*ProductReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReceipt) GetPrice() *core.Money
- func (x *ProductReceipt) GetProductId() int32
- func (x *ProductReceipt) GetQuantity() int32
- func (*ProductReceipt) ProtoMessage()
- func (x *ProductReceipt) ProtoReflect() protoreflect.Message
- func (x *ProductReceipt) Reset()
- func (x *ProductReceipt) String() string
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetCreatedAt() *timestamppb.Timestamp
- func (x *Receipt) GetId() int32
- func (x *Receipt) GetProducts() []*ProductReceipt
- func (x *Receipt) GetSellerId() int32
- func (x *Receipt) GetType() ReceiptType
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type ReceiptServiceClient
- type ReceiptServiceServer
- type ReceiptType
- func (ReceiptType) Descriptor() protoreflect.EnumDescriptor
- func (x ReceiptType) Enum() *ReceiptType
- func (ReceiptType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReceiptType) Number() protoreflect.EnumNumber
- func (x ReceiptType) String() string
- func (ReceiptType) Type() protoreflect.EnumType
- type ReceiptWithAccounting
- func (*ReceiptWithAccounting) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithAccounting) GetCustomerId() int32
- func (x *ReceiptWithAccounting) GetId() int32
- func (x *ReceiptWithAccounting) GetReceiptingPointWithAccountingId() int32
- func (x *ReceiptWithAccounting) GetReceiptingPointWithAccountingType() tradingpoint.ReceiptingPointWithAccountingType
- func (*ReceiptWithAccounting) ProtoMessage()
- func (x *ReceiptWithAccounting) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithAccounting) Reset()
- func (x *ReceiptWithAccounting) String() string
- type ReceiptWithAccountingRequest
- func (*ReceiptWithAccountingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithAccountingRequest) GetId() int32
- func (*ReceiptWithAccountingRequest) ProtoMessage()
- func (x *ReceiptWithAccountingRequest) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithAccountingRequest) Reset()
- func (x *ReceiptWithAccountingRequest) String() string
- type ReceiptWithAccountingResponse
- func (*ReceiptWithAccountingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithAccountingResponse) GetReceipt() *ReceiptWithAccounting
- func (*ReceiptWithAccountingResponse) ProtoMessage()
- func (x *ReceiptWithAccountingResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithAccountingResponse) Reset()
- func (x *ReceiptWithAccountingResponse) String() string
- type ReceiptWithoutAccounting
- func (*ReceiptWithoutAccounting) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithoutAccounting) GetId() int32
- func (x *ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingId() int32
- func (x *ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingType() tradingpoint.ReceiptingPointWithoutAccountingType
- func (*ReceiptWithoutAccounting) ProtoMessage()
- func (x *ReceiptWithoutAccounting) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithoutAccounting) Reset()
- func (x *ReceiptWithoutAccounting) String() string
- type ReceiptWithoutAccountingRequest
- func (*ReceiptWithoutAccountingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithoutAccountingRequest) GetId() int32
- func (*ReceiptWithoutAccountingRequest) ProtoMessage()
- func (x *ReceiptWithoutAccountingRequest) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithoutAccountingRequest) Reset()
- func (x *ReceiptWithoutAccountingRequest) String() string
- type ReceiptWithoutAccountingResponse
- func (*ReceiptWithoutAccountingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptWithoutAccountingResponse) GetReceipt() *ReceiptWithoutAccounting
- func (*ReceiptWithoutAccountingResponse) ProtoMessage()
- func (x *ReceiptWithoutAccountingResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiptWithoutAccountingResponse) Reset()
- func (x *ReceiptWithoutAccountingResponse) String() string
- type UnimplementedReceiptServiceServer
- func (UnimplementedReceiptServiceServer) CreateWithAccounting(context.Context, *CreateWithAccountingRequest) (*CreateWithAccountingResponse, error)
- func (UnimplementedReceiptServiceServer) CreateWithoutAccounting(context.Context, *CreateWithoutAccountingRequest) (*CreateWithoutAccountingResponse, error)
- func (UnimplementedReceiptServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedReceiptServiceServer) ReceiptWithAccounting(context.Context, *ReceiptWithAccountingRequest) (*ReceiptWithAccountingResponse, error)
- func (UnimplementedReceiptServiceServer) ReceiptWithoutAccounting(context.Context, *ReceiptWithoutAccountingRequest) (*ReceiptWithoutAccountingResponse, error)
- type UnsafeReceiptServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ReceiptType_name = map[int32]string{ 0: "RECEIPT_TYPE_RECEIPT_WITH_ACCOUNTING", 1: "RECEIPT_TYPE_RECEIPT_WITHOUT_ACCOUNTING", } ReceiptType_value = map[string]int32{ "RECEIPT_TYPE_RECEIPT_WITH_ACCOUNTING": 0, "RECEIPT_TYPE_RECEIPT_WITHOUT_ACCOUNTING": 1, } )
Enum value maps for ReceiptType.
var File_receipt_receipt_proto protoreflect.FileDescriptor
var ReceiptService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "receipt.ReceiptService", HandlerType: (*ReceiptServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateWithAccounting", Handler: _ReceiptService_CreateWithAccounting_Handler, }, { MethodName: "CreateWithoutAccounting", Handler: _ReceiptService_CreateWithoutAccounting_Handler, }, { MethodName: "List", Handler: _ReceiptService_List_Handler, }, { MethodName: "ReceiptWithAccounting", Handler: _ReceiptService_ReceiptWithAccounting_Handler, }, { MethodName: "ReceiptWithoutAccounting", Handler: _ReceiptService_ReceiptWithoutAccounting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "receipt/receipt.proto", }
ReceiptService_ServiceDesc is the grpc.ServiceDesc for ReceiptService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterReceiptServiceServer ¶ added in v0.0.27
func RegisterReceiptServiceServer(s grpc.ServiceRegistrar, srv ReceiptServiceServer)
Types ¶
type CreateWithAccountingRequest ¶ added in v0.0.27
type CreateWithAccountingRequest struct { SellerId int32 `protobuf:"varint,1,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"` Products []*ProductReceipt `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"` CustomerId int32 `protobuf:"varint,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` ReceiptingPointWithAccountingId int32 `` /* 161-byte string literal not displayed */ ReceiptingPointWithAccountingType tradingpoint.ReceiptingPointWithAccountingType `` /* 219-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateWithAccountingRequest) Descriptor
deprecated
added in
v0.0.27
func (*CreateWithAccountingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithAccountingRequest.ProtoReflect.Descriptor instead.
func (*CreateWithAccountingRequest) GetCustomerId ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) GetCustomerId() int32
func (*CreateWithAccountingRequest) GetProducts ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) GetProducts() []*ProductReceipt
func (*CreateWithAccountingRequest) GetReceiptingPointWithAccountingId ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) GetReceiptingPointWithAccountingId() int32
func (*CreateWithAccountingRequest) GetReceiptingPointWithAccountingType ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) GetReceiptingPointWithAccountingType() tradingpoint.ReceiptingPointWithAccountingType
func (*CreateWithAccountingRequest) GetSellerId ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) GetSellerId() int32
func (*CreateWithAccountingRequest) ProtoMessage ¶ added in v0.0.27
func (*CreateWithAccountingRequest) ProtoMessage()
func (*CreateWithAccountingRequest) ProtoReflect ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) ProtoReflect() protoreflect.Message
func (*CreateWithAccountingRequest) Reset ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) Reset()
func (*CreateWithAccountingRequest) String ¶ added in v0.0.27
func (x *CreateWithAccountingRequest) String() string
type CreateWithAccountingResponse ¶ added in v0.0.27
type CreateWithAccountingResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateWithAccountingResponse) Descriptor
deprecated
added in
v0.0.27
func (*CreateWithAccountingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithAccountingResponse.ProtoReflect.Descriptor instead.
func (*CreateWithAccountingResponse) GetId ¶ added in v0.0.27
func (x *CreateWithAccountingResponse) GetId() int32
func (*CreateWithAccountingResponse) ProtoMessage ¶ added in v0.0.27
func (*CreateWithAccountingResponse) ProtoMessage()
func (*CreateWithAccountingResponse) ProtoReflect ¶ added in v0.0.27
func (x *CreateWithAccountingResponse) ProtoReflect() protoreflect.Message
func (*CreateWithAccountingResponse) Reset ¶ added in v0.0.27
func (x *CreateWithAccountingResponse) Reset()
func (*CreateWithAccountingResponse) String ¶ added in v0.0.27
func (x *CreateWithAccountingResponse) String() string
type CreateWithoutAccountingRequest ¶ added in v0.0.27
type CreateWithoutAccountingRequest struct { SellerId int32 `protobuf:"varint,1,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"` Products []*ProductReceipt `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"` ReceiptingPointWithoutAccountingId int32 `` /* 170-byte string literal not displayed */ ReceiptingPointWithoutAccountingType tradingpoint.ReceiptingPointWithoutAccountingType `` /* 231-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateWithoutAccountingRequest) Descriptor
deprecated
added in
v0.0.27
func (*CreateWithoutAccountingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithoutAccountingRequest.ProtoReflect.Descriptor instead.
func (*CreateWithoutAccountingRequest) GetProducts ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) GetProducts() []*ProductReceipt
func (*CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingId ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingId() int32
func (*CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingType ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) GetReceiptingPointWithoutAccountingType() tradingpoint.ReceiptingPointWithoutAccountingType
func (*CreateWithoutAccountingRequest) GetSellerId ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) GetSellerId() int32
func (*CreateWithoutAccountingRequest) ProtoMessage ¶ added in v0.0.27
func (*CreateWithoutAccountingRequest) ProtoMessage()
func (*CreateWithoutAccountingRequest) ProtoReflect ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) ProtoReflect() protoreflect.Message
func (*CreateWithoutAccountingRequest) Reset ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) Reset()
func (*CreateWithoutAccountingRequest) String ¶ added in v0.0.27
func (x *CreateWithoutAccountingRequest) String() string
type CreateWithoutAccountingResponse ¶ added in v0.0.27
type CreateWithoutAccountingResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateWithoutAccountingResponse) Descriptor
deprecated
added in
v0.0.27
func (*CreateWithoutAccountingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithoutAccountingResponse.ProtoReflect.Descriptor instead.
func (*CreateWithoutAccountingResponse) GetId ¶ added in v0.0.27
func (x *CreateWithoutAccountingResponse) GetId() int32
func (*CreateWithoutAccountingResponse) ProtoMessage ¶ added in v0.0.27
func (*CreateWithoutAccountingResponse) ProtoMessage()
func (*CreateWithoutAccountingResponse) ProtoReflect ¶ added in v0.0.27
func (x *CreateWithoutAccountingResponse) ProtoReflect() protoreflect.Message
func (*CreateWithoutAccountingResponse) Reset ¶ added in v0.0.27
func (x *CreateWithoutAccountingResponse) Reset()
func (*CreateWithoutAccountingResponse) String ¶ added in v0.0.27
func (x *CreateWithoutAccountingResponse) String() string
type ListRequest ¶ added in v0.0.44
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
added in
v0.0.44
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶ added in v0.0.44
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶ added in v0.0.44
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶ added in v0.0.44
func (x *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.0.44
func (x *ListRequest) String() string
type ListResponse ¶ added in v0.0.44
type ListResponse struct { Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
added in
v0.0.44
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetReceipts ¶ added in v0.0.44
func (x *ListResponse) GetReceipts() []*Receipt
func (*ListResponse) ProtoMessage ¶ added in v0.0.44
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶ added in v0.0.44
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶ added in v0.0.44
func (x *ListResponse) Reset()
func (*ListResponse) String ¶ added in v0.0.44
func (x *ListResponse) String() string
type ProductReceipt ¶ added in v0.0.44
type ProductReceipt struct { Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` Price *core.Money `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` ProductId int32 `protobuf:"varint,4,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // contains filtered or unexported fields }
func (*ProductReceipt) Descriptor
deprecated
added in
v0.0.44
func (*ProductReceipt) Descriptor() ([]byte, []int)
Deprecated: Use ProductReceipt.ProtoReflect.Descriptor instead.
func (*ProductReceipt) GetPrice ¶ added in v0.0.44
func (x *ProductReceipt) GetPrice() *core.Money
func (*ProductReceipt) GetProductId ¶ added in v0.0.44
func (x *ProductReceipt) GetProductId() int32
func (*ProductReceipt) GetQuantity ¶ added in v0.0.44
func (x *ProductReceipt) GetQuantity() int32
func (*ProductReceipt) ProtoMessage ¶ added in v0.0.44
func (*ProductReceipt) ProtoMessage()
func (*ProductReceipt) ProtoReflect ¶ added in v0.0.44
func (x *ProductReceipt) ProtoReflect() protoreflect.Message
func (*ProductReceipt) Reset ¶ added in v0.0.44
func (x *ProductReceipt) Reset()
func (*ProductReceipt) String ¶ added in v0.0.44
func (x *ProductReceipt) String() string
type Receipt ¶ added in v0.0.27
type Receipt struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type ReceiptType `protobuf:"varint,2,opt,name=type,proto3,enum=receipt.ReceiptType" json:"type,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` SellerId int32 `protobuf:"varint,4,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"` Products []*ProductReceipt `protobuf:"bytes,5,rep,name=products,proto3" json:"products,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
added in
v0.0.27
func (*Receipt) GetCreatedAt ¶ added in v0.0.27
func (x *Receipt) GetCreatedAt() *timestamppb.Timestamp
func (*Receipt) GetProducts ¶ added in v0.0.27
func (x *Receipt) GetProducts() []*ProductReceipt
func (*Receipt) GetSellerId ¶ added in v0.0.27
func (*Receipt) GetType ¶ added in v0.0.27
func (x *Receipt) GetType() ReceiptType
func (*Receipt) ProtoMessage ¶ added in v0.0.27
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶ added in v0.0.27
func (x *Receipt) ProtoReflect() protoreflect.Message
type ReceiptServiceClient ¶ added in v0.0.27
type ReceiptServiceClient interface { CreateWithAccounting(ctx context.Context, in *CreateWithAccountingRequest, opts ...grpc.CallOption) (*CreateWithAccountingResponse, error) CreateWithoutAccounting(ctx context.Context, in *CreateWithoutAccountingRequest, opts ...grpc.CallOption) (*CreateWithoutAccountingResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) ReceiptWithAccounting(ctx context.Context, in *ReceiptWithAccountingRequest, opts ...grpc.CallOption) (*ReceiptWithAccountingResponse, error) ReceiptWithoutAccounting(ctx context.Context, in *ReceiptWithoutAccountingRequest, opts ...grpc.CallOption) (*ReceiptWithoutAccountingResponse, error) }
ReceiptServiceClient is the client API for ReceiptService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewReceiptServiceClient ¶ added in v0.0.27
func NewReceiptServiceClient(cc grpc.ClientConnInterface) ReceiptServiceClient
type ReceiptServiceServer ¶ added in v0.0.27
type ReceiptServiceServer interface { CreateWithAccounting(context.Context, *CreateWithAccountingRequest) (*CreateWithAccountingResponse, error) CreateWithoutAccounting(context.Context, *CreateWithoutAccountingRequest) (*CreateWithoutAccountingResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) ReceiptWithAccounting(context.Context, *ReceiptWithAccountingRequest) (*ReceiptWithAccountingResponse, error) ReceiptWithoutAccounting(context.Context, *ReceiptWithoutAccountingRequest) (*ReceiptWithoutAccountingResponse, error) // contains filtered or unexported methods }
ReceiptServiceServer is the server API for ReceiptService service. All implementations must embed UnimplementedReceiptServiceServer for forward compatibility
type ReceiptType ¶ added in v0.0.27
type ReceiptType int32
const ( ReceiptType_RECEIPT_TYPE_RECEIPT_WITH_ACCOUNTING ReceiptType = 0 ReceiptType_RECEIPT_TYPE_RECEIPT_WITHOUT_ACCOUNTING ReceiptType = 1 )
func (ReceiptType) Descriptor ¶ added in v0.0.27
func (ReceiptType) Descriptor() protoreflect.EnumDescriptor
func (ReceiptType) Enum ¶ added in v0.0.27
func (x ReceiptType) Enum() *ReceiptType
func (ReceiptType) EnumDescriptor
deprecated
added in
v0.0.27
func (ReceiptType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReceiptType.Descriptor instead.
func (ReceiptType) Number ¶ added in v0.0.27
func (x ReceiptType) Number() protoreflect.EnumNumber
func (ReceiptType) String ¶ added in v0.0.27
func (x ReceiptType) String() string
func (ReceiptType) Type ¶ added in v0.0.27
func (ReceiptType) Type() protoreflect.EnumType
type ReceiptWithAccounting ¶ added in v0.0.27
type ReceiptWithAccounting struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CustomerId int32 `protobuf:"varint,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` ReceiptingPointWithAccountingId int32 `` /* 161-byte string literal not displayed */ ReceiptingPointWithAccountingType tradingpoint.ReceiptingPointWithAccountingType `` /* 219-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReceiptWithAccounting) Descriptor
deprecated
added in
v0.0.27
func (*ReceiptWithAccounting) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithAccounting.ProtoReflect.Descriptor instead.
func (*ReceiptWithAccounting) GetCustomerId ¶ added in v0.0.27
func (x *ReceiptWithAccounting) GetCustomerId() int32
func (*ReceiptWithAccounting) GetId ¶ added in v0.0.27
func (x *ReceiptWithAccounting) GetId() int32
func (*ReceiptWithAccounting) GetReceiptingPointWithAccountingId ¶ added in v0.0.27
func (x *ReceiptWithAccounting) GetReceiptingPointWithAccountingId() int32
func (*ReceiptWithAccounting) GetReceiptingPointWithAccountingType ¶ added in v0.0.27
func (x *ReceiptWithAccounting) GetReceiptingPointWithAccountingType() tradingpoint.ReceiptingPointWithAccountingType
func (*ReceiptWithAccounting) ProtoMessage ¶ added in v0.0.27
func (*ReceiptWithAccounting) ProtoMessage()
func (*ReceiptWithAccounting) ProtoReflect ¶ added in v0.0.27
func (x *ReceiptWithAccounting) ProtoReflect() protoreflect.Message
func (*ReceiptWithAccounting) Reset ¶ added in v0.0.27
func (x *ReceiptWithAccounting) Reset()
func (*ReceiptWithAccounting) String ¶ added in v0.0.27
func (x *ReceiptWithAccounting) String() string
type ReceiptWithAccountingRequest ¶ added in v0.0.44
type ReceiptWithAccountingRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReceiptWithAccountingRequest) Descriptor
deprecated
added in
v0.0.44
func (*ReceiptWithAccountingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithAccountingRequest.ProtoReflect.Descriptor instead.
func (*ReceiptWithAccountingRequest) GetId ¶ added in v0.0.44
func (x *ReceiptWithAccountingRequest) GetId() int32
func (*ReceiptWithAccountingRequest) ProtoMessage ¶ added in v0.0.44
func (*ReceiptWithAccountingRequest) ProtoMessage()
func (*ReceiptWithAccountingRequest) ProtoReflect ¶ added in v0.0.44
func (x *ReceiptWithAccountingRequest) ProtoReflect() protoreflect.Message
func (*ReceiptWithAccountingRequest) Reset ¶ added in v0.0.44
func (x *ReceiptWithAccountingRequest) Reset()
func (*ReceiptWithAccountingRequest) String ¶ added in v0.0.44
func (x *ReceiptWithAccountingRequest) String() string
type ReceiptWithAccountingResponse ¶ added in v0.0.44
type ReceiptWithAccountingResponse struct { Receipt *ReceiptWithAccounting `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*ReceiptWithAccountingResponse) Descriptor
deprecated
added in
v0.0.44
func (*ReceiptWithAccountingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithAccountingResponse.ProtoReflect.Descriptor instead.
func (*ReceiptWithAccountingResponse) GetReceipt ¶ added in v0.0.44
func (x *ReceiptWithAccountingResponse) GetReceipt() *ReceiptWithAccounting
func (*ReceiptWithAccountingResponse) ProtoMessage ¶ added in v0.0.44
func (*ReceiptWithAccountingResponse) ProtoMessage()
func (*ReceiptWithAccountingResponse) ProtoReflect ¶ added in v0.0.44
func (x *ReceiptWithAccountingResponse) ProtoReflect() protoreflect.Message
func (*ReceiptWithAccountingResponse) Reset ¶ added in v0.0.44
func (x *ReceiptWithAccountingResponse) Reset()
func (*ReceiptWithAccountingResponse) String ¶ added in v0.0.44
func (x *ReceiptWithAccountingResponse) String() string
type ReceiptWithoutAccounting ¶ added in v0.0.27
type ReceiptWithoutAccounting struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ReceiptingPointWithoutAccountingId int32 `` /* 170-byte string literal not displayed */ ReceiptingPointWithoutAccountingType tradingpoint.ReceiptingPointWithoutAccountingType `` /* 231-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReceiptWithoutAccounting) Descriptor
deprecated
added in
v0.0.27
func (*ReceiptWithoutAccounting) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithoutAccounting.ProtoReflect.Descriptor instead.
func (*ReceiptWithoutAccounting) GetId ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) GetId() int32
func (*ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingId ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingId() int32
func (*ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingType ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) GetReceiptingPointWithoutAccountingType() tradingpoint.ReceiptingPointWithoutAccountingType
func (*ReceiptWithoutAccounting) ProtoMessage ¶ added in v0.0.27
func (*ReceiptWithoutAccounting) ProtoMessage()
func (*ReceiptWithoutAccounting) ProtoReflect ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) ProtoReflect() protoreflect.Message
func (*ReceiptWithoutAccounting) Reset ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) Reset()
func (*ReceiptWithoutAccounting) String ¶ added in v0.0.27
func (x *ReceiptWithoutAccounting) String() string
type ReceiptWithoutAccountingRequest ¶ added in v0.0.44
type ReceiptWithoutAccountingRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReceiptWithoutAccountingRequest) Descriptor
deprecated
added in
v0.0.44
func (*ReceiptWithoutAccountingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithoutAccountingRequest.ProtoReflect.Descriptor instead.
func (*ReceiptWithoutAccountingRequest) GetId ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingRequest) GetId() int32
func (*ReceiptWithoutAccountingRequest) ProtoMessage ¶ added in v0.0.44
func (*ReceiptWithoutAccountingRequest) ProtoMessage()
func (*ReceiptWithoutAccountingRequest) ProtoReflect ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingRequest) ProtoReflect() protoreflect.Message
func (*ReceiptWithoutAccountingRequest) Reset ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingRequest) Reset()
func (*ReceiptWithoutAccountingRequest) String ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingRequest) String() string
type ReceiptWithoutAccountingResponse ¶ added in v0.0.44
type ReceiptWithoutAccountingResponse struct { Receipt *ReceiptWithoutAccounting `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` // contains filtered or unexported fields }
func (*ReceiptWithoutAccountingResponse) Descriptor
deprecated
added in
v0.0.44
func (*ReceiptWithoutAccountingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptWithoutAccountingResponse.ProtoReflect.Descriptor instead.
func (*ReceiptWithoutAccountingResponse) GetReceipt ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingResponse) GetReceipt() *ReceiptWithoutAccounting
func (*ReceiptWithoutAccountingResponse) ProtoMessage ¶ added in v0.0.44
func (*ReceiptWithoutAccountingResponse) ProtoMessage()
func (*ReceiptWithoutAccountingResponse) ProtoReflect ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingResponse) ProtoReflect() protoreflect.Message
func (*ReceiptWithoutAccountingResponse) Reset ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingResponse) Reset()
func (*ReceiptWithoutAccountingResponse) String ¶ added in v0.0.44
func (x *ReceiptWithoutAccountingResponse) String() string
type UnimplementedReceiptServiceServer ¶ added in v0.0.27
type UnimplementedReceiptServiceServer struct { }
UnimplementedReceiptServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedReceiptServiceServer) CreateWithAccounting ¶ added in v0.0.27
func (UnimplementedReceiptServiceServer) CreateWithAccounting(context.Context, *CreateWithAccountingRequest) (*CreateWithAccountingResponse, error)
func (UnimplementedReceiptServiceServer) CreateWithoutAccounting ¶ added in v0.0.27
func (UnimplementedReceiptServiceServer) CreateWithoutAccounting(context.Context, *CreateWithoutAccountingRequest) (*CreateWithoutAccountingResponse, error)
func (UnimplementedReceiptServiceServer) List ¶ added in v0.0.44
func (UnimplementedReceiptServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedReceiptServiceServer) ReceiptWithAccounting ¶ added in v0.0.44
func (UnimplementedReceiptServiceServer) ReceiptWithAccounting(context.Context, *ReceiptWithAccountingRequest) (*ReceiptWithAccountingResponse, error)
func (UnimplementedReceiptServiceServer) ReceiptWithoutAccounting ¶ added in v0.0.44
func (UnimplementedReceiptServiceServer) ReceiptWithoutAccounting(context.Context, *ReceiptWithoutAccountingRequest) (*ReceiptWithoutAccountingResponse, error)
type UnsafeReceiptServiceServer ¶ added in v0.0.27
type UnsafeReceiptServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReceiptServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReceiptServiceServer will result in compilation errors.