<?php

namespace Google\AdsApi\AdManager\v202602;


/**
 * This file was generated from WSDL. DO NOT EDIT.
 */
class Company
{

    /**
     * @var int $id
     */
    protected $id = null;

    /**
     * @var string $name
     */
    protected $name = null;

    /**
     * @var string $type
     */
    protected $type = null;

    /**
     * @var string $address
     */
    protected $address = null;

    /**
     * @var string $email
     */
    protected $email = null;

    /**
     * @var string $faxPhone
     */
    protected $faxPhone = null;

    /**
     * @var string $primaryPhone
     */
    protected $primaryPhone = null;

    /**
     * @var string $externalId
     */
    protected $externalId = null;

    /**
     * @var string $comment
     */
    protected $comment = null;

    /**
     * @var string $creditStatus
     */
    protected $creditStatus = null;

    /**
     * @var \Google\AdsApi\AdManager\v202602\AppliedLabel[] $appliedLabels
     */
    protected $appliedLabels = null;

    /**
     * @var int $primaryContactId
     */
    protected $primaryContactId = null;

    /**
     * @var int[] $appliedTeamIds
     */
    protected $appliedTeamIds = null;

    /**
     * @var int $thirdPartyCompanyId
     */
    protected $thirdPartyCompanyId = null;

    /**
     * @var int $verifiedExchangeAdvertiserId
     */
    protected $verifiedExchangeAdvertiserId = null;

    /**
     * @var int $verifiedExchangeBrandId
     */
    protected $verifiedExchangeBrandId = null;

    /**
     * @var \Google\AdsApi\AdManager\v202602\DateTime $lastModifiedDateTime
     */
    protected $lastModifiedDateTime = null;

    /**
     * @var \Google\AdsApi\AdManager\v202602\ChildPublisher $childPublisher
     */
    protected $childPublisher = null;

    /**
     * @var \Google\AdsApi\AdManager\v202602\ViewabilityProvider $viewabilityProvider
     */
    protected $viewabilityProvider = null;

    /**
     * @param int $id
     * @param string $name
     * @param string $type
     * @param string $address
     * @param string $email
     * @param string $faxPhone
     * @param string $primaryPhone
     * @param string $externalId
     * @param string $comment
     * @param string $creditStatus
     * @param \Google\AdsApi\AdManager\v202602\AppliedLabel[] $appliedLabels
     * @param int $primaryContactId
     * @param int[] $appliedTeamIds
     * @param int $thirdPartyCompanyId
     * @param int $verifiedExchangeAdvertiserId
     * @param int $verifiedExchangeBrandId
     * @param \Google\AdsApi\AdManager\v202602\DateTime $lastModifiedDateTime
     * @param \Google\AdsApi\AdManager\v202602\ChildPublisher $childPublisher
     * @param \Google\AdsApi\AdManager\v202602\ViewabilityProvider $viewabilityProvider
     */
    public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, array $appliedLabels = null, $primaryContactId = null, array $appliedTeamIds = null, $thirdPartyCompanyId = null, $verifiedExchangeAdvertiserId = null, $verifiedExchangeBrandId = null, $lastModifiedDateTime = null, $childPublisher = null, $viewabilityProvider = null)
    {
      $this->id = $id;
      $this->name = $name;
      $this->type = $type;
      $this->address = $address;
      $this->email = $email;
      $this->faxPhone = $faxPhone;
      $this->primaryPhone = $primaryPhone;
      $this->externalId = $externalId;
      $this->comment = $comment;
      $this->creditStatus = $creditStatus;
      $this->appliedLabels = $appliedLabels;
      $this->primaryContactId = $primaryContactId;
      $this->appliedTeamIds = $appliedTeamIds;
      $this->thirdPartyCompanyId = $thirdPartyCompanyId;
      $this->verifiedExchangeAdvertiserId = $verifiedExchangeAdvertiserId;
      $this->verifiedExchangeBrandId = $verifiedExchangeBrandId;
      $this->lastModifiedDateTime = $lastModifiedDateTime;
      $this->childPublisher = $childPublisher;
      $this->viewabilityProvider = $viewabilityProvider;
    }

    /**
     * @return int
     */
    public function getId()
    {
      return $this->id;
    }

    /**
     * @param int $id
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setId($id)
    {
      $this->id = (!is_null($id) && PHP_INT_SIZE === 4)
          ? floatval($id) : $id;
      return $this;
    }

    /**
     * @return string
     */
    public function getName()
    {
      return $this->name;
    }

    /**
     * @param string $name
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setName($name)
    {
      $this->name = $name;
      return $this;
    }

    /**
     * @return string
     */
    public function getType()
    {
      return $this->type;
    }

    /**
     * @param string $type
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setType($type)
    {
      $this->type = $type;
      return $this;
    }

    /**
     * @return string
     */
    public function getAddress()
    {
      return $this->address;
    }

    /**
     * @param string $address
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setAddress($address)
    {
      $this->address = $address;
      return $this;
    }

    /**
     * @return string
     */
    public function getEmail()
    {
      return $this->email;
    }

    /**
     * @param string $email
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setEmail($email)
    {
      $this->email = $email;
      return $this;
    }

    /**
     * @return string
     */
    public function getFaxPhone()
    {
      return $this->faxPhone;
    }

    /**
     * @param string $faxPhone
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setFaxPhone($faxPhone)
    {
      $this->faxPhone = $faxPhone;
      return $this;
    }

    /**
     * @return string
     */
    public function getPrimaryPhone()
    {
      return $this->primaryPhone;
    }

    /**
     * @param string $primaryPhone
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setPrimaryPhone($primaryPhone)
    {
      $this->primaryPhone = $primaryPhone;
      return $this;
    }

    /**
     * @return string
     */
    public function getExternalId()
    {
      return $this->externalId;
    }

    /**
     * @param string $externalId
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setExternalId($externalId)
    {
      $this->externalId = $externalId;
      return $this;
    }

    /**
     * @return string
     */
    public function getComment()
    {
      return $this->comment;
    }

    /**
     * @param string $comment
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setComment($comment)
    {
      $this->comment = $comment;
      return $this;
    }

    /**
     * @return string
     */
    public function getCreditStatus()
    {
      return $this->creditStatus;
    }

    /**
     * @param string $creditStatus
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setCreditStatus($creditStatus)
    {
      $this->creditStatus = $creditStatus;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdManager\v202602\AppliedLabel[]
     */
    public function getAppliedLabels()
    {
      return $this->appliedLabels;
    }

    /**
     * @param \Google\AdsApi\AdManager\v202602\AppliedLabel[]|null $appliedLabels
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setAppliedLabels(array $appliedLabels = null)
    {
      $this->appliedLabels = $appliedLabels;
      return $this;
    }

    /**
     * @return int
     */
    public function getPrimaryContactId()
    {
      return $this->primaryContactId;
    }

    /**
     * @param int $primaryContactId
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setPrimaryContactId($primaryContactId)
    {
      $this->primaryContactId = (!is_null($primaryContactId) && PHP_INT_SIZE === 4)
          ? floatval($primaryContactId) : $primaryContactId;
      return $this;
    }

    /**
     * @return int[]
     */
    public function getAppliedTeamIds()
    {
      return $this->appliedTeamIds;
    }

    /**
     * @param int[]|null $appliedTeamIds
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setAppliedTeamIds(array $appliedTeamIds = null)
    {
      $this->appliedTeamIds = $appliedTeamIds;
      return $this;
    }

    /**
     * @return int
     */
    public function getThirdPartyCompanyId()
    {
      return $this->thirdPartyCompanyId;
    }

    /**
     * @param int $thirdPartyCompanyId
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setThirdPartyCompanyId($thirdPartyCompanyId)
    {
      $this->thirdPartyCompanyId = $thirdPartyCompanyId;
      return $this;
    }

    /**
     * @return int
     */
    public function getVerifiedExchangeAdvertiserId()
    {
      return $this->verifiedExchangeAdvertiserId;
    }

    /**
     * @param int $verifiedExchangeAdvertiserId
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setVerifiedExchangeAdvertiserId($verifiedExchangeAdvertiserId)
    {
      $this->verifiedExchangeAdvertiserId = (!is_null($verifiedExchangeAdvertiserId) && PHP_INT_SIZE === 4)
          ? floatval($verifiedExchangeAdvertiserId) : $verifiedExchangeAdvertiserId;
      return $this;
    }

    /**
     * @return int
     */
    public function getVerifiedExchangeBrandId()
    {
      return $this->verifiedExchangeBrandId;
    }

    /**
     * @param int $verifiedExchangeBrandId
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setVerifiedExchangeBrandId($verifiedExchangeBrandId)
    {
      $this->verifiedExchangeBrandId = (!is_null($verifiedExchangeBrandId) && PHP_INT_SIZE === 4)
          ? floatval($verifiedExchangeBrandId) : $verifiedExchangeBrandId;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdManager\v202602\DateTime
     */
    public function getLastModifiedDateTime()
    {
      return $this->lastModifiedDateTime;
    }

    /**
     * @param \Google\AdsApi\AdManager\v202602\DateTime $lastModifiedDateTime
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setLastModifiedDateTime($lastModifiedDateTime)
    {
      $this->lastModifiedDateTime = $lastModifiedDateTime;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdManager\v202602\ChildPublisher
     */
    public function getChildPublisher()
    {
      return $this->childPublisher;
    }

    /**
     * @param \Google\AdsApi\AdManager\v202602\ChildPublisher $childPublisher
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setChildPublisher($childPublisher)
    {
      $this->childPublisher = $childPublisher;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdManager\v202602\ViewabilityProvider
     */
    public function getViewabilityProvider()
    {
      return $this->viewabilityProvider;
    }

    /**
     * @param \Google\AdsApi\AdManager\v202602\ViewabilityProvider $viewabilityProvider
     * @return \Google\AdsApi\AdManager\v202602\Company
     */
    public function setViewabilityProvider($viewabilityProvider)
    {
      $this->viewabilityProvider = $viewabilityProvider;
      return $this;
    }

}
