Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary
- 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 adjustment information associated with an account.
Instance Attribute Summary collapse
-
#adjustment_description ⇒ String
Output only.
-
#amount_micros ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary
constructor
A new instance of GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary
Returns a new instance of GoogleAdsSearchads360V23ResourcesInvoiceAdjustmentSummary.
17319 17320 17321 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adjustment_description ⇒ String
Output only. The description of the adjustment. Example: Incentive Adjustment,
discount.
Corresponds to the JSON property adjustmentDescription
17311 17312 17313 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17311 def adjustment_description @adjustment_description end |
#amount_micros ⇒ Fixnum
Output only. The amount of the adjustment, in micros. The currency code for
this amount is the same as the Invoice.currency_code.
Corresponds to the JSON property amountMicros
17317 17318 17319 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17317 def amount_micros @amount_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17324 17325 17326 17327 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17324 def update!(**args) @adjustment_description = args[:adjustment_description] if args.key?(:adjustment_description) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) end |