ExVerticalBooking v0.2.4 ExVerticalBooking.Request.OtaRead View Source

Link to this section Summary

Functions

This method is used to update availability.

Link to this section Types

Link to this type

credentials()

View Source
credentials() :: %{user: String.t(), password: String.t(), endpoint: String.t()}

Link to this section Functions

Link to this function

build_read(map, meta)

View Source
build_read(%{hotel_code: String.t()}, ExVerticalBooking.Meta.t()) ::
  {{atom(), map() | nil, list() | nil}, ExVerticalBooking.Meta.t()}
Link to this function

execute(params, credentials, meta)

View Source
execute(%{hotel_code: String.t()}, credentials(), ExVerticalBooking.Meta.t()) ::
  {:ok, struct(), ExVerticalBooking.Meta.t()}
  | {:error, any(), ExVerticalBooking.Meta.t()}

This method is used to update availability.