developer:soap-1.1:objects:transactionrequestobject

Differences

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

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.1:objects:transactionrequestobject [2009/06/24 14:10]
charlie created
developer:soap-1.1:objects:transactionrequestobject [2010/10/04 14:56]
irina
Line 41: Line 41:
 ===== Examples ===== ===== Examples =====
  
 +==== .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