developer:soap-1.2:objects:paymentmethod

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:paymentmethod [2010/02/12 11:10]
hmcgowan created
developer:soap-1.2:objects:paymentmethod [2010/10/20 15:07]
irina
Line 34: Line 34:
  
 ===== Examples ===== ===== Examples =====
 +==== .NET VB ====
 +<code vb>
 +Dim payMethod As usaepay.PaymentMethod = New usaepay.PaymentMethod
 +        payMethod.CreditCardData = New usaepay.CreditCardData
 + 
 +        payMethod.CreditCardData.CardExpiration = "​1212"​
 +        payMethod.CreditCardData.CardNumber = "​4000100011112224"​
 +        payMethod.CreditCardData.AvsStreet = "123 Main st."
 +        payMethod.CreditCardData.AvsZip = "​90046"​
 +        payMethod.MethodName = "My Visa"
  
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +usaepay.PaymentMethod payMethod = new usaepay.PaymentMethod(); ​        
 + 
 +            payMethod.CreditCardData = new usaepay.CreditCardData();​
 +            payMethod.CreditCardData.CardExpiration = "​1212";​
 +            payMethod.CreditCardData.CardNumber = "​4444555566667779";​
 +            payMethod.CreditCardData.AvsStreet = "123 Main st.";
 +            payMethod.CreditCardData.AvsZip = "​90046";​
 +            payMethod.MethodName = "My two";
 +
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.2/objects/paymentmethod.txt ยท Last modified: 2010/10/20 15:07 by irina

Page Tools