Interface IAuthorizerServiceClient
Interface with methods to HTTP calls on Authorizer Microservice.
note
To use this client, see example on AuthorizerServiceClient.
Namespace: StoneCo.TransRep.Authorizer.Host.Client
Assembly: cs.temp.dll.dll
Syntax
public interface IAuthorizerServiceClient
Methods
ClearEnqueuedTransactionsAsync(RequestMessage)
Asynchronous call to clear all queued transactions.
Declaration
Task<ResultResponseMessage> ClearEnqueuedTransactionsAsync(RequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
RequestMessage | request | Default request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage> | Result of operations. |
NewAsync(NewAuthorizationRequestMessage)
Asynchronous call to import one transaction of Authorization type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewAsync(NewAuthorizationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewAuthorizationRequestMessage | request | Request whit values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewAsync(NewCancellationRequestMessage)
Asynchronous call to import one transaction of Cancellation type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewAsync(NewCancellationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewCancellationRequestMessage | request | Request whit values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewAsync(NewCaptureRequestMessage)
Asynchronous call to import one transaction of Capture type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewAsync(NewCaptureRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewCaptureRequestMessage | request | Request whit values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewAsync(NewFullAuthorizationRequestMessage)
Asynchronous call to import one transaction of Full Authorization type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewAsync(NewFullAuthorizationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewFullAuthorizationRequestMessage | request | Request whit values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewBatchAsync(NewBatchAuthorizationRequestMessage)
Asynchronous call to import in batch many transactions of Authorization type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewBatchAsync(NewBatchAuthorizationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewBatchAuthorizationRequestMessage | request | Request whit array of values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewBatchAsync(NewBatchCancellationRequestMessage)
Asynchronous call to import in batch many transactions of Cancellation type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewBatchAsync(NewBatchCancellationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewBatchCancellationRequestMessage | request | Request whit array of values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewBatchAsync(NewBatchCaptureRequestMessage)
Asynchronous call to import in batch many transactions of Capture type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewBatchAsync(NewBatchCaptureRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewBatchCaptureRequestMessage | request | Request whit array of values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
NewBatchAsync(NewBatchFullAuthorizationRequestMessage)
Asynchronous call to import in batch many transactions of Full Authorization type.
Declaration
Task<ResultResponseMessage<ResponseMessage>> NewBatchAsync(NewBatchFullAuthorizationRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
NewBatchFullAuthorizationRequestMessage | request | Request whit array of values to import. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations. |
QueuesAsync(RequestMessage)
Asynchronous call to consolidate and send to queue all transactions.
Declaration
Task<ResultResponseMessage<ResponseMessage>> QueuesAsync(RequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
RequestMessage | request | Default request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<ResponseMessage>> | Result of operations with total queued on header. |