Click or drag to resize

IChequeTaskProcessorBeforePayOut Method

Perform the action before pay out.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void BeforePayOut(
	ICashRegisterInfo device,
	decimal availableSum,
	ref decimal sumToPayOut,
	bool isCloseSession,
	IUser cashier,
	IViewManager viewManager
)

Parameters

device
Type: Resto.Front.Api.Data.DeviceICashRegisterInfo
Cash register.
availableSum
Type: SystemDecimal
Original sum to pay out.
sumToPayOut
Type: SystemDecimal
Sum to pay out.
isCloseSession
Type: SystemBoolean
Whether the method is called during cafe session closing.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
Cashier.
viewManager
Type: Resto.Front.Api.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns.
See Also