| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <?php
- /**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category Zend
- * @package Zend_Service
- * @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id$
- */
- /**
- * @see Zend_Service_DeveloperGarden_VoiceButler_VoiceButlerAbstract
- */
- require_once 'Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php';
- /**
- * @category Zend
- * @package Zend_Service
- * @subpackage DeveloperGarden
- * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @author Marco Kaiser
- * @license http://framework.zend.com/license/new-bsd New BSD License
- */
- class Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- extends Zend_Service_DeveloperGarden_Request_VoiceButler_VoiceButlerAbstract
- {
- /**
- * the first number to be called
- *
- * @var string
- */
- public $aNumber = null;
- /**
- * the second number to be called
- *
- * @var string
- */
- public $bNumber = null;
- /**
- * Calling Line Identity Restriction (CLIR) disabled for $aNumber
- *
- * @var boolean
- */
- public $privacyA = null;
- /**
- * Calling Line Identity Restriction (CLIR) disabled for $bNumber
- *
- * @var boolean
- */
- public $privacyB = null;
- /**
- * time in seconds to wait for $aNumber
- *
- * @var integer
- */
- public $expiration = null;
- /**
- * max duration for this call in seconds
- *
- * @var integer
- */
- public $maxDuration = null;
- /**
- * param not used right now
- *
- * @var string
- */
- public $greeter = null;
- /**
- * Account Id which will be pay for this call
- *
- * @var integer
- */
- public $account = null;
- /**
- * @return string
- */
- public function getANumber()
- {
- return $this->aNumber;
- }
- /**
- * @param string $aNumber
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setANumber($aNumber)
- {
- $this->aNumber = $aNumber;
- return $this;
- }
- /**
- * @return string
- */
- public function getBNumber()
- {
- return $this->bNumber;
- }
- /**
- * @param string $bNumber
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setBNumber($bNumber)
- {
- $this->bNumber = $bNumber;
- return $this;
- }
- /**
- * @return boolean
- */
- public function getPrivacyA()
- {
- return $this->privacyA;
- }
- /**
- * @param boolean $privacyA
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setPrivacyA($privacyA)
- {
- $this->privacyA = $privacyA;
- return $this;
- }
- /**
- * @return boolean
- */
- public function getPrivacyB()
- {
- return $this->privacyB;
- }
- /**
- * @param boolean $privacyB
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setPrivacyB($privacyB)
- {
- $this->privacyB = $privacyB;
- return $this;
- }
- /**
- * @return integer
- */
- public function getExpiration()
- {
- return $this->expiration;
- }
- /**
- * @param integer $expiration
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setExpiration($expiration)
- {
- $this->expiration = $expiration;
- return $this;
- }
- /**
- * @return integer
- */
- public function getMaxDuration()
- {
- return $this->maxDuration;
- }
- /**
- * @param integer $maxDuration
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setMaxDuration($maxDuration)
- {
- $this->maxDuration = $maxDuration;
- return $this;
- }
- /**
- * @return string
- */
- public function getGreeter()
- {
- return $this->greeter;
- }
- /**
- * @param string $greeter
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setGreeter($greeter)
- {
- $this->greeter = $greeter;
- return $this;
- }
- /**
- * @return string
- */
- public function getAccount()
- {
- return $this->account;
- }
- /**
- * @param integer $account
- * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
- */
- public function setAccount($account)
- {
- $this->account = $account;
- return $this;
- }
- }
|