This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developer:soap-1.4:methods:updateproduct [2010/08/12 16:14] irina |
developer:soap-1.4:methods:updateproduct [2010/09/07 12:17] irina |
||
---|---|---|---|
Line 83: | Line 83: | ||
<code vb> | <code vb> | ||
+ | Dim RefNum As String | ||
+ | RefNum = "9001169810" | ||
+ | |||
+ | Dim product As usaepay.Product = New usaepay.Product() | ||
+ | product.ProductID = "0-13-508011-8" | ||
+ | product.SKU = "135080118" | ||
+ | product.UPC = "9780135080115" | ||
+ | product.Category = "Books:Science" | ||
+ | product.Enabled = True | ||
+ | product.Name = "Non-Elementary Differential Equations" | ||
+ | product.Description = "Rainville, Bedient and Bedient (Eight Edition)" | ||
+ | product.Weight = 1.0 | ||
+ | product.ShipWeight = 1.1 | ||
+ | product.Price = 112.0 | ||
+ | product.ListPrice = 128.0 | ||
+ | product.WholesalePrice = 100.0 | ||
+ | product.DateAvailable = "2010-08-01" | ||
+ | product.Manufacturer = "Prentice Hail" | ||
+ | product.MinQuantity = "0" | ||
+ | |||
+ | Dim response As Boolean | ||
+ | |||
+ | response = client.updateProduct(token, RefNum, product) | ||
+ | MsgBox(response) | ||
+ | |||
</code> | </code> | ||
==== .NET C# ==== | ==== .NET C# ==== | ||
<code c> | <code c> | ||
- | string RefNum = "900116982"; | + | string RefNum = "900116982"; |
usaepay.Product product = new usaepay.Product(); | usaepay.Product product = new usaepay.Product(); |