Click or drag to resize

WriteoffOptionsAuto Method

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

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

Parameters

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

Return Value

Type: WriteoffOptions
See Also