IChequeTaskProcessorBeforePayOut Method |
Perform the action before pay out.
Namespace: Resto.Front.Api.DevicesAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxvoid BeforePayOut(
ICashRegisterInfo device,
decimal availableSum,
ref decimal sumToPayOut,
bool isCloseSession,
IUser cashier,
IViewManager viewManager
)
Parameters
- device ICashRegisterInfo
- Cash register.
- availableSum Decimal
- Original sum to pay out.
- sumToPayOut Decimal
- Sum to pay out.
- isCloseSession Boolean
- Whether the method is called during cafe session closing.
- cashier IUser
- Cashier.
- viewManager IViewManager
- IViewManager object to show dialogs. Should not be used after method returns.
Can be null when the operation is performed in background mode without UI (no progress bar message callback is provided);
in this case the processor must not attempt to show any dialogs.
See Also