SiteKiosk Documentation
One Step Back

BonusAmount Property




The BonusAmount property contains the bonus amount.


Syntax

    [double=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
              BonusAmount
    
Possible Values
    Double value that retrieves the amount.

    The property is read only.
Remarks
    When the spending of the user reaches the limit, he receives this bonus amount.
Examples
    The following example displays bonus information.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    if (SiteCafe.BonusActivated)
    {
       alert("Amount: " + SiteCafe.BonusAmount);
       alert("Limit: " + SiteCafe.BonusLimit);
       alert("Current spending: " + SiteCafe.CurrentBonus);
    }
    </SCRIPT>
    

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

Back to topVolver arriba

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