Amount Property



 
The Amount property contains the booking amount (money mode).


Syntax

    [cur=] Booking.Amount
    
Possible Values
    Currency value that retrieves the amount.

    The property is read only.
Remarks
    Valid in money mode and possibly in time mode.
    In time mode, an amount can be specified in addition to a duration. The amount will not be added to the account but appears in the bookings.

    Use the CurrencyFormatter Object  for currency functionality.
Examples
    The following example displays the amount of the first account's first booking.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    bookings = SiteCafe.Server.Bookings.GetBookings(1, 0, 0, 1, 10);
    alert(bookings.Item(1).Amount);
    </SCRIPT>
    

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

Back to top