SiteKiosk Documentation
One Step Back

Credit Method




The Credit method increases the credit.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Credit(amount, reason)
    
Parameters
    amountCurrency value that specifies the amount.
    reasonString that specifies the reason.
Return Value
    None.
Remarks Examples
    The following example increases the credit.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.Credit(5, "5 Dollars inserted");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to topVolver arriba

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