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.



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

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



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

def introductory_pricing_specs
  @introductory_pricing_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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