class Google::Apis::MybusinesslodgingV1::Policies
Property
rules that impact guests.
Attributes
All inclusive available. The hotel offers a rate option that includes the cost of the room, meals, activities, and other amenities that might otherwise be charged separately. Corresponds to the JSON property `allInclusiveAvailable` @return [Boolean]
All inclusive available. The hotel offers a rate option that includes the cost of the room, meals, activities, and other amenities that might otherwise be charged separately. Corresponds to the JSON property `allInclusiveAvailable` @return [Boolean]
All inclusive available exception. Corresponds to the JSON property `allInclusiveAvailableException` @return [String]
All inclusive only. The only rate option offered by the hotel is a rate that includes the cost of the room, meals, activities and other amenities that might otherwise be charged separately. Corresponds to the JSON property `allInclusiveOnly` @return [Boolean]
All inclusive only. The only rate option offered by the hotel is a rate that includes the cost of the room, meals, activities and other amenities that might otherwise be charged separately. Corresponds to the JSON property `allInclusiveOnly` @return [Boolean]
All inclusive only exception. Corresponds to the JSON property `allInclusiveOnlyException` @return [String]
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `checkinTime` @return [Google::Apis::MybusinesslodgingV1::TimeOfDay]
Check-in time exception. Corresponds to the JSON property `checkinTimeException` @return [String]
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. Corresponds to the JSON property `checkoutTime` @return [Google::Apis::MybusinesslodgingV1::TimeOfDay]
Check-out time exception. Corresponds to the JSON property `checkoutTimeException` @return [String]
Kids stay free. The children of guests are allowed to stay in the room/suite of a parent or adult without an additional fee. The policy may or may not stipulate a limit of the child's age or the overall number of children allowed. Corresponds to the JSON property `kidsStayFree` @return [Boolean]
Kids stay free. The children of guests are allowed to stay in the room/suite of a parent or adult without an additional fee. The policy may or may not stipulate a limit of the child's age or the overall number of children allowed. Corresponds to the JSON property `kidsStayFree` @return [Boolean]
Kids stay free exception. Corresponds to the JSON property `kidsStayFreeException` @return [String]
Max child age. The hotel allows children up to a certain age to stay in the room/suite of a parent or adult without an additional fee. Corresponds to the JSON property `maxChildAge` @return [Fixnum]
Max child age exception. Corresponds to the JSON property `maxChildAgeException` @return [String]
Max kids stay free count. The hotel allows a specific, defined number of children to stay in the room/suite of a parent or adult without an additional fee. Corresponds to the JSON property `maxKidsStayFreeCount` @return [Fixnum]
Max kids stay free count exception. Corresponds to the JSON property `maxKidsStayFreeCountException` @return [String]
Forms of payment accepted at the property. Corresponds to the JSON property `paymentOptions` @return [Google::Apis::MybusinesslodgingV1::PaymentOptions]
Smoke free property. Smoking is not allowed inside the building, on balconies, or in outside spaces. Hotels that offer a designated area for guests to smoke are not considered smoke-free properties. Corresponds to the JSON property `smokeFreeProperty` @return [Boolean]
Smoke free property. Smoking is not allowed inside the building, on balconies, or in outside spaces. Hotels that offer a designated area for guests to smoke are not considered smoke-free properties. Corresponds to the JSON property `smokeFreeProperty` @return [Boolean]
Smoke free property exception. Corresponds to the JSON property `smokeFreePropertyException` @return [String]
Public Class Methods
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 3110 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 3115 def update!(**args) @all_inclusive_available = args[:all_inclusive_available] if args.key?(:all_inclusive_available) @all_inclusive_available_exception = args[:all_inclusive_available_exception] if args.key?(:all_inclusive_available_exception) @all_inclusive_only = args[:all_inclusive_only] if args.key?(:all_inclusive_only) @all_inclusive_only_exception = args[:all_inclusive_only_exception] if args.key?(:all_inclusive_only_exception) @checkin_time = args[:checkin_time] if args.key?(:checkin_time) @checkin_time_exception = args[:checkin_time_exception] if args.key?(:checkin_time_exception) @checkout_time = args[:checkout_time] if args.key?(:checkout_time) @checkout_time_exception = args[:checkout_time_exception] if args.key?(:checkout_time_exception) @kids_stay_free = args[:kids_stay_free] if args.key?(:kids_stay_free) @kids_stay_free_exception = args[:kids_stay_free_exception] if args.key?(:kids_stay_free_exception) @max_child_age = args[:max_child_age] if args.key?(:max_child_age) @max_child_age_exception = args[:max_child_age_exception] if args.key?(:max_child_age_exception) @max_kids_stay_free_count = args[:max_kids_stay_free_count] if args.key?(:max_kids_stay_free_count) @max_kids_stay_free_count_exception = args[:max_kids_stay_free_count_exception] if args.key?(:max_kids_stay_free_count_exception) @payment_options = args[:payment_options] if args.key?(:payment_options) @smoke_free_property = args[:smoke_free_property] if args.key?(:smoke_free_property) @smoke_free_property_exception = args[:smoke_free_property_exception] if args.key?(:smoke_free_property_exception) end