Hospitality

To track an event using the hospitality package, you can use the corresponding method on the tracker instance. For example:

Example

val properties = HospitalityCheckedInProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)

Methods

checkedIn()

val properties = HospitalityCheckedInProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)

HospitalityCheckedInProperties

Property
Type

adults_count?

Number

booking_creation_time?

String

booking_source?

String

booking_status?

String

booking_total?

Number

check_in_date?

String

check_out_date?

String

children_count?

Number

confirmation_number?

String

currency_code?

String

guest_email?

String

guest_first_name?

String

guest_id?

String

guest_last_name?

String

guest_phone_number?

String

length_of_stay?

Number

payment_method?

String

payment_status?

String

property_id?

String

reservation_status?

String

room_number?

String

room_rate?

Number

room_type?

String

rooms_booked_count?

Number

checkedOut()

val properties = HospitalityCheckedOutProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedOut(properties)

HospitalityCheckedOutProperties

Property
Type

adults_count?

Number

booking_creation_time?

String

booking_source?

String

booking_status?

String

booking_total?

Number

check_in_date?

String

check_out_date?

String

children_count?

Number

confirmation_number?

String

currency_code?

String

guest_email?

String

guest_first_name?

String

guest_id?

String

guest_last_name?

String

guest_phone_number?

String

length_of_stay?

Number

payment_method?

String

payment_status?

String

property_id?

String

reservation_status?

String

room_number?

String

room_rate?

Number

room_type?

String

rooms_booked_count?

Number

reservationCreated()

val properties = HospitalityReservationCreatedProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCreated(properties)

HospitalityReservationCreatedProperties

Property
Type

adults_count?

Number

booking_creation_time?

String

booking_source?

String

booking_status?

String

booking_total?

Number

check_in_date?

String

check_out_date?

String

children_count?

Number

confirmation_number?

String

currency_code?

String

guest_email?

String

guest_first_name?

String

guest_id?

String

guest_last_name?

String

guest_phone_number?

String

length_of_stay?

Number

payment_method?

String

payment_status?

String

property_id?

String

reservation_status?

String

room_number?

String

room_rate?

Number

room_type?

String

rooms_booked_count?

Number

reservationUpdated()

val properties = HospitalityReservationUpdatedProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationUpdated(properties)

HospitalityReservationUpdatedProperties

Property
Type

adults_count?

Number

booking_creation_time?

String

booking_source?

String

booking_status?

String

booking_total?

Number

check_in_date?

String

check_out_date?

String

children_count?

Number

confirmation_number?

String

currency_code?

String

guest_email?

String

guest_first_name?

String

guest_id?

String

guest_last_name?

String

guest_phone_number?

String

length_of_stay?

Number

payment_method?

String

payment_status?

String

property_id?

String

reservation_status?

String

room_number?

String

room_rate?

Number

room_type?

String

rooms_booked_count?

Number

reservationCanceled()

val properties = HospitalityReservationCanceledProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCanceled(properties)

HospitalityReservationCanceledProperties

Property
Type

adults_count?

Number

booking_creation_time?

String

booking_source?

String

booking_status?

String

booking_total?

Number

check_in_date?

String

check_out_date?

String

children_count?

Number

confirmation_number?

String

currency_code?

String

guest_email?

String

guest_first_name?

String

guest_id?

String

guest_last_name?

String

guest_phone_number?

String

length_of_stay?

Number

payment_method?

String

payment_status?

String

property_id?

String

reservation_status?

String

room_number?

String

room_rate?

Number

room_type?

String

rooms_booked_count?

Number

Last updated