developer:soap-1.1: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.1:objects:transactionrequestobject [2009/06/24 14:10]
charlie created
developer:soap-1.1:objects:transactionrequestobject [2010/10/22 17:08]
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 = "​1212";​
 +
 +</​code>​
developer/soap-1.1/objects/transactionrequestobject.txt ยท Last modified: 2010/10/22 17:08 by irina

Page Tools