developer:soap-1.1:objects:customerobject

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap-1.1:objects:customerobject [2010/10/04 14:25]
irina
developer:soap-1.1:objects:customerobject [2010/10/22 16:32] (current)
irina
Line 121: Line 121:
 ?> ?>
 </​code> ​ </​code> ​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim customer As usaepay.CustomerObject = New usaepay.CustomerObject
 +        Dim address As usaepay.Address = New usaepay.Address
 +        address.FirstName = "​John"​
 +        address.LastName = "​Doe"​
 +        address.Company = "​Acme"​
 +        address.Street = "123 main st."
 +        address.City = "​Hollywood"​
 +        address.State = "​ca"​
 +        address.Zip = "​91607"​
 +        address.Country = "​USA"​
 +        customer.BillingAddress = address
 + 
 +        customer.Enabled = True
 +        customer.Amount = 5.0
 +        customer.Next = "​2010-08-15"​
 +        customer.Schedule = "​monthly"​
 + 
 +        Dim payMethod(0) As usaepay.PaymentMethod
 +        payMethod(0) = New usaepay.PaymentMethod
 +        payMethod(0).CreditCardData = New usaepay.CreditCardData
 +        payMethod(0).CreditCardData.CardExpiration = "​1212"​
 +        payMethod(0).CreditCardData.CardNumber = "​4444555566667779"​
 +        payMethod(0).CreditCardData.AvsStreet = "123 Main st."
 +        payMethod(0).CreditCardData.AvsZip = "​90046"​
 +        payMethod(0).MethodName = "My Visa"
 + 
 +        customer.PaymentMethods = payMethod
 +</​code>​
  
 ==== .NET C# ==== ==== .NET C# ====
developer/soap-1.1/objects/customerobject.txt ยท Last modified: 2010/10/22 16:32 by irina

Page Tools