SiteKiosk Documentation
One Step Back

AccumulatedMoneyItem Object




The AccumulatedMoneyItem object provides information about the sales accumulated by a device.


Members Table

    The following table lists the members provided by the AccumulatedMoneyItem object.

    Members
    PropertiesDescription
    CurrentCashAmountCurrent cash amount of the device.
    CurrentTransactionsCurrent number of transactions of the device.
    LastCashNotifyCash amount of the device before the last reset.
    LastTransactionsNotifyNumber of transactions of the device before the last reset.

Remarks
    This object is returned by the DeviceRuntimeCounters method. Use the AccumulatedMoneyItem object to receive information about the sales accumulated by a device.

    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 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -