Skip to content

Commit

Permalink
amend getPaymentToken returned data
Browse files Browse the repository at this point in the history
  • Loading branch information
adonese committed Aug 25, 2022
1 parent 3896b5f commit c3f40cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/main/java/com/tuti/api/TutiApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public void generatePaymentToken(PaymentToken request, ResponseCallable<TutiResp
sendRequest(RequestMethods.POST, serverURL + Operations.GeneratePaymentToken, request, TutiResponse.class, TutiResponse.class, onResponse, onError, null);
}

public void getPaymentToken(String uuid, ResponseCallable<TutiResponse> onResponse, ErrorCallable<TutiResponse> onError) {
sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, TutiResponse.class, TutiResponse.class, onResponse, onError, null, "uuid", uuid);
public void getPaymentToken(String uuid, ResponseCallable<PaymentToken> onResponse, ErrorCallable<PaymentToken> onError) {
sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, PaymentToken.class, PaymentToken.class, onResponse, onError, null, "uuid", uuid);
}

public void quickPayment(EBSRequest request, ResponseCallable<PaymentToken> onResponse, ErrorCallable<PaymentToken> onError) {
Expand Down

0 comments on commit c3f40cf

Please sign in to comment.