class Google::Apis::BooksV1::Volume::SaleInfo::Offer
Attributes
The finsky offer type (e.g., PURCHASE=0 RENTAL=3) Corresponds to the JSON property `finskyOfferType` @return [Fixnum]
Indicates whether the offer is giftable. Corresponds to the JSON property `giftable` @return [Boolean]
Indicates whether the offer is giftable. Corresponds to the JSON property `giftable` @return [Boolean]
Offer
list (=undiscounted) price in Micros. Corresponds to the JSON property `listPrice` @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice]
The rental duration (for rental offers only). Corresponds to the JSON property `rentalDuration` @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration]
Offer
retail (=discounted) price in Micros Corresponds to the JSON property `retailPrice` @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::RetailPrice]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 3451 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 3456 def update!(**args) @finsky_offer_type = args[:finsky_offer_type] if args.key?(:finsky_offer_type) @giftable = args[:giftable] if args.key?(:giftable) @list_price = args[:list_price] if args.key?(:list_price) @rental_duration = args[:rental_duration] if args.key?(:rental_duration) @retail_price = args[:retail_price] if args.key?(:retail_price) end