23 lines
814 B
C#
23 lines
814 B
C#
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;
|
|
using OnlineSalesAutoCrop.CoreAPI.Models.Responses.MobileApp;
|
|
using System;
|
|
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<Tuple<string, string>> SendSAPOrdersAsync(GetOrderForSAPResponse request,
|
|
CancellationToken cancellationToken = default);
|
|
|
|
}
|