Created
April 13, 2012 15:29
-
-
Save VantivSDK/2377710 to your computer and use it in GitHub Desktop.
.NET SDK - Litle Void Transaction
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Litle.Sdk; | |
//Void Transaction | |
class Example | |
{ | |
[STAThread] | |
public static void Main(String[] args) | |
{ | |
//litleTxnId contains the Litle Transaction Id returned on the deposit | |
LitleOnline litle = new LitleOnline(); | |
voidTxn newvoid = new voidTxn(); | |
newvoid.litleTxnId = 100000000000000000; | |
litleOnlineResponseTransactionResponseVoidResponse voidResponse = litle.DoVoid(newvoid); | |
//Display Results | |
Console.WriteLine("Response: " + voidResponse.response); | |
Console.WriteLine("Message: " + voidResponse.message); | |
Console.WriteLine("Litle Transaction Id: " + voidResponse.litleTxnId); | |
Console.ReadLine(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment