Esempio n. 1
0
        /// <summary>
        /// Search Calling this method will perform a business search.
        /// </summary>
        /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="mode">trial or live</param>
        /// <param name="businessSearchRequest"></param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of BusinessSearchResponse</returns>
        public async System.Threading.Tasks.Task <BusinessSearchResponse> SearchAsync(string mode, BusinessSearchRequest businessSearchRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Trulioo.SDK.Client.ApiResponse <BusinessSearchResponse> localVarResponse = await SearchWithHttpInfoAsync(mode, businessSearchRequest, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Esempio n. 2
0
 /// <summary>
 /// Get Business Search Result returns the a business search result.
 /// </summary>
 /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="mode">trial or live</param>
 /// <param name="id">transaction record id</param>
 /// <returns>BusinessSearchResponse</returns>
 public BusinessSearchResponse GetBusinessSearchResult(string mode, string id)
 {
     Trulioo.SDK.Client.ApiResponse <BusinessSearchResponse> localVarResponse = GetBusinessSearchResultWithHttpInfo(mode, id);
     return(localVarResponse.Data);
 }
Esempio n. 3
0
 /// <summary>
 /// Search Calling this method will perform a business search.
 /// </summary>
 /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="mode">trial or live</param>
 /// <param name="businessSearchRequest"></param>
 /// <returns>BusinessSearchResponse</returns>
 public BusinessSearchResponse Search(string mode, BusinessSearchRequest businessSearchRequest)
 {
     Trulioo.SDK.Client.ApiResponse <BusinessSearchResponse> localVarResponse = SearchWithHttpInfo(mode, businessSearchRequest);
     return(localVarResponse.Data);
 }
Esempio n. 4
0
        /// <summary>
        /// Test Authentication This method enables you to check if your credentials are valid. You will need to use basic authentication to ensure a successful response.
        /// </summary>
        /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="mode">trial or live</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of string</returns>
        public async System.Threading.Tasks.Task <string> TestAuthenticationAsync(string mode, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Trulioo.SDK.Client.ApiResponse <string> localVarResponse = await TestAuthenticationWithHttpInfoAsync(mode, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Esempio n. 5
0
 /// <summary>
 /// Test Authentication This method enables you to check if your credentials are valid. You will need to use basic authentication to ensure a successful response.
 /// </summary>
 /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="mode">trial or live</param>
 /// <returns>string</returns>
 public string TestAuthentication(string mode)
 {
     Trulioo.SDK.Client.ApiResponse <string> localVarResponse = TestAuthenticationWithHttpInfo(mode);
     return(localVarResponse.Data);
 }
Esempio n. 6
0
 /// <summary>
 /// Say Hello This method enables you to check if your system can connect to our system. You can even use a web browser to verify a connection to our system.  Applied a maximum length for the name parameter of 100 via a route constraint
 /// </summary>
 /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="mode">trial or live</param>
 /// <param name="name">Name to be returned in the response</param>
 /// <returns>string</returns>
 public string SayHello(string mode, string name)
 {
     Trulioo.SDK.Client.ApiResponse <string> localVarResponse = SayHelloWithHttpInfo(mode, name);
     return(localVarResponse.Data);
 }
Esempio n. 7
0
        /// <summary>
        /// Connection Async Callback Url If set, the transaction will run asynchronously and Trulioo will try to update the client with transaction state updates until completed. If callback is not desired but the client wants to initiate an asynchronous transaction, provide https://api.globaldatacompany.com/connection/v1/async-callback as the Callback URL.
        /// </summary>
        /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="mode">trial or live</param>
        /// <param name="transactionStatus">transactionStatus</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of Object</returns>
        public async System.Threading.Tasks.Task <Object> ConnectionAsyncCallbackUrlAsync(string mode, TransactionStatus transactionStatus, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Trulioo.SDK.Client.ApiResponse <Object> localVarResponse = await ConnectionAsyncCallbackUrlWithHttpInfoAsync(mode, transactionStatus, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Esempio n. 8
0
 /// <summary>
 /// Connection Async Callback Url If set, the transaction will run asynchronously and Trulioo will try to update the client with transaction state updates until completed. If callback is not desired but the client wants to initiate an asynchronous transaction, provide https://api.globaldatacompany.com/connection/v1/async-callback as the Callback URL.
 /// </summary>
 /// <exception cref="Trulioo.SDK.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="mode">trial or live</param>
 /// <param name="transactionStatus">transactionStatus</param>
 /// <returns>Object</returns>
 public Object ConnectionAsyncCallbackUrl(string mode, TransactionStatus transactionStatus)
 {
     Trulioo.SDK.Client.ApiResponse <Object> localVarResponse = ConnectionAsyncCallbackUrlWithHttpInfo(mode, transactionStatus);
     return(localVarResponse.Data);
 }