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.
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 top