SetCurrentMoney Method
The SetCurrentMoney method sets the accumulated sales amount.
Syntax
SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage.
SetCurrentMoney(newAmount)
|
Parameters
newAmount |
Double value containing the new amount. |
Return Value
Remarks
Examples
The following example sets the accumulated sales amount to 5.5.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
var AMStorage = SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage;
AMStorage.SetCurrentMoney(5.5);
</SCRIPT>
|
Applies to
SiteKiosk v6.5 (and later versions).
Back to top