2026-07-20 18:30:13 +06:00
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models;
|
2026-07-15 18:51:09 +06:00
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Requests.MobileApp;
|
2026-07-18 18:55:29 +06:00
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses;
|
2026-07-15 18:51:09 +06:00
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;
|
2026-07-20 18:30:13 +06:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading;
|
2026-07-15 18:51:09 +06:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace OnlineSalesAutoCrop.CoreAPI.Services.Contracts.MobileApp;
|
|
|
|
|
|
|
|
|
|
|
|
public interface IOrderService
|
|
|
|
|
|
{
|
2026-07-16 18:30:18 +06:00
|
|
|
|
Task<SaveOrderResponse> SaveOrderAsync(SaveOrderRequest request, int userId);
|
2026-07-18 18:55:29 +06:00
|
|
|
|
Task<PagedResult<GetSalesOrderResponse>> GetSalesOrdersSummary(GetOrderSummaryRequest request, int userId);
|
2026-07-20 18:30:13 +06:00
|
|
|
|
Task<IList<int>> GetAvailableOrderIdsForSAPAsync(SAPOrderStatusEnum orderStaus, CancellationToken cancellationToken = default);
|
|
|
|
|
|
Task<GetOrderForSAPResponse?> GetOrderDetailsForSapByIdAsync(int orderId, CancellationToken cancellationToken = default);
|
|
|
|
|
|
Task<bool> UpdateSendingSapDetailsAsync(UpdateSapDetailsRequest request, CancellationToken cancellationToken = default);
|
|
|
|
|
|
|
2026-07-15 18:51:09 +06:00
|
|
|
|
}
|