Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary

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

Overview

Represents regulatory cost information associated with an account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary

Returns a new instance of GoogleAdsSearchads360V23ResourcesInvoiceRegulatoryCostSummary.



17498
17499
17500
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17498

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

Instance Attribute Details

#amount_microsFixnum

Output only. The amount of the regulatory fee, in micros. The currency code for this amount is the same as the Invoice.currency_code. Corresponds to the JSON property amountMicros

Returns:

  • (Fixnum)


17491
17492
17493
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17491

def amount_micros
  @amount_micros
end

#regulatory_fee_typeString

Output only. The type of regulatory fee. Corresponds to the JSON property regulatoryFeeType

Returns:

  • (String)


17496
17497
17498
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17496

def regulatory_fee_type
  @regulatory_fee_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17503
17504
17505
17506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17503

def update!(**args)
  @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
  @regulatory_fee_type = args[:regulatory_fee_type] if args.key?(:regulatory_fee_type)
end