Click or drag to resize

IChequeTaskProcessorIsPrimary Property

Whether this cheque task processor is going to change operation sums. When multiple cheque task processors have been registered, primary processors are called first, because they can change sums, so that remaining processors will see final sums.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
bool IsPrimary { get; }

Property Value

Type: Boolean
Remarks
Currently this property affects only BeforePayOut(ICashRegisterInfo, Decimal, Decimal, Boolean, IUser, IViewManager) method. This property must return the same value each time. Return true if this processor is going to change sumToPayOut ref-argument or return false to indicate that this processor is readonly.
See Also