Debit Method



 
The Debit method decreases the amount of available credit.


Syntax

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

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

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

Back to top