Reject Method



 
The Reject method rejects a single coin.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices2.Item(index).Reject(slotnr)
    
Parameters
    slotnr Long value that specifies the slot number.
Return Value
    None.
Remarks
    None.
Examples
    The following example rejects the first inserted coin of the first existing device.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Coins.Count > 0)
    {
       SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Reject(1);
    }
    </SCRIPT>
    

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

Back to top