| 1 | # Copyright 2026, Google LLC | ||
| 2 | # | ||
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | # you may not use this file except in compliance with the License. | ||
| 5 | # You may obtain a copy of the License at | ||
| 6 | # | ||
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | # | ||
| 9 | # Unless required by applicable law or agreed to in writing, software | ||
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | # See the License for the specific language governing permissions and | ||
| 13 | # limitations under the License. | ||
| 14 | |||
| 15 | package Google::Ads::GoogleAds::V25::Resources::AccountSummary; | ||
| 16 | |||
| 17 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use base qw(Google::Ads::GoogleAds::BaseEntity); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | my ($class, $args) = @_; | |
| 25 | my $self = { | ||
| 26 | adjustmentSummaries => $args->{adjustmentSummaries}, | ||
| 27 | billingCorrectionSubtotalAmountMicros => $args->{billingCorrectionSubtotalAmountMicros}, | ||
| 28 | billingCorrectionTaxAmountMicros => $args->{billingCorrectionTaxAmountMicros}, | ||
| 29 | billingCorrectionTotalAmountMicros => $args->{billingCorrectionTotalAmountMicros}, | ||
| 30 | couponAdjustmentSubtotalAmountMicros => $args->{couponAdjustmentSubtotalAmountMicros}, | ||
| 31 | couponAdjustmentTaxAmountMicros => $args->{couponAdjustmentTaxAmountMicros}, | ||
| 32 | couponAdjustmentTotalAmountMicros => $args->{couponAdjustmentTotalAmountMicros}, | ||
| 33 | customer => $args->{customer}, | ||
| 34 | excessCreditAdjustmentSubtotalAmountMicros => $args->{excessCreditAdjustmentSubtotalAmountMicros}, | ||
| 35 | excessCreditAdjustmentTaxAmountMicros => $args->{excessCreditAdjustmentTaxAmountMicros}, | ||
| 36 | excessCreditAdjustmentTotalAmountMicros => $args->{excessCreditAdjustmentTotalAmountMicros}, | ||
| 37 | exportChargeSubtotalAmountMicros => $args->{exportChargeSubtotalAmountMicros}, | ||
| 38 | exportChargeTaxAmountMicros => $args->{exportChargeTaxAmountMicros}, | ||
| 39 | exportChargeTotalAmountMicros => $args->{exportChargeTotalAmountMicros}, | ||
| 40 | regulatoryCostSummaries => $args->{regulatoryCostSummaries}, | ||
| 41 | regulatoryCostsSubtotalAmountMicros => $args->{regulatoryCostsSubtotalAmountMicros}, | ||
| 42 | regulatoryCostsTaxAmountMicros => $args->{regulatoryCostsTaxAmountMicros}, | ||
| 43 | regulatoryCostsTotalAmountMicros => $args->{regulatoryCostsTotalAmountMicros}, | ||
| 44 | subtotalAmountMicros => $args->{subtotalAmountMicros}, | ||
| 45 | taxAmountMicros => $args->{taxAmountMicros}, | ||
| 46 | totalAmountMicros => $args->{totalAmountMicros} | ||
| 47 | 0 | }; | |
| 48 | |||
| 49 | # Delete the unassigned fields in this object for a more concise JSON payload | ||
| 50 | 0 | remove_unassigned_fields($self, $args); | |
| 51 | |||
| 52 | 0 | bless $self, $class; | |
| 53 | 0 | return $self; | |
| 54 | } | ||
| 55 | |||
| 56 | 1 | 1; | |