class Google::Apis::MybusinesslodgingV1::Policies

Property rules that impact guests.

Attributes

all_inclusive_available[RW]

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?[RW]

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[RW]

All inclusive available exception. Corresponds to the JSON property `allInclusiveAvailableException` @return [String]

all_inclusive_only[RW]

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?[RW]

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[RW]

All inclusive only exception. Corresponds to the JSON property `allInclusiveOnlyException` @return [String]

checkin_time[RW]

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]

checkin_time_exception[RW]

Check-in time exception. Corresponds to the JSON property `checkinTimeException` @return [String]

checkout_time[RW]

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]

checkout_time_exception[RW]

Check-out time exception. Corresponds to the JSON property `checkoutTimeException` @return [String]

kids_stay_free[RW]

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?[RW]

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[RW]

Kids stay free exception. Corresponds to the JSON property `kidsStayFreeException` @return [String]

max_child_age[RW]

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[RW]

Max child age exception. Corresponds to the JSON property `maxChildAgeException` @return [String]

max_kids_stay_free_count[RW]

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[RW]

Max kids stay free count exception. Corresponds to the JSON property `maxKidsStayFreeCountException` @return [String]

payment_options[RW]

Forms of payment accepted at the property. Corresponds to the JSON property `paymentOptions` @return [Google::Apis::MybusinesslodgingV1::PaymentOptions]

smoke_free_property[RW]

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?[RW]

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[RW]

Smoke free property exception. Corresponds to the JSON property `smokeFreePropertyException` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 3110
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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