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