/// <summary> /// This function makes API call to Get Transaction Status /// </summary> /// <param name="idType">idType</param> /// <param name="id">id</param> public TransactionStatusResponseObj.RootObject getTransactionStatus(string idType, string id) { APIRequest apiRequest = new APIRequest("Transactions/" + idType + "/" + id); if (apiService.get(apiRequest)) { TransactionStatusResponseObj responseObj = new TransactionStatusResponseObj(); return(responseObj.deserializeTransactionStatusResponse(apiService.apiResponse.getResponseData())); } throw new Exception(apiService.errorResponse); }
/// <summary> /// This function makes API call to Get Transaction Status /// </summary> /// <param name="idType">idType</param> /// <param name="id">id</param> public TransactionStatusResponseObj.RootObject getTransactionStatus(string idType, string id) { APIRequest apiRequest = new APIRequest("Transactions/" + idType + "/" + id); if (apiService.get(apiRequest)) { TransactionStatusResponseObj responseObj = new TransactionStatusResponseObj(); return responseObj.deserializeTransactionStatusResponse(apiService.apiResponse.getResponseData()); } throw new Exception(apiService.errorResponse); }