<?php
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v24/resources/invoice.proto

namespace Google\Ads\GoogleAds\V24\Resources\Invoice;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Represents a summarized account budget billable cost.
 *
 * Generated from protobuf message <code>google.ads.googleads.v24.resources.Invoice.AccountBudgetSummary</code>
 */
class AccountBudgetSummary extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The resource name of the customer associated with this
     * account budget. This contains the customer ID, which appears on the
     * invoice PDF as "Account ID". Customer resource names have the form:
     * `customers/{customer_id}`
     *
     * Generated from protobuf field <code>optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $customer = null;
    /**
     * Output only. The descriptive name of the account budget's customer. It
     * appears on the invoice PDF as "Account".
     *
     * Generated from protobuf field <code>optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $customer_descriptive_name = null;
    /**
     * Output only. The resource name of the account budget associated with this
     * summarized billable cost. AccountBudget resource names have the form:
     * `customers/{customer_id}/accountBudgets/{account_budget_id}`
     *
     * Generated from protobuf field <code>optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $account_budget = null;
    /**
     * Output only. The name of the account budget. It appears on the invoice
     * PDF as "Account budget".
     *
     * Generated from protobuf field <code>optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $account_budget_name = null;
    /**
     * Output only. The purchase order number of the account budget. It appears
     * on the invoice PDF as "Purchase order".
     *
     * Generated from protobuf field <code>optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $purchase_order_number = null;
    /**
     * Output only. The pretax subtotal amount attributable to this budget
     * during the service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $subtotal_amount_micros = null;
    /**
     * Output only. The tax amount attributable to this budget during the
     * service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $tax_amount_micros = null;
    /**
     * Output only. The total amount attributable to this budget during the
     * service period, in micros. This equals the sum of the account budget
     * subtotal amount and the account budget tax amount.
     *
     * Generated from protobuf field <code>optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $total_amount_micros = null;
    /**
     * Output only. The billable activity date range of the account budget,
     * within the service date range of this invoice. The end date is inclusive.
     * This can be different from the account budget's start and end time.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $billable_activity_date_range = null;
    /**
     * Output only. The pretax served amount attributable to this budget during
     * the service period, in micros. This is only useful to reconcile invoice
     * and delivery data.
     *
     * Generated from protobuf field <code>optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $served_amount_micros = null;
    /**
     * Output only. The pretax billed amount attributable to this budget during
     * the service period, in micros. This does not account for any adjustments.
     *
     * Generated from protobuf field <code>optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $billed_amount_micros = null;
    /**
     * Output only. The pretax overdelivery amount attributable to this budget
     * during the service period, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $overdelivery_amount_micros = null;
    /**
     * Output only. The pretax invalid activity amount attributable to this
     * budget in previous months, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $invalid_activity_amount_micros = null;
    /**
     * Output only. The list of summarized invalid activity credits with
     * original linkages.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $invalid_activity_summaries;
    /**
     * Output only. The list of summarized campaign level information associated
     * with this account budget.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.CampaignSummary campaign_summaries = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $campaign_summaries;

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type string $customer
     *           Output only. The resource name of the customer associated with this
     *           account budget. This contains the customer ID, which appears on the
     *           invoice PDF as "Account ID". Customer resource names have the form:
     *           `customers/{customer_id}`
     * @type string $customer_descriptive_name
     *           Output only. The descriptive name of the account budget's customer. It
     *           appears on the invoice PDF as "Account".
     * @type string $account_budget
     *           Output only. The resource name of the account budget associated with this
     *           summarized billable cost. AccountBudget resource names have the form:
     *           `customers/{customer_id}/accountBudgets/{account_budget_id}`
     * @type string $account_budget_name
     *           Output only. The name of the account budget. It appears on the invoice
     *           PDF as "Account budget".
     * @type string $purchase_order_number
     *           Output only. The purchase order number of the account budget. It appears
     *           on the invoice PDF as "Purchase order".
     * @type int|string $subtotal_amount_micros
     *           Output only. The pretax subtotal amount attributable to this budget
     *           during the service period, in micros.
     * @type int|string $tax_amount_micros
     *           Output only. The tax amount attributable to this budget during the
     *           service period, in micros.
     * @type int|string $total_amount_micros
     *           Output only. The total amount attributable to this budget during the
     *           service period, in micros. This equals the sum of the account budget
     *           subtotal amount and the account budget tax amount.
     * @type \Google\Ads\GoogleAds\V24\Common\DateRange $billable_activity_date_range
     *           Output only. The billable activity date range of the account budget,
     *           within the service date range of this invoice. The end date is inclusive.
     *           This can be different from the account budget's start and end time.
     * @type int|string $served_amount_micros
     *           Output only. The pretax served amount attributable to this budget during
     *           the service period, in micros. This is only useful to reconcile invoice
     *           and delivery data.
     * @type int|string $billed_amount_micros
     *           Output only. The pretax billed amount attributable to this budget during
     *           the service period, in micros. This does not account for any adjustments.
     * @type int|string $overdelivery_amount_micros
     *           Output only. The pretax overdelivery amount attributable to this budget
     *           during the service period, in micros (negative value).
     * @type int|string $invalid_activity_amount_micros
     *           Output only. The pretax invalid activity amount attributable to this
     *           budget in previous months, in micros (negative value).
     * @type \Google\Ads\GoogleAds\V24\Resources\Invoice\InvalidActivitySummary[] $invalid_activity_summaries
     *           Output only. The list of summarized invalid activity credits with
     *           original linkages.
     * @type \Google\Ads\GoogleAds\V24\Resources\Invoice\CampaignSummary[] $campaign_summaries
     *           Output only. The list of summarized campaign level information associated
     *           with this account budget.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V24\Resources\Invoice::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The resource name of the customer associated with this
     * account budget. This contains the customer ID, which appears on the
     * invoice PDF as "Account ID". Customer resource names have the form:
     * `customers/{customer_id}`
     *
     * Generated from protobuf field <code>optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return string
     */
    public function getCustomer()
    {
        return isset($this->customer) ? $this->customer : '';
    }

    public function hasCustomer()
    {
        return isset($this->customer);
    }

    public function clearCustomer()
    {
        unset($this->customer);
    }

    /**
     * Output only. The resource name of the customer associated with this
     * account budget. This contains the customer ID, which appears on the
     * invoice PDF as "Account ID". Customer resource names have the form:
     * `customers/{customer_id}`
     *
     * Generated from protobuf field <code>optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setCustomer($var)
    {
        GPBUtil::checkString($var, true);
        $this->customer = $var;

        return $this;
    }

    /**
     * Output only. The descriptive name of the account budget's customer. It
     * appears on the invoice PDF as "Account".
     *
     * Generated from protobuf field <code>optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return string
     */
    public function getCustomerDescriptiveName()
    {
        return isset($this->customer_descriptive_name) ? $this->customer_descriptive_name : '';
    }

    public function hasCustomerDescriptiveName()
    {
        return isset($this->customer_descriptive_name);
    }

    public function clearCustomerDescriptiveName()
    {
        unset($this->customer_descriptive_name);
    }

    /**
     * Output only. The descriptive name of the account budget's customer. It
     * appears on the invoice PDF as "Account".
     *
     * Generated from protobuf field <code>optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setCustomerDescriptiveName($var)
    {
        GPBUtil::checkString($var, true);
        $this->customer_descriptive_name = $var;

        return $this;
    }

    /**
     * Output only. The resource name of the account budget associated with this
     * summarized billable cost. AccountBudget resource names have the form:
     * `customers/{customer_id}/accountBudgets/{account_budget_id}`
     *
     * Generated from protobuf field <code>optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return string
     */
    public function getAccountBudget()
    {
        return isset($this->account_budget) ? $this->account_budget : '';
    }

    public function hasAccountBudget()
    {
        return isset($this->account_budget);
    }

    public function clearAccountBudget()
    {
        unset($this->account_budget);
    }

    /**
     * Output only. The resource name of the account budget associated with this
     * summarized billable cost. AccountBudget resource names have the form:
     * `customers/{customer_id}/accountBudgets/{account_budget_id}`
     *
     * Generated from protobuf field <code>optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setAccountBudget($var)
    {
        GPBUtil::checkString($var, true);
        $this->account_budget = $var;

        return $this;
    }

    /**
     * Output only. The name of the account budget. It appears on the invoice
     * PDF as "Account budget".
     *
     * Generated from protobuf field <code>optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return string
     */
    public function getAccountBudgetName()
    {
        return isset($this->account_budget_name) ? $this->account_budget_name : '';
    }

    public function hasAccountBudgetName()
    {
        return isset($this->account_budget_name);
    }

    public function clearAccountBudgetName()
    {
        unset($this->account_budget_name);
    }

    /**
     * Output only. The name of the account budget. It appears on the invoice
     * PDF as "Account budget".
     *
     * Generated from protobuf field <code>optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setAccountBudgetName($var)
    {
        GPBUtil::checkString($var, true);
        $this->account_budget_name = $var;

        return $this;
    }

    /**
     * Output only. The purchase order number of the account budget. It appears
     * on the invoice PDF as "Purchase order".
     *
     * Generated from protobuf field <code>optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return string
     */
    public function getPurchaseOrderNumber()
    {
        return isset($this->purchase_order_number) ? $this->purchase_order_number : '';
    }

    public function hasPurchaseOrderNumber()
    {
        return isset($this->purchase_order_number);
    }

    public function clearPurchaseOrderNumber()
    {
        unset($this->purchase_order_number);
    }

    /**
     * Output only. The purchase order number of the account budget. It appears
     * on the invoice PDF as "Purchase order".
     *
     * Generated from protobuf field <code>optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setPurchaseOrderNumber($var)
    {
        GPBUtil::checkString($var, true);
        $this->purchase_order_number = $var;

        return $this;
    }

    /**
     * Output only. The pretax subtotal amount attributable to this budget
     * during the service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getSubtotalAmountMicros()
    {
        return isset($this->subtotal_amount_micros) ? $this->subtotal_amount_micros : 0;
    }

    public function hasSubtotalAmountMicros()
    {
        return isset($this->subtotal_amount_micros);
    }

    public function clearSubtotalAmountMicros()
    {
        unset($this->subtotal_amount_micros);
    }

    /**
     * Output only. The pretax subtotal amount attributable to this budget
     * during the service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setSubtotalAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->subtotal_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The tax amount attributable to this budget during the
     * service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getTaxAmountMicros()
    {
        return isset($this->tax_amount_micros) ? $this->tax_amount_micros : 0;
    }

    public function hasTaxAmountMicros()
    {
        return isset($this->tax_amount_micros);
    }

    public function clearTaxAmountMicros()
    {
        unset($this->tax_amount_micros);
    }

    /**
     * Output only. The tax amount attributable to this budget during the
     * service period, in micros.
     *
     * Generated from protobuf field <code>optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setTaxAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->tax_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The total amount attributable to this budget during the
     * service period, in micros. This equals the sum of the account budget
     * subtotal amount and the account budget tax amount.
     *
     * Generated from protobuf field <code>optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getTotalAmountMicros()
    {
        return isset($this->total_amount_micros) ? $this->total_amount_micros : 0;
    }

    public function hasTotalAmountMicros()
    {
        return isset($this->total_amount_micros);
    }

    public function clearTotalAmountMicros()
    {
        unset($this->total_amount_micros);
    }

    /**
     * Output only. The total amount attributable to this budget during the
     * service period, in micros. This equals the sum of the account budget
     * subtotal amount and the account budget tax amount.
     *
     * Generated from protobuf field <code>optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setTotalAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->total_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The billable activity date range of the account budget,
     * within the service date range of this invoice. The end date is inclusive.
     * This can be different from the account budget's start and end time.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return \Google\Ads\GoogleAds\V24\Common\DateRange|null
     */
    public function getBillableActivityDateRange()
    {
        return $this->billable_activity_date_range;
    }

    public function hasBillableActivityDateRange()
    {
        return isset($this->billable_activity_date_range);
    }

    public function clearBillableActivityDateRange()
    {
        unset($this->billable_activity_date_range);
    }

    /**
     * Output only. The billable activity date range of the account budget,
     * within the service date range of this invoice. The end date is inclusive.
     * This can be different from the account budget's start and end time.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  \Google\Ads\GoogleAds\V24\Common\DateRange $var
     * @return $this
     */
    public function setBillableActivityDateRange($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V24\Common\DateRange::class);
        $this->billable_activity_date_range = $var;

        return $this;
    }

    /**
     * Output only. The pretax served amount attributable to this budget during
     * the service period, in micros. This is only useful to reconcile invoice
     * and delivery data.
     *
     * Generated from protobuf field <code>optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getServedAmountMicros()
    {
        return isset($this->served_amount_micros) ? $this->served_amount_micros : 0;
    }

    public function hasServedAmountMicros()
    {
        return isset($this->served_amount_micros);
    }

    public function clearServedAmountMicros()
    {
        unset($this->served_amount_micros);
    }

    /**
     * Output only. The pretax served amount attributable to this budget during
     * the service period, in micros. This is only useful to reconcile invoice
     * and delivery data.
     *
     * Generated from protobuf field <code>optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setServedAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->served_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The pretax billed amount attributable to this budget during
     * the service period, in micros. This does not account for any adjustments.
     *
     * Generated from protobuf field <code>optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getBilledAmountMicros()
    {
        return isset($this->billed_amount_micros) ? $this->billed_amount_micros : 0;
    }

    public function hasBilledAmountMicros()
    {
        return isset($this->billed_amount_micros);
    }

    public function clearBilledAmountMicros()
    {
        unset($this->billed_amount_micros);
    }

    /**
     * Output only. The pretax billed amount attributable to this budget during
     * the service period, in micros. This does not account for any adjustments.
     *
     * Generated from protobuf field <code>optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setBilledAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->billed_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The pretax overdelivery amount attributable to this budget
     * during the service period, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getOverdeliveryAmountMicros()
    {
        return isset($this->overdelivery_amount_micros) ? $this->overdelivery_amount_micros : 0;
    }

    public function hasOverdeliveryAmountMicros()
    {
        return isset($this->overdelivery_amount_micros);
    }

    public function clearOverdeliveryAmountMicros()
    {
        unset($this->overdelivery_amount_micros);
    }

    /**
     * Output only. The pretax overdelivery amount attributable to this budget
     * during the service period, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setOverdeliveryAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->overdelivery_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The pretax invalid activity amount attributable to this
     * budget in previous months, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getInvalidActivityAmountMicros()
    {
        return isset($this->invalid_activity_amount_micros) ? $this->invalid_activity_amount_micros : 0;
    }

    public function hasInvalidActivityAmountMicros()
    {
        return isset($this->invalid_activity_amount_micros);
    }

    public function clearInvalidActivityAmountMicros()
    {
        unset($this->invalid_activity_amount_micros);
    }

    /**
     * Output only. The pretax invalid activity amount attributable to this
     * budget in previous months, in micros (negative value).
     *
     * Generated from protobuf field <code>optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setInvalidActivityAmountMicros($var)
    {
        GPBUtil::checkInt64($var);
        $this->invalid_activity_amount_micros = $var;

        return $this;
    }

    /**
     * Output only. The list of summarized invalid activity credits with
     * original linkages.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return RepeatedField<\Google\Ads\GoogleAds\V24\Resources\Invoice\InvalidActivitySummary>
     */
    public function getInvalidActivitySummaries()
    {
        return $this->invalid_activity_summaries;
    }

    /**
     * Output only. The list of summarized invalid activity credits with
     * original linkages.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  \Google\Ads\GoogleAds\V24\Resources\Invoice\InvalidActivitySummary[] $var
     * @return $this
     */
    public function setInvalidActivitySummaries($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V24\Resources\Invoice\InvalidActivitySummary::class);
        $this->invalid_activity_summaries = $arr;

        return $this;
    }

    /**
     * Output only. The list of summarized campaign level information associated
     * with this account budget.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.CampaignSummary campaign_summaries = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return RepeatedField<\Google\Ads\GoogleAds\V24\Resources\Invoice\CampaignSummary>
     */
    public function getCampaignSummaries()
    {
        return $this->campaign_summaries;
    }

    /**
     * Output only. The list of summarized campaign level information associated
     * with this account budget.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v24.resources.Invoice.CampaignSummary campaign_summaries = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  \Google\Ads\GoogleAds\V24\Resources\Invoice\CampaignSummary[] $var
     * @return $this
     */
    public function setCampaignSummaries($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V24\Resources\Invoice\CampaignSummary::class);
        $this->campaign_summaries = $arr;

        return $this;
    }

}

