SiteKiosk Documentation
One Step Back

Credit Method




The Credit method increases the amount of available credit.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").Credit(cur, bool)
    
Parameters
    curCurrency value that specifies the amount to add.
    boolBoolean value that specifies if the amount should be booked directly into the main account of the SiteCash object.
Return Value
    None.
Remarks Examples
    The following example increases the credit of the script device account.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").Credit(5, false);
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to topVolver arriba

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