2026-07-19 13:58:28 +06:00
|
|
|
|
|
|
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;
|
2026-07-20 18:30:13 +06:00
|
|
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;
|
2026-07-21 13:10:16 +06:00
|
|
|
|
using System;
|
2026-07-19 16:05:07 +06:00
|
|
|
|
using System.Collections.Generic;
|
2026-07-19 13:58:28 +06:00
|
|
|
|
using System.Threading;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace OnlineSalesAutoCrop.CoreAPI.Services.Contracts.Integrations;
|
|
|
|
|
|
|
|
|
|
|
|
public interface IIntegrationHttpService
|
|
|
|
|
|
{
|
2026-07-19 16:05:07 +06:00
|
|
|
|
Task<IntegrationCustLedgerHttpResponse?> GetCustomerLedgerAsync(string customerNumber, string companyCode,
|
2026-07-19 13:58:28 +06:00
|
|
|
|
CancellationToken cancellationToken = default);
|
|
|
|
|
|
|
2026-07-19 16:05:07 +06:00
|
|
|
|
Task<IList<IntegrationMaterialStockHttpResponse>> GetMaterialStockAsync(string plantCode,
|
2026-07-19 13:58:28 +06:00
|
|
|
|
CancellationToken cancellationToken = default);
|
|
|
|
|
|
|
2026-07-21 13:10:16 +06:00
|
|
|
|
Task<Tuple<string, string>> SendSAPOrdersAsync(GetOrderForSAPResponse request,
|
2026-07-20 18:30:13 +06:00
|
|
|
|
CancellationToken cancellationToken = default);
|
2026-07-19 13:58:28 +06:00
|
|
|
|
|
|
|
|
|
|
}
|