Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type HandlerFunc = func(ctx context.Context, req *proto.CreateWithAccountingRequest) (*proto.CreateWithAccountingResponse, error)
func MakeCreateWithAccountingHandlerFunc ¶
func MakeCreateWithAccountingHandlerFunc(log *slog.Logger, creator ReceiptCreator) HandlerFunc
type ReceiptCreator ¶
type ReceiptCreator interface { CreateReceiptWithAccountingContext( ctx context.Context, sellerId int32, products []*proto.ProductReceipt, customerId int32, receiptingPointWithAccountingId int32, receiptingPointWithAccountingType prototradingpoint.ReceiptingPointWithAccountingType, ) (int32, error) }
Click to show internal directories.
Click to hide internal directories.