google_api_books v0.2.0 GoogleApi.Books.V1.Model.VolumeSaleInfo View Source
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 (String.t): URL to purchase this volume on the Google Books site. (In LITE projection) Defaults to:
null
. - country (String.t): The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.) Defaults to:
null
. - isEbook (boolean()): Whether or not this volume is an eBook (can be added to the My eBooks shelf). Defaults to:
null
. - listPrice (VolumeSaleInfoListPrice): Defaults to:
null
. - offers ([VolumeSaleInfoOffers]): Offers available for this volume (sales and rentals). Defaults to:
null
. - onSaleDate (DateTime.t): The date on which this book is available for sale. Defaults to:
null
. - retailPrice (VolumeSaleInfoRetailPrice1): Defaults to:
null
. - saleability (String.t): 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. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t() :: %GoogleApi.Books.V1.Model.VolumeSaleInfo{ buyLink: any(), country: any(), isEbook: any(), listPrice: GoogleApi.Books.V1.Model.VolumeSaleInfoListPrice.t(), offers: [GoogleApi.Books.V1.Model.VolumeSaleInfoOffers.t()], onSaleDate: DateTime.t(), retailPrice: GoogleApi.Books.V1.Model.VolumeSaleInfoRetailPrice1.t(), saleability: any() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.