From c3f40cfdf1a63c26deac29ef8829f1910e99a31a Mon Sep 17 00:00:00 2001 From: Mohamed Yousif Date: Thu, 25 Aug 2022 13:22:01 +0200 Subject: [PATCH] amend getPaymentToken returned data --- lib/src/main/java/com/tuti/api/TutiApiClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/main/java/com/tuti/api/TutiApiClient.java b/lib/src/main/java/com/tuti/api/TutiApiClient.java index a35dc19..9bb449a 100644 --- a/lib/src/main/java/com/tuti/api/TutiApiClient.java +++ b/lib/src/main/java/com/tuti/api/TutiApiClient.java @@ -198,8 +198,8 @@ public void generatePaymentToken(PaymentToken request, ResponseCallable onResponse, ErrorCallable onError) { - sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, TutiResponse.class, TutiResponse.class, onResponse, onError, null, "uuid", uuid); + public void getPaymentToken(String uuid, ResponseCallable onResponse, ErrorCallable onError) { + sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, PaymentToken.class, PaymentToken.class, onResponse, onError, null, "uuid", uuid); } public void quickPayment(EBSRequest request, ResponseCallable onResponse, ErrorCallable onError) {