Credit Method



 
The Credit method increases the amount of available credit.


Syntax

    SiteKiosk.Plugins("SiteCash").Credit(amount)
    
Parameters
    amount Currency value that specifies the amount to add.
Return Value
    None.
Remarks Examples
    The following example increases the credit.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Credit(10.5);
    </SCRIPT>
    

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

Back to top