# Devices2 Collection The Devices2 collection contains payment devices. Members Table The following table lists the members provided by the Devices2 collection.
Members
Properties | Description
Count | The number of devices.
Methods | Description
Item | Returns one item of the collection.
Remarks This collection is available through the object SiteCash. Use the Devices2 collection to handle several payment devices. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example shows the name of the first existing payment device in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Name);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top