Click or drag to resize

IOperationServiceGetPastOrdersBySum Method

Get collection of closed orders data with a payment amount equal to the paymentSum in the specified time interval from server, and returns it.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
IReadOnlyCollection<PastOrder> GetPastOrdersBySum(
	decimal paymentSum,
	DateTime? minCloseTime = null,
	DateTime? maxCloseTime = null
)

Parameters

paymentSum
Type: SystemDecimal
Total payment sum after all discounts
minCloseTime (Optional)
Type: SystemNullableDateTime
If null then minCloseTime will be equal current date and time minus 3 months
maxCloseTime (Optional)
Type: SystemNullableDateTime
If null then minCloseTime will be equal current date and time

Return Value

Type: IReadOnlyCollectionPastOrder
See Also