developer:soap-1.6:objects:fieldvalue

Differences

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

Link to this comparison view

developer:soap-1.6:objects:fieldvalue [2012/08/04 11:39] (current)
tem created
Line 1: Line 1:
 +<embed ..:​contents/>​====== FieldValue ======
  
 +Generalized Field-Value Pair
 +
 +===== Description =====
 +
 +This object is used by several methods that do not have a fixed list of parameters (like [[..:​methods:​runTransaction]]). See the documentation of the specific method for the valid field names. (Methods using this object are listed below.)
 +
 +
 +===== Properties =====
 +
 +^Type     ​^Name ​    ​^Description ​     ^
 +|string |Field |Name of element.|
 +|string |Value |Value of element.|
 +
 +
 +===== Places Used =====
 +
 +[[..:​methods:​runTransactionAPI]]
 +
 +[[..:​methods:​getTransactionCustom]]
 +
 +[[..:​methods:​quickUpdateCustomer]] ​
 +
 +===== Examples =====
 +
 +==== .NET VB ====
 +<code vb>
 +Dim Fields(0 To 9) As usaepay.FieldValue
 +        Dim i As Integer
 + 
 +        For i = 0 To 9
 +            Fields(i) = New usaepay.FieldValue
 +        Next i
 + 
 +        Fields(0).Field = "​UMname"​
 +        Fields(0).Value = "​Tester Jones"
 +        Fields(1).Field = "​UMdescription"​
 +        Fields(1).Value = "​Visual Basic For Dummies"​
 +        Fields(2).Field = "​UMamount"​
 +        Fields(2).Value = "​1.00"​
 +        Fields(3).Field = "​UMinvoice"​
 +        Fields(3).Value = "​12345"​
 +        Fields(4).Field = "​UMcard"​
 +        Fields(4).Value = "​4444555566667779"​
 +        Fields(5).Field = "​UMexpir"​
 +        Fields(5).Value = "​1212"​
 +        Fields(6).Field = "​UMstreet"​
 +        Fields(6).Value = "1234 Main Street"​
 +        Fields(7).Field = "​UMzip"​
 +        Fields(7).Value = "​90210"​
 +        Fields(8).Field = "​UMcvv2"​
 +        Fields(8).Value = "​999"​
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +usaepay.FieldValue[] tran = new usaepay.FieldValue[9];​
 + 
 +            for (int i = 0; i < 9; i++)
 +            {
 +                tran[i] = new usaepay.FieldValue();​
 +            }
 + 
 +            tran[0].Field = "​UMname"; ​          ​tran[0].Value = "​Tester Jones";​
 +            tran[1].Field = "​UMdescription"; ​   tran[1].Value = "​runTransactionAPI sale";
 +            tran[2].Field = "​UMamount"; ​        ​tran[2].Value = "​1.00";​
 +            tran[3].Field = "​UMinvoice"; ​       tran[3].Value = "​12345";​
 +            tran[4].Field = "​UMcard"; ​          ​tran[4].Value = "​4444555566667779";​
 +            tran[5].Field = "​UMexpir"; ​         tran[5].Value = "​1212";​
 +            tran[6].Field = "​UMstreet"; ​        ​tran[6].Value = "123 Main Street";​
 +            tran[7].Field = "​UMzip"; ​           tran[7].Value = "​90046";​
 +            tran[8].Field = "​UMcvv2"; ​          ​tran[8].Value = "​999";​
 +
 +</​code>​
 +
 +===== Change History =====
 +
 +^ Version ^ Change ^
 +| [[developer:​soap-1.1:​objects:​fieldvalue|1.1]] | Method added prior to soap-1.1 |
developer/soap-1.6/objects/fieldvalue.txt ยท Last modified: 2012/08/04 11:39 by tem

Page Tools