Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb
Overview
The duration of an introductory pricing promotion.
Instance Attribute Summary collapse
-
#recurrence_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec.
513 514 515 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recurrence_count ⇒ Fixnum
Output only. Output Only. The duration of an introductory offer in billing
cycles.
Corresponds to the JSON property recurrenceCount
511 512 513 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 511 def recurrence_count @recurrence_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
518 519 520 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 518 def update!(**args) @recurrence_count = args[:recurrence_count] if args.key?(:recurrence_count) end |