ChargeMode Property



 
The ChargeMode property contains the charge mode.


Syntax

    SiteCashZone.ChargeMode [=long]
    
Possible Values
    Long value that specifies or retrieves the charge mode.

    The property is read/write.
Remarks
    Possible charge modes are:

    0 : free of charge
    1 : charge
    2 : advert (credit is added)
    3 : multiplier (on daytime price)
Examples
    The following example shows the charge mode of the first existing zone in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").Zones.Item(1).ChargeMode);
    </SCRIPT>

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

Back to top