Class: Google::Apis::DisplayvideoV3::BudgetSummary
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::BudgetSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Summarized information of an individual campaign budget.
Instance Attribute Summary collapse
-
#external_budget_id ⇒ String
Corresponds to the external_budget_id of a campaign budget.
-
#pre_tax_amount_micros ⇒ Fixnum
The sum of charges made under this budget before taxes, in micros of the invoice's currency.
-
#prisma_cpe_code ⇒ Google::Apis::DisplayvideoV3::PrismaCpeCode
Google Payments Center supports searching and filtering on the component fields of this code.
-
#tax_amount_micros ⇒ Fixnum
The amount of tax applied to charges under this budget, in micros of the invoice's currency.
-
#total_amount_micros ⇒ Fixnum
The total sum of charges made under this budget, including tax, in micros of the invoice's currency.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BudgetSummary
constructor
A new instance of BudgetSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BudgetSummary
Returns a new instance of BudgetSummary.
2216 2217 2218 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#external_budget_id ⇒ String
Corresponds to the external_budget_id of a campaign budget. If the value is
not set in the campaign budget, this field will be empty.
Corresponds to the JSON property externalBudgetId
2187 2188 2189 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2187 def external_budget_id @external_budget_id end |
#pre_tax_amount_micros ⇒ Fixnum
The sum of charges made under this budget before taxes, in micros of the
invoice's currency. For example, if currency_code is USD
, then 1000000
represents one US dollar.
Corresponds to the JSON property preTaxAmountMicros
2194 2195 2196 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2194 def pre_tax_amount_micros @pre_tax_amount_micros end |
#prisma_cpe_code ⇒ Google::Apis::DisplayvideoV3::PrismaCpeCode
Google Payments Center supports searching and filtering on the component
fields of this code.
Corresponds to the JSON property prismaCpeCode
2200 2201 2202 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2200 def prisma_cpe_code @prisma_cpe_code end |
#tax_amount_micros ⇒ Fixnum
The amount of tax applied to charges under this budget, in micros of the
invoice's currency. For example, if currency_code is USD
, then 1000000
represents one US dollar.
Corresponds to the JSON property taxAmountMicros
2207 2208 2209 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2207 def tax_amount_micros @tax_amount_micros end |
#total_amount_micros ⇒ Fixnum
The total sum of charges made under this budget, including tax, in micros of
the invoice's currency. For example, if currency_code is USD
, then 1000000
represents one US dollar.
Corresponds to the JSON property totalAmountMicros
2214 2215 2216 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2214 def total_amount_micros @total_amount_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2221 2222 2223 2224 2225 2226 2227 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2221 def update!(**args) @external_budget_id = args[:external_budget_id] if args.key?(:external_budget_id) @pre_tax_amount_micros = args[:pre_tax_amount_micros] if args.key?(:pre_tax_amount_micros) @prisma_cpe_code = args[:prisma_cpe_code] if args.key?(:prisma_cpe_code) @tax_amount_micros = args[:tax_amount_micros] if args.key?(:tax_amount_micros) @total_amount_micros = args[:total_amount_micros] if args.key?(:total_amount_micros) end |