developer:soap-1.2:objects:customerobject

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.2:objects:customerobject [2010/02/12 11:23]
hmcgowan created
developer:soap-1.2:objects:customerobject [2010/09/17 15:53]
irina
Line 122: Line 122:
 </​code> ​ </​code> ​
  
 +==== .NET C# ====
 +<code c>
 +usaepay.CustomerObject customer = new usaepay.CustomerObject();​
 +            usaepay.Address 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.00;
 +            customer.Next = "​2010-08-15";​
 +            customer.Schedule = "​monthly";​
 + 
 +            usaepay.PaymentMethod[] payMethod = new usaepay.PaymentMethod[1];​
 +            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>​
  
 ==== XML ==== ==== XML ====
developer/soap-1.2/objects/customerobject.txt ยท Last modified: 2010/10/20 15:03 by irina

Page Tools