Class: Google::Apis::DisplayvideoV1::BudgetSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb

Overview

Represents a summarized budget information associated with this invoice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BudgetSummary

Returns a new instance of BudgetSummary.



1414
1415
1416
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1414

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#external_budget_idString

Output only. External budget id. Corresponds to the JSON property externalBudgetId

Returns:

  • (String)


1385
1386
1387
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1385

def external_budget_id
  @external_budget_id
end

#pre_tax_amount_microsFixnum

Output only. The pre-tax amount for this budget, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar. Corresponds to the JSON property preTaxAmountMicros

Returns:

  • (Fixnum)


1392
1393
1394
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1392

def pre_tax_amount_micros
  @pre_tax_amount_micros
end

#prisma_cpe_codeGoogle::Apis::DisplayvideoV1::PrismaCpeCode

Google Payments Center supports searching and filtering on the component fields of this code. Corresponds to the JSON property prismaCpeCode



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

def prisma_cpe_code
  @prisma_cpe_code
end

#tax_amount_microsFixnum

Output only. The tax amount for this budget, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar. Corresponds to the JSON property taxAmountMicros

Returns:

  • (Fixnum)


1405
1406
1407
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1405

def tax_amount_micros
  @tax_amount_micros
end

#total_amount_microsFixnum

Output only. The total amount of charges for this budget, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar. Corresponds to the JSON property totalAmountMicros

Returns:

  • (Fixnum)


1412
1413
1414
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1412

def total_amount_micros
  @total_amount_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1419
1420
1421
1422
1423
1424
1425
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1419

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