ExVerticalBooking v0.2.4 ExVerticalBooking.Request.OtaHotelRateAmountNotif View Source
Link to this section Summary
Functions
This method is used to update rates (per room prices).
Link to this section Types
Link to this type
t()
View Sourcet() :: %{ hotel_code: String.t(), rate_amount_messages: [ %{ status_application_control: %{ start: String.t(), end: String.t(), rate_plan_code: String.t(), inv_type_code: String.t() }, rates: [ %{ base_by_guest_amts: [ %{ currency_code: String.t(), amount_after_tax: integer(), number_of_guests: integer(), age_qualifying_code: integer() } ] } ] } ] }
Link to this section Functions
Link to this function
build_hotel_rate_amount_notif(payload, meta)
View Sourcebuild_hotel_rate_amount_notif(t(), ExVerticalBooking.Meta.t()) :: {{atom(), map() | nil, list() | nil}, ExVerticalBooking.Meta.t()}
Link to this function
execute(params, credentials, meta)
View Sourceexecute(t(), credentials(), ExVerticalBooking.Meta.t()) :: {:ok, struct(), ExVerticalBooking.Meta.t()} | {:error, any(), ExVerticalBooking.Meta.t()}
This method is used to update rates (per room prices).