IOperationServiceGetPastOrdersBySum 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.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
SyntaxIReadOnlyCollection<PastOrder> GetPastOrdersBySum(
decimal minPaymentSum,
decimal maxPaymentSum,
DateTime? minCloseTime = null,
DateTime? maxCloseTime = null
)
Parameters
- minPaymentSum Decimal
-
Minimal total payment sum after all discounts
- maxPaymentSum Decimal
-
Maximal total payment sum after all discounts
- minCloseTime NullableDateTime (Optional)
-
If null then minCloseTime will be equal current date and time minus 3 months
- maxCloseTime NullableDateTime (Optional)
-
If null then minCloseTime will be equal current date and time
Return Value
IReadOnlyCollectionPastOrder
See Also