MellonGroupPOS.getTerminalList Method

Retrieve a list of all the terminals that are available to the user, type of List(Of POSTerminal)
Public Function getTerminalList( _ 
ByVal APIKey As String
) As List(Of POSTerminal)
This language is not supported or no code example is available.
public List<POSTerminal> getTerminalList( 
string APIKey 
)
This language is not supported or no code example is available.

Parameters

APIKey
string

The API key that is obtained by the getApiKey method.

Return Value

List<POSTerminal>
Example
 
 List<MellonGroupPOS.POSTerminal> Terminals = mlg.getTerminalList("myAPIKey");
 foreach (var trm in Terminals)
     Console.WriteLine("Friendly Name:" + trm.FriendlyName + "     TerminalID: " + trm.TerminalID);
 					
This language is not supported or no code example is available.
 Dim Terminals As List(Of MellonGroupPOS.POSTerminal) = mlg.getTerminalList("myAPIKey")
 For Each trm In Terminals
     Console.WriteLine("Friendly Name:" & trm.FriendlyName & "     TerminalID: " & trm.TerminalID)
 Next
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition