Booking Object



 
The Booking object contains booking information.


Members Table

    The following table lists the members provided by the Booking object.

    Members
    Properties Description
    AccountIndex Booking account index.
    Amount Booking amount (money mode).
    BookingDate Booking date.
    Duration Booking duration (time mode).
    Index Index number.
    Reason Booking reason.

Remarks
    This object is returned by the Item method. Use the Booking object to receive information about a booking.

Examples
    The following example displays the reason for 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).Reason);
    </SCRIPT>
    

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

Back to top