Created
March 20, 2012 18:59
-
-
Save VantivSDK/2139831 to your computer and use it in GitHub Desktop.
Java SDK - Litle eCheck Credit Transaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.litle.sdk.*; | |
import com.litle.sdk.generate.*; | |
public class EcheckCreditExample { | |
public static void main(String[] args) { | |
EcheckCredit echeckcredit = new EcheckCredit(); | |
//LitleTxnId from an earlier echeck sale | |
echeckcredit.setLitleTxnId(123456789101112L); | |
EcheckCreditResponse response = new LitleOnline().echeckCredit(echeckcredit); | |
//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