Class: Google::Apis::DfareportingV4::BillingRateTieredRate
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::BillingRateTieredRate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Instance Attribute Summary collapse
-
#high_value ⇒ Fixnum
The maximum for this tier range.
-
#low_value ⇒ Fixnum
The minimum for this tier range.
-
#rate_in_micros ⇒ Fixnum
Rate in micros for this tier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BillingRateTieredRate
constructor
A new instance of BillingRateTieredRate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BillingRateTieredRate
Returns a new instance of BillingRateTieredRate.
1637 1638 1639 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high_value ⇒ Fixnum
The maximum for this tier range.
Corresponds to the JSON property highValue
1625 1626 1627 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1625 def high_value @high_value end |
#low_value ⇒ Fixnum
The minimum for this tier range.
Corresponds to the JSON property lowValue
1630 1631 1632 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1630 def low_value @low_value end |
#rate_in_micros ⇒ Fixnum
Rate in micros for this tier.
Corresponds to the JSON property rateInMicros
1635 1636 1637 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1635 def rate_in_micros @rate_in_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1642 1643 1644 1645 1646 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1642 def update!(**args) @high_value = args[:high_value] if args.key?(:high_value) @low_value = args[:low_value] if args.key?(:low_value) @rate_in_micros = args[:rate_in_micros] if args.key?(:rate_in_micros) end |