Class: Google::Apis::AndroidpublisherV3::ItemExpiryTimeDetails
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ItemExpiryTimeDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Expiry time details of a subscription item.
Instance Attribute Summary collapse
-
#expiry_time ⇒ String
The new expiry time for this subscription item.
-
#product_id ⇒ String
The product ID of the subscription item (for example, 'premium_plan').
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemExpiryTimeDetails
constructor
A new instance of ItemExpiryTimeDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ItemExpiryTimeDetails
Returns a new instance of ItemExpiryTimeDetails.
4480 4481 4482 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiry_time ⇒ String
The new expiry time for this subscription item.
Corresponds to the JSON property expiryTime
4473 4474 4475 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4473 def expiry_time @expiry_time end |
#product_id ⇒ String
The product ID of the subscription item (for example, 'premium_plan').
Corresponds to the JSON property productId
4478 4479 4480 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4478 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4485 4486 4487 4488 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4485 def update!(**args) @expiry_time = args[:expiry_time] if args.key?(:expiry_time) @product_id = args[:product_id] if args.key?(:product_id) end |