getTransactionDetails method
Returns the Transaction
Implementation
Future<TransactionDetails> getTransactionDetails() async {
_checkPaymentId();
Constants.paymentId = paymentId;
return (await _httpService.callApi<TransactionDetailsResponse>(
routeValue: RouteMap().routeMapper[Route.getPaymentDetails]!))
.data;
}