Mode Property



 
The Mode property contains the payment mode.


Syntax

    [long=] Account.Mode
    
Possible Values
    Long value that retrieves the mode.

    The property is read only.
Remarks
    Possible modes are:

    1 : decrease credit (prepaid)
    3 : decrease remaining time (prepaid)
    4 : increase time (payment after surfing)
Examples
    The following example displays the payment mode of the first available account.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    account = SiteCafe.Server.Accounts.GetAccountByIndex(1);
    alert(account.Mode);
    </SCRIPT>
    

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

Back to top