Class: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig

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

Returns a new instance of OtherRegionsBasePlanConfig.



2228
2229
2230
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2228

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



2214
2215
2216
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2214

def eur_price
  @eur_price
end

#new_subscriber_availabilityBoolean Also known as: new_subscriber_availability?

Whether the base plan is available for new subscribers in any new locations Play may launch in. If not specified, this will default to false. Corresponds to the JSON property newSubscriberAvailability

Returns:

  • (Boolean)


2220
2221
2222
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2220

def new_subscriber_availability
  @new_subscriber_availability
end

#usd_priceGoogle::Apis::AndroidpublisherV3::Money

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



2226
2227
2228
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2226

def usd_price
  @usd_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2233
2234
2235
2236
2237
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2233

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