# ZoneDispatch Object The ZoneDispatch object provides information about the current zone. Members Table The following table lists the members provided by the ZoneDispatch object.
Members
Properties | Description
CurrentBalance | Current credit.
DeviceCount | Number of available payment devices.
PricePerHour | Price per hour.
RemainingTime | Remaining surftime.
ZoneName | Name of the current zone.
Methods | Description
FormatPrice | The FormatPrice method adds the name of the currency.
Events | Description
OnBalanceChange | Fires when credit changes.
Remarks This object is available through the object SiteCash. Use the ZoneDispatch object to receive information about the current Payment Module zone. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example shows the current zone name in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").ZoneDispatch.ZoneName);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top