Class: Google::Apis::BooksV1::BooksSubscriptionReleaseInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::BooksSubscriptionReleaseInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Instance Attribute Summary collapse
-
#amount_in_micros ⇒ Fixnum
Amount in micros of the specified currency code.
-
#currency_code ⇒ String
Currency code of the amount.
-
#release_number ⇒ String
The release number of this issue/volume/book.
-
#release_timestamp_us ⇒ Fixnum
The release date.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BooksSubscriptionReleaseInfo
constructor
A new instance of BooksSubscriptionReleaseInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BooksSubscriptionReleaseInfo
Returns a new instance of BooksSubscriptionReleaseInfo.
573 574 575 |
# File 'generated/google/apis/books_v1/classes.rb', line 573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount_in_micros ⇒ Fixnum
Amount in micros of the specified currency code.
Corresponds to the JSON property amountInMicros
556 557 558 |
# File 'generated/google/apis/books_v1/classes.rb', line 556 def amount_in_micros @amount_in_micros end |
#currency_code ⇒ String
Currency code of the amount.
Corresponds to the JSON property currencyCode
561 562 563 |
# File 'generated/google/apis/books_v1/classes.rb', line 561 def currency_code @currency_code end |
#release_number ⇒ String
The release number of this issue/volume/book.
Corresponds to the JSON property releaseNumber
566 567 568 |
# File 'generated/google/apis/books_v1/classes.rb', line 566 def release_number @release_number end |
#release_timestamp_us ⇒ Fixnum
The release date.
Corresponds to the JSON property releaseTimestampUs
571 572 573 |
# File 'generated/google/apis/books_v1/classes.rb', line 571 def @release_timestamp_us end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
578 579 580 581 582 583 |
# File 'generated/google/apis/books_v1/classes.rb', line 578 def update!(**args) @amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros) @currency_code = args[:currency_code] if args.key?(:currency_code) @release_number = args[:release_number] if args.key?(:release_number) @release_timestamp_us = args[:release_timestamp_us] if args.key?(:release_timestamp_us) end |