SiteKiosk Documentation
One Step Back

Balance Property




The Balance property contains the current balance of the script device account.


Syntax

    [currency=] SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").
    Balance
    
Possible Values
    Currency value that retrieves the balance.

    The property is read only.
Remarks
    If the script device account is enabled, its credit is added to the account balance of the SiteCash object.
    Use the CurrencyFormatter object for currency functionality.
Examples
    The following example shows the current script device balance in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    scash = SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice");
    alert(scash.Balance);
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -