BonusActivated Property
The BonusActivated property indicates whether bonus is active (surfmiles).
Syntax
[bool=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
BonusActivated
|
Possible Values
Boolean value that retrieves the bonus status.
|
The property is read only.
Remarks
If bonus is active, the user gets a bonus when he spent a specified 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