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 top