View Source GoogleApi.Books.V1.Model.VolumeSaleInfo (google_api_books v0.21.0)
Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).
Attributes
-
buyLink
(type:String.t
, default:nil
) - URL to purchase this volume on the Google Books site. (In LITE projection) -
country
(type:String.t
, default:nil
) - The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.) -
isEbook
(type:boolean()
, default:nil
) - Whether or not this volume is an eBook (can be added to the My eBooks shelf). -
listPrice
(type:GoogleApi.Books.V1.Model.VolumeSaleInfoListPrice.t
, default:nil
) - Suggested retail price. (In LITE projection.) -
offers
(type:list(GoogleApi.Books.V1.Model.VolumeSaleInfoOffers.t)
, default:nil
) - Offers available for this volume (sales and rentals). -
onSaleDate
(type:String.t
, default:nil
) - The date on which this book is available for sale. -
retailPrice
(type:GoogleApi.Books.V1.Model.VolumeSaleInfoRetailPrice.t
, default:nil
) - The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.) -
saleability
(type:String.t
, default:nil
) - Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Books.V1.Model.VolumeSaleInfo{ buyLink: String.t() | nil, country: String.t() | nil, isEbook: boolean() | nil, listPrice: GoogleApi.Books.V1.Model.VolumeSaleInfoListPrice.t() | nil, offers: [GoogleApi.Books.V1.Model.VolumeSaleInfoOffers.t()] | nil, onSaleDate: String.t() | nil, retailPrice: GoogleApi.Books.V1.Model.VolumeSaleInfoRetailPrice.t() | nil, saleability: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.