SiteKiosk Documentation
One Step Back

Debit Method




The Debit method decreases the amount of available credit.


Syntax

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

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").Debit(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 -