developer:soap-1.2:objects:transactionrequestobject

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.2:objects:transactionrequestobject [2010/02/12 10:47]
hmcgowan created
developer:soap-1.2:objects:transactionrequestobject [2010/10/20 15:18]
irina
Line 40: Line 40:
  
 ===== Examples ===== ===== Examples =====
 +
 +==== .NET VB ====
 +<code vb>
 +Dim tran As usaepay.TransactionRequestObject = New usaepay.TransactionRequestObject
 + 
 +tran.CreditCardData = New usaepay.CreditCardData
 +tran.CreditCardData.CardNumber = "​4444555566667779"​
 +tran.CreditCardData.CardExpiration = "​0913"​
 +tran.CreditCardData.CardCode = "​999"​
 + 
 +tran.Details = New usaepay.TransactionDetail
 +tran.Details.Amount = 9.02
 +tran.Details.AmountSpecified = True
 +tran.Details.Invoice = "​434534"​
 +tran.Details.Description = "​Example transaction"​
 + 
 +tran.Command = "​sale"​
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +usaepay.TransactionRequestObject tran = new usaepay.TransactionRequestObject();​
 + 
 +tran.Command = "​cc:​sale";​
 +tran.Details =  new usaepay.TransactionDetail();​
 +tran.Details.Amount = 1.00;
 +tran.Details.AmountSpecified = true;
 +tran.Details.Invoice = "​1234";​
 +tran.Details.Description = "​Example Transaction";​
 + 
 +tran.CreditCardData = new usaepay.CreditCardData();​
 +tran.CreditCardData.CardNumber = "​4444555566667779";​
 +tran.CreditCardData.CardExpiration = "​0909";​
 +
 +</​code>​
developer/soap-1.2/objects/transactionrequestobject.txt ยท Last modified: 2010/10/20 15:18 by irina

Page Tools