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.
17253 17254 17255 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17253 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
17245 17246 17247 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17245 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
17251 17252 17253 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17251 def amount_micros @amount_micros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17258 17259 17260 17261 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17258 def update!(**args) @adjustment_description = args[:adjustment_description] if args.key?(:adjustment_description) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) end |