Skip to content

Commit

Permalink
Add iPIN key to noebs
Browse files Browse the repository at this point in the history
  • Loading branch information
adonese committed Jul 21, 2022
1 parent 283f244 commit 1ac700a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/main/java/com/tuti/api/TutiApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ public void getPublicKey(EBSRequest ebsRequest, ResponseCallable<TutiResponse> o
sendRequest(RequestMethods.POST, serverURL + Operations.PUBLIC_KEY, ebsRequest, TutiResponse.class, TutiResponse.class, onResponse, onError, null);
}

public void getIpinPublicKey(Object ebsRequest, ResponseCallable<TutiResponse> onResponse, ErrorCallable<TutiResponse> onError) {
sendRequest(RequestMethods.POST, serverURL + Operations.IPIN_key, ebsRequest, TutiResponse.class, TutiResponse.class, onResponse, onError, null);
}


public void addCard(Object card, ResponseCallable<String> onResponse, ErrorCallable<TutiResponse> onError) {
sendRequest(RequestMethods.POST, serverURL + Operations.ADD_CARD, card, String.class, TutiResponse.class, onResponse, onError, null);
}
Expand Down

0 comments on commit 1ac700a

Please sign in to comment.