getPaymentStatus method
Returns the PaymentStatus for the current payment instance.
Implementation
Future<PaymentStatus> getPaymentStatus() async {
_checkPaymentId();
Constants.paymentId = paymentId;
return (await _httpService.callApi<PaymentStatusResponse>(
routeValue: RouteMap().routeMapper[Route.checkPaymentStatus]!))
.data
.paymentStatus;
}