BonusAmount Property



 
The BonusAmount property contains the bonus amount.


Syntax

    SiteCafe.Server.Config.BonusAmount [=double]
    
Possible Values
    Double value that specifies or retrieves the amount.

    The property is read/write.
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();
    if (SiteCafe.Server.Config.BonusActivated)
    {
       multiplier = SiteCafe.Server.Config.BonusMultiplier;
       amount = SiteCafe.Server.Config.BonusAmount;
       limit = SiteCafe.Server.Config.BonusLimit;
       alert("Amount: " + (amount * multiplier));
       alert("Limit: " + limit);
    }
    </SCRIPT>
    

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

Back to top