Class: Google::Apis::AndroidpublisherV3::AutoRenewingPlan
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AutoRenewingPlan
- 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
Information related to an auto renewing plan.
Instance Attribute Summary collapse
-
#auto_renew_enabled ⇒ Boolean
(also: #auto_renew_enabled?)
If the subscription is currently set to auto-renew, e.g.
-
#installment_details ⇒ Google::Apis::AndroidpublisherV3::InstallmentPlan
Information to a installment plan.
-
#price_change_details ⇒ Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails
Price change related information of a subscription item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoRenewingPlan
constructor
A new instance of AutoRenewingPlan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoRenewingPlan
Returns a new instance of AutoRenewingPlan.
823 824 825 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_renew_enabled ⇒ Boolean Also known as: auto_renew_enabled?
If the subscription is currently set to auto-renew, e.g. the user has not
canceled the subscription
Corresponds to the JSON property autoRenewEnabled
810 811 812 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 810 def auto_renew_enabled @auto_renew_enabled end |
#installment_details ⇒ Google::Apis::AndroidpublisherV3::InstallmentPlan
Information to a installment plan.
Corresponds to the JSON property installmentDetails
816 817 818 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 816 def installment_details @installment_details end |
#price_change_details ⇒ Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails
Price change related information of a subscription item.
Corresponds to the JSON property priceChangeDetails
821 822 823 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 821 def price_change_details @price_change_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
828 829 830 831 832 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 828 def update!(**args) @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled) @installment_details = args[:installment_details] if args.key?(:installment_details) @price_change_details = args[:price_change_details] if args.key?(:price_change_details) end |