Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created March 20, 2012 19:00
Show Gist options
  • Save VantivSDK/2139852 to your computer and use it in GitHub Desktop.
Save VantivSDK/2139852 to your computer and use it in GitHub Desktop.
Java SDK - Litle eCheck Redeposit Transaction
import com.litle.sdk.*;
import com.litle.sdk.generate.*;
public class EcheckRedepositExample {
public static void main(String[] args) {
EcheckRedeposit echeckRedeposit = new EcheckRedeposit();
//LitleTxnId from an earlier echeck sale
echeckRedeposit.setLitleTxnId(123456789101112L);
EcheckRedepositResponse response = new LitleOnline().echeckRedeposit(echeckRedeposit);
//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