Click or drag to resize

IOperationService.GetPastOrdersBySum Method

Get collection of closed orders data with a payment amount that included in the range between minPaymentSum and maxPaymentSum in the specified time interval from server, and returns it.

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

Parameters

minPaymentSum
Type: System.Decimal
Minimal total payment sum after all discounts
maxPaymentSum
Type: System.Decimal
Maximal total payment sum after all discounts
minCloseTime (Optional)
Type: System.Nullable<DateTime>
If null then minCloseTime will be equal current date and time minus 3 months
maxCloseTime (Optional)
Type: System.Nullable<DateTime>
If null then minCloseTime will be equal current date and time

Return Value

Type: IReadOnlyCollection<PastOrder>
See Also