CurrentCashAmount Property



 
The CurrentCashAmount property contains the current cash amount of the device.


Syntax

    [double=] AccumulatedMoneyItem.CurrentCashAmount
    
Possible Values
    Double value that retrieves the cash amount.

    The property is read only.
Remarks
    None.
Examples
    The following example shows the current cash amount of the first available device.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var AMStorage = SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage;
    var FirstDevice = SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Name;
    alert(AMStorage.DeviceRuntimeCounters(FirstDevice).CurrentCashAmount);
    </SCRIPT>
    

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

Back to top