CheckChange Method



 
The CheckChange method checks if the connected payment devices can pay out the amount.


Syntax

    SiteKiosk.Plugins("SiteCash").CheckChange(amount)
    
Parameters
    amount Currency value that specifies the amount.
Return Value
    None.
Remarks
    Deployed SmartCards can be recharged with the remaining credit.

    Use the CurrencyFormatter object for currency functionality.
Examples
    The following example checks if remaining credit can be returned.

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

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

Back to top