Click or drag to resize

WriteoffOptionsAuto Method

Returns the write-off options which use the first available write-off type.

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
public static WriteoffOptions Auto(
	IRemovalType removalType,
	IUser defaultWriteoffUser = null
)

Parameters

removalType
Type: Resto.Front.Api.Data.OrdersIRemovalType
defaultWriteoffUser (Optional)
Type: Resto.Front.Api.Data.SecurityIUser

Return Value

Type: WriteoffOptions
See Also