BonusLimit Property
The BonusLimit property contains the bonus limit.
Syntax
[double=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
BonusLimit
|
Possible Values
Double value that retrieves the bonus limit.
|
The property is read only.
Remarks
When the spending of the user reaches this limit, he receives the bonus.
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