IOperationServiceRegisterBuildEInvoiceOrderItemsHandler Method |
Allows to provide custom EInvoice order items implementation.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxIDisposable RegisterBuildEInvoiceOrderItemsHandler(
Func<(IOrder order, Guid? selectedGuest, PaymentSplitMode paymentSplitMode, IReadOnlyCollection<(Guid? , decimal , bool )> guests, IReadOnlyCollection<VatInvoiceOrderItem> orderItems), IReadOnlyCollection<VatInvoiceOrderItem>> callback
)
Parameters
- callback FuncValueTupleIOrder, NullableGuid, PaymentSplitMode, IReadOnlyCollectionValueTupleNullableGuid, Decimal, Boolean, IReadOnlyCollectionVatInvoiceOrderItem, IReadOnlyCollectionVatInvoiceOrderItem
-
The logic implementation, which will be called to calculate EInvoice order items.
Return Value
IDisposable
See Also