Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").Zones.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a SiteCashZone object that represents the Payment Module zone.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows the charge mode of the first existing zone in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    firstZone = SiteKiosk.Plugins("SiteCash").Zones.Item(1);
    alert(firstZone.ChargeMode);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top