IsCreditAccount Property



 
The IsCreditAccount property indicates whether the credit function has been enabled in the configuration.


Syntax

    [bool=] SiteKiosk.Plugins("SiteCash").RuntimeMenuSettings.
            IsCreditAccount
    
Possible Values
    Boolean value that retrieves the enabled status.

    The property is read only.
Remarks
    None.
Examples
    The following example determines whether the credit function is enabled and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var RMSettings = SiteKiosk.Plugins("SiteCash").RuntimeMenuSettings;
    alert(RMSettings.IsCreditAccount);
    </SCRIPT>

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

Back to top