Interface IImportServiceClient
Interface with methods to HTTP calls on Import Microservice.
note
To use this client, see example on ImportServiceClient.
Namespace: StoneCo.TransRep.Import.Host.Client
Assembly: cs.temp.dll.dll
Syntax
public interface IImportServiceClient
Methods
DeleteAsync(DeleteTransactionsRequestMessage)
Asynchronous call to delete transactions if is necessary.
Declaration
Task<ResultResponseMessage<ResponseMessage>> DeleteAsync(DeleteTransactionsRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
DeleteTransactionsRequestMessage | request | Request with values to delete. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations with total rolling back transactions on header. |
ImportAsync(ImportTransactionsRequestMessage)
Asynchronous call to import transactions to transaction repository database.
Declaration
Task<ResultResponseMessage<ResponseMessage>> ImportAsync(ImportTransactionsRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
ImportTransactionsRequestMessage | request | Default request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations with total imported items on header. |