Class: Google::Apis::DfareportingV5::BillingRateTieredRate
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::BillingRateTieredRate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/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.
1583 1584 1585 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 1583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high_value ⇒ Fixnum
The maximum for this tier range.
Corresponds to the JSON property highValue
1571 1572 1573 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 1571 def high_value @high_value end |
#low_value ⇒ Fixnum
The minimum for this tier range.
Corresponds to the JSON property lowValue
1576 1577 1578 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 1576 def low_value @low_value end |
#rate_in_micros ⇒ Fixnum
Rate in micros for this tier.
Corresponds to the JSON property rateInMicros
1581 1582 1583 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 1581 def rate_in_micros @rate_in_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1588 1589 1590 1591 1592 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 1588 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 |