books
v1
|
#include <volume.h>
Classes | |
class | VolumeSaleInfoListPrice |
class | VolumeSaleInfoOffers |
class | VolumeSaleInfoRetailPrice |
Public Member Functions | |
VolumeSaleInfo (const Json::Value &storage) | |
VolumeSaleInfo (Json::Value *storage) | |
virtual | ~VolumeSaleInfo () |
const StringPiece | GetTypeName () const |
bool | has_buy_link () const |
void | clear_buy_link () |
const StringPiece | get_buy_link () const |
void | set_buy_link (const StringPiece &value) |
bool | has_country () const |
void | clear_country () |
const StringPiece | get_country () const |
void | set_country (const StringPiece &value) |
bool | has_is_ebook () const |
void | clear_is_ebook () |
bool | get_is_ebook () const |
void | set_is_ebook (bool value) |
bool | has_list_price () const |
void | clear_list_price () |
const VolumeSaleInfoListPrice | get_list_price () const |
VolumeSaleInfoListPrice | mutable_listPrice () |
bool | has_offers () const |
void | clear_offers () |
const client::JsonCppArray< VolumeSaleInfoOffers > | get_offers () const |
client::JsonCppArray< VolumeSaleInfoOffers > | mutable_offers () |
bool | has_on_sale_date () const |
void | clear_on_sale_date () |
client::DateTime | get_on_sale_date () const |
void | set_on_sale_date (client::DateTime value) |
bool | has_retail_price () const |
void | clear_retail_price () |
const VolumeSaleInfoRetailPrice | get_retail_price () const |
VolumeSaleInfoRetailPrice | mutable_retailPrice () |
bool | has_saleability () const |
void | clear_saleability () |
const StringPiece | get_saleability () const |
void | set_saleability (const StringPiece &value) |
Static Public Member Functions | |
static VolumeSaleInfo * | New () |
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).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'buyLink
' attribute.
|
inline |
Clears the 'country
' attribute.
|
inline |
Clears the 'isEbook
' attribute.
|
inline |
Clears the 'listPrice
' attribute.
|
inline |
Clears the 'offers
' attribute.
|
inline |
Clears the 'onSaleDate
' attribute.
|
inline |
Clears the 'retailPrice
' attribute.
|
inline |
Clears the 'saleability
' attribute.
|
inline |
Get the value of the 'buyLink
' attribute.
|
inline |
Get the value of the 'country
' attribute.
|
inline |
Get the value of the 'isEbook
' attribute.
|
inline |
Get a reference to the value of the 'listPrice
' attribute.
|
inline |
Get a reference to the value of the 'offers
' attribute.
|
inline |
Get the value of the 'onSaleDate
' attribute.
|
inline |
Get a reference to the value of the 'retailPrice
' attribute.
|
inline |
Get the value of the 'saleability
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_books_api::VolumeSaleInfo
|
inline |
Determine if the 'buyLink
' attribute was set.
buyLink
' attribute was set.
|
inline |
Determine if the 'country
' attribute was set.
country
' attribute was set.
|
inline |
Determine if the 'isEbook
' attribute was set.
isEbook
' attribute was set.
|
inline |
Determine if the 'listPrice
' attribute was set.
listPrice
' attribute was set.
|
inline |
Determine if the 'offers
' attribute was set.
offers
' attribute was set.
|
inline |
Determine if the 'onSaleDate
' attribute was set.
onSaleDate
' attribute was set.
|
inline |
Determine if the 'retailPrice
' attribute was set.
retailPrice
' attribute was set.
|
inline |
Determine if the 'saleability
' attribute was set.
saleability
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'listPrice
' property.
Suggested retail price. (In LITE projection.).
|
inline |
Gets a reference to a mutable value of the 'offers
' property.
Offers available for this volume (sales and rentals).
|
inline |
Gets a reference to a mutable value of the 'retailPrice
' property.
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.).
|
static |
Creates a new default instance.
|
inline |
Change the 'buyLink
' attribute.
URL to purchase this volume on the Google Books site. (In LITE projection).
[in] | value | The new value. |
|
inline |
Change the 'country
' attribute.
The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.).
[in] | value | The new value. |
|
inline |
Change the 'isEbook
' attribute.
Whether or not this volume is an eBook (can be added to the My eBooks shelf).
[in] | value | The new value. |
|
inline |
Change the 'onSaleDate
' attribute.
The date on which this book is available for sale.
[in] | value | The new value. |
|
inline |
Change the 'saleability
' attribute.
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.
[in] | value | The new value. |