class Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration

The rental duration (for rental offers only).

Attributes

count[RW]

Corresponds to the JSON property `count` @return [Float]

unit[RW]

Corresponds to the JSON property `unit` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 3106
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @unit = args[:unit] if args.key?(:unit)
end