📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Adsense
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Account.php
▶ Open 📄 View Source
🐘 AdBlockingRecoveryTag.php
▶ Open 📄 View Source
🐘 AdClient.php
▶ Open 📄 View Source
🐘 AdClientAdCode.php
▶ Open 📄 View Source
🐘 AdUnit.php
▶ Open 📄 View Source
🐘 AdUnitAdCode.php
▶ Open 📄 View Source
🐘 AdsenseEmpty.php
▶ Open 📄 View Source
🐘 Alert.php
▶ Open 📄 View Source
🐘 Cell.php
▶ Open 📄 View Source
🐘 ContentAdsSettings.php
▶ Open 📄 View Source
🐘 CustomChannel.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 Header.php
▶ Open 📄 View Source
🐘 HttpBody.php
▶ Open 📄 View Source
🐘 ListAccountsResponse.php
▶ Open 📄 View Source
🐘 ListAdClientsResponse.php
▶ Open 📄 View Source
🐘 ListAdUnitsResponse.php
▶ Open 📄 View Source
🐘 ListAlertsResponse.php
▶ Open 📄 View Source
🐘 ListChildAccountsResponse.php
▶ Open 📄 View Source
🐘 ListCustomChannelsResponse.php
▶ Open 📄 View Source
🐘 ListLinkedAdUnitsResponse.php
▶ Open 📄 View Source
🐘 ListLinkedCustomChannelsResponse.php
▶ Open 📄 View Source
🐘 ListPaymentsResponse.php
▶ Open 📄 View Source
🐘 ListPolicyIssuesResponse.php
▶ Open 📄 View Source
🐘 ListSavedReportsResponse.php
▶ Open 📄 View Source
🐘 ListSitesResponse.php
▶ Open 📄 View Source
🐘 ListUrlChannelsResponse.php
▶ Open 📄 View Source
🐘 Payment.php
▶ Open 📄 View Source
🐘 PolicyIssue.php
▶ Open 📄 View Source
🐘 PolicyTopic.php
▶ Open 📄 View Source
🐘 ReportResult.php
▶ Open 📄 View Source
🐘 Row.php
▶ Open 📄 View Source
🐘 SavedReport.php
▶ Open 📄 View Source
🐘 Site.php
▶ Open 📄 View Source
🐘 TimeZone.php
▶ Open 📄 View Source
🐘 UrlChannel.php
▶ Open 📄 View Source

📄 Source: Payment.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Adsense;

class Payment extends \Google\Model
{
  /**
   * Output only. The amount of unpaid or paid earnings, as a formatted string,
   * including the currency. E.g. "¥1,235 JPY", "$1,234.57", "£87.65".
   *
   * @var string
   */
  public $amount;
  protected $dateType = Date::class;
  protected $dateDataType = '';
  /**
   * Output only. Resource name of the payment. Format: -
   * accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. -
   * accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube
   * earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense
   * earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube
   * earnings.
   *
   * @var string
   */
  public $name;

  /**
   * Output only. The amount of unpaid or paid earnings, as a formatted string,
   * including the currency. E.g. "¥1,235 JPY", "$1,234.57", "£87.65".
   *
   * @param string $amount
   */
  public function setAmount($amount)
  {
    $this->amount = $amount;
  }
  /**
   * @return string
   */
  public function getAmount()
  {
    return $this->amount;
  }
  /**
   * Output only. For paid earnings, the date that the payment was credited. For
   * unpaid earnings, this field is empty. Payment dates are always returned in
   * the billing timezone (America/Los_Angeles).
   *
   * @param Date $date
   */
  public function setDate(Date $date)
  {
    $this->date = $date;
  }
  /**
   * @return Date
   */
  public function getDate()
  {
    return $this->date;
  }
  /**
   * Output only. Resource name of the payment. Format: -
   * accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. -
   * accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube
   * earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense
   * earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube
   * earnings.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Payment::class, 'Google_Service_Adsense_Payment');
← Back