
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace OnlineSalesAutoCrop.CoreAPI.Services.Contracts.Integrations;

public interface IIntegrationHttpService
{
    Task<IntegrationCustLedgerHttpResponse?> GetCustomerLedgerAsync(string customerNumber, string companyCode,      
       CancellationToken cancellationToken = default);

    Task<IList<IntegrationMaterialStockHttpResponse>> GetMaterialStockAsync(string plantCode, 
       CancellationToken cancellationToken = default);

    Task<string> SendSAPOrdersAsync(GetOrderForSAPResponse request,
       CancellationToken cancellationToken = default);

}
