Class: Google::Apis::PaymentsresellersubscriptionV1::PromotionIntroductoryPricingDetails

Inherits:
Object
  • Object
show all
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 details of a introductory pricing promotion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PromotionIntroductoryPricingDetails

Returns a new instance of PromotionIntroductoryPricingDetails.



997
998
999
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#introductory_pricing_specsArray<Google::Apis::PaymentsresellersubscriptionV1::PromotionIntroductoryPricingDetailsIntroductoryPricingSpec>

Output only. Specifies the introductory pricing periods. Corresponds to the JSON property introductoryPricingSpecs



995
996
997
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 995

def introductory_pricing_specs
  @introductory_pricing_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1002
1003
1004
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1002

def update!(**args)
  @introductory_pricing_specs = args[:introductory_pricing_specs] if args.key?(:introductory_pricing_specs)
end