Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails

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) ⇒ GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails.



725
726
727
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 725

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

Instance Attribute Details

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

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



723
724
725
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 723

def introductory_pricing_specs
  @introductory_pricing_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



730
731
732
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 730

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