Class: Google::Apis::AndroidpublisherV3::OfferPhase
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::OfferPhase
- 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
Offer phase details.
Instance Attribute Summary collapse
-
#base_price ⇒ Google::Apis::AndroidpublisherV3::BasePriceOfferPhase
Details about base price offer phase.
-
#free_trial ⇒ Google::Apis::AndroidpublisherV3::FreeTrialOfferPhase
Details about free trial offer phase.
-
#introductory_price ⇒ Google::Apis::AndroidpublisherV3::IntroductoryPriceOfferPhase
Details about introductory price offer phase.
-
#proration_period ⇒ Google::Apis::AndroidpublisherV3::ProrationPeriodOfferPhase
Details about proration period offer phase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OfferPhase
constructor
A new instance of OfferPhase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OfferPhase
Returns a new instance of OfferPhase.
5296 5297 5298 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_price ⇒ Google::Apis::AndroidpublisherV3::BasePriceOfferPhase
Details about base price offer phase.
Corresponds to the JSON property basePrice
5279 5280 5281 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5279 def base_price @base_price end |
#free_trial ⇒ Google::Apis::AndroidpublisherV3::FreeTrialOfferPhase
Details about free trial offer phase.
Corresponds to the JSON property freeTrial
5284 5285 5286 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5284 def free_trial @free_trial end |
#introductory_price ⇒ Google::Apis::AndroidpublisherV3::IntroductoryPriceOfferPhase
Details about introductory price offer phase.
Corresponds to the JSON property introductoryPrice
5289 5290 5291 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5289 def introductory_price @introductory_price end |
#proration_period ⇒ Google::Apis::AndroidpublisherV3::ProrationPeriodOfferPhase
Details about proration period offer phase.
Corresponds to the JSON property prorationPeriod
5294 5295 5296 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5294 def proration_period @proration_period end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5301 5302 5303 5304 5305 5306 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5301 def update!(**args) @base_price = args[:base_price] if args.key?(:base_price) @free_trial = args[:free_trial] if args.key?(:free_trial) @introductory_price = args[:introductory_price] if args.key?(:introductory_price) @proration_period = args[:proration_period] if args.key?(:proration_period) end |