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