Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Java SDK - Litle Auth Reversal Transaction
import com.litle.sdk.*;
import com.litle.sdk.generate.*;
public class AuthReversalExample {
public static void main(String[] args) {
AuthReversal authReversal = new AuthReversal();
//litleTxnId contains the Litle Transaction Id returned on the auth
AuthReversalResponse response = new LitleOnline().authReversal(authReversal);
//Display Results
System.out.println("Response: " + response.getResponse());
System.out.println("Message: " + response.getMessage());
System.out.println("Litle Transaction ID: " + response.getLitleTxnId());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment