ExVerticalBooking v0.2.4 ExVerticalBooking View Source
Documentation for ExVerticalBooking.
Link to this section Summary
Functions
This method is used to update booking rule.
This method is used to update availability.
This method is used to update rates (per room prices).
This method is used for booking confirmation.
Ping message
This method is retrieve reservations for property.
Link to this section Types
Link to this section Functions
ota_hotel_booking_rule_notif(params, credentials)
View Sourceota_hotel_booking_rule_notif( ExVerticalBooking.Request.OtaHotelBookingRuleNotif.t(), credentials() ) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
This method is used to update booking rule.
ota_hotel_inv_count_notif(params, credentials)
View Sourceota_hotel_inv_count_notif( ExVerticalBooking.Request.OtaHotelInvCountNotif.t(), credentials() ) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
This method is used to update availability.
ota_hotel_rate_amount_notif(params, credentials)
View Sourceota_hotel_rate_amount_notif( ExVerticalBooking.Request.OtaHotelRateAmountNotif.t(), credentials() ) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
This method is used to update rates (per room prices).
ota_hotel_res_notif(booking_ids, credentials)
View Sourceota_hotel_res_notif(list(), credentials()) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
This method is used for booking confirmation.
ota_ping(credentials)
View Sourceota_ping(credentials()) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
Ping message
This is a simple XML message that could be useful to test if the connection is working correctly. We suggest to implement this method first in order to be sure that the SOAP level communication is correct.
Example
ExVerticalBooking.ota_ping()
ota_read(params, credentials)
View Sourceota_read(%{hotel_code: String.t()}, credentials()) :: {:ok, any(), ExVerticalBooking.Meta.t()} | {:error, map(), ExVerticalBooking.Meta.t()}
This method is retrieve reservations for property.