SiteKiosk Documentation
One Step Back

SetCurrentMoney Method




The SetCurrentMoney method sets the accumulated sales amount.


Syntax

    SiteKiosk.Plugins("SiteCash").AccumulatedMoneyStorage.
    SetCurrentMoney(newAmount)
    
Parameters
    newAmountDouble value containing the new amount.
Return Value
    None.
Remarks
    None.
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 topVolver arriba

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