View Source GoogleApi.Books.V1.Model.VolumeSaleInfoOffers (google_api_books v0.21.0)

Attributes

  • finskyOfferType (type: integer(), default: nil) - The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
  • giftable (type: boolean(), default: nil) - Indicates whether the offer is giftable.
  • listPrice (type: GoogleApi.Books.V1.Model.VolumeSaleInfoOffersListPrice.t, default: nil) - Offer list (=undiscounted) price in Micros.
  • rentalDuration (type: GoogleApi.Books.V1.Model.VolumeSaleInfoOffersRentalDuration.t, default: nil) - The rental duration (for rental offers only).
  • retailPrice (type: GoogleApi.Books.V1.Model.VolumeSaleInfoOffersRetailPrice.t, default: nil) - Offer retail (=discounted) price in Micros

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Books.V1.Model.VolumeSaleInfoOffers{
  finskyOfferType: integer() | nil,
  giftable: boolean() | nil,
  listPrice: GoogleApi.Books.V1.Model.VolumeSaleInfoOffersListPrice.t() | nil,
  rentalDuration:
    GoogleApi.Books.V1.Model.VolumeSaleInfoOffersRentalDuration.t() | nil,
  retailPrice:
    GoogleApi.Books.V1.Model.VolumeSaleInfoOffersRetailPrice.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.