ExVerticalBooking v0.1.0 ExVerticalBooking.Request.OtaHotelBookingRuleNotif View Source
Link to this section Summary
Functions
This method is used to update booking rule.
Link to this section Types
Link to this type
t()
View Sourcet() :: %{
hotel_code: String.t(),
rule_messages: [
%{
status_application_control: %{
start: String.t(),
end: String.t(),
inv_type_code: String.t(),
rate_plan_code: String.t(),
destination_system_codes: [integer()]
},
booking_rules: [
%{
lengths_of_stay:
[
%{
time: String.t(),
time_unit: String.t(),
min_max_message_type: String.t()
}
]
| nil,
restriction_status:
%{restriction: String.t(), status: String.t()} | nil
}
]
}
]
}
Link to this section Functions
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 booking rule.