Credit Method



 
The Credit method increases the credit.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Credit(amount, reason)
    
Parameters
    amount Currency value that specifies the amount.
    reason String 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 top