Class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices

Inherits:
Object
  • Object
show all
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

Pricing information for any new locations Play may launch in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OtherRegionsSubscriptionOfferPhasePrices

Returns a new instance of OtherRegionsSubscriptionOfferPhasePrices.



4123
4124
4125
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4123

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

Instance Attribute Details

#eur_priceGoogle::Apis::AndroidpublisherV3::Money

Represents an amount of money with its currency type. Corresponds to the JSON property eurPrice



4116
4117
4118
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4116

def eur_price
  @eur_price
end

#usd_priceGoogle::Apis::AndroidpublisherV3::Money

Represents an amount of money with its currency type. Corresponds to the JSON property usdPrice



4121
4122
4123
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4121

def usd_price
  @usd_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4128
4129
4130
4131
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4128

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