Class: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice

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

Converted other regions prices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConvertedOtherRegionsPrice

Returns a new instance of ConvertedOtherRegionsPrice.



1393
1394
1395
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1393

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



1386
1387
1388
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1386

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



1391
1392
1393
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1391

def usd_price
  @usd_price
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1398
1399
1400
1401
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1398

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