Class: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ConvertedRegionPrice
- 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
A converted region price.
Instance Attribute Summary collapse
-
#price ⇒ Google::Apis::AndroidpublisherV3::Money
Represents an amount of money with its currency type.
-
#region_code ⇒ String
The region code of the region.
-
#tax_amount ⇒ Google::Apis::AndroidpublisherV3::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConvertedRegionPrice
constructor
A new instance of ConvertedRegionPrice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConvertedRegionPrice
Returns a new instance of ConvertedRegionPrice.
1424 1425 1426 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#price ⇒ Google::Apis::AndroidpublisherV3::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property price
1412 1413 1414 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1412 def price @price end |
#region_code ⇒ String
The region code of the region.
Corresponds to the JSON property regionCode
1417 1418 1419 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1417 def region_code @region_code end |
#tax_amount ⇒ Google::Apis::AndroidpublisherV3::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property taxAmount
1422 1423 1424 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1422 def tax_amount @tax_amount end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1429 1430 1431 1432 1433 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1429 def update!(**args) @price = args[:price] if args.key?(:price) @region_code = args[:region_code] if args.key?(:region_code) @tax_amount = args[:tax_amount] if args.key?(:tax_amount) end |