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.



17372
17373
17374
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17372

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)


17365
17366
17367
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17365

def amount_micros
  @amount_micros
end

#regulatory_fee_typeString

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

Returns:

  • (String)


17370
17371
17372
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17370

def regulatory_fee_type
  @regulatory_fee_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17377
17378
17379
17380
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17377

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