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.
17379 17380 17381 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17379 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
17371 17372 17373 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17371 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
17377 17378 17379 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17377 def amount_micros @amount_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17384 17385 17386 17387 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17384 def update!(**args) @adjustment_description = args[:adjustment_description] if args.key?(:adjustment_description) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) end |