NewCall.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Service
  17. * @subpackage DeveloperGarden
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * @see Zend_Service_DeveloperGarden_VoiceButler_VoiceButlerAbstract
  24. */
  25. require_once 'Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php';
  26. /**
  27. * @category Zend
  28. * @package Zend_Service
  29. * @subpackage DeveloperGarden
  30. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  31. * @author Marco Kaiser
  32. * @license http://framework.zend.com/license/new-bsd New BSD License
  33. */
  34. class Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  35. extends Zend_Service_DeveloperGarden_Request_VoiceButler_VoiceButlerAbstract
  36. {
  37. /**
  38. * the first number to be called
  39. *
  40. * @var string
  41. */
  42. public $aNumber = null;
  43. /**
  44. * the second number to be called
  45. *
  46. * @var string
  47. */
  48. public $bNumber = null;
  49. /**
  50. * Calling Line Identity Restriction (CLIR) disabled for $aNumber
  51. *
  52. * @var boolean
  53. */
  54. public $privacyA = null;
  55. /**
  56. * Calling Line Identity Restriction (CLIR) disabled for $bNumber
  57. *
  58. * @var boolean
  59. */
  60. public $privacyB = null;
  61. /**
  62. * time in seconds to wait for $aNumber
  63. *
  64. * @var integer
  65. */
  66. public $expiration = null;
  67. /**
  68. * max duration for this call in seconds
  69. *
  70. * @var integer
  71. */
  72. public $maxDuration = null;
  73. /**
  74. * param not used right now
  75. *
  76. * @var string
  77. */
  78. public $greeter = null;
  79. /**
  80. * Account Id which will be pay for this call
  81. *
  82. * @var integer
  83. */
  84. public $account = null;
  85. /**
  86. * @return string
  87. */
  88. public function getANumber()
  89. {
  90. return $this->aNumber;
  91. }
  92. /**
  93. * @param string $aNumber
  94. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  95. */
  96. public function setANumber($aNumber)
  97. {
  98. $this->aNumber = $aNumber;
  99. return $this;
  100. }
  101. /**
  102. * @return string
  103. */
  104. public function getBNumber()
  105. {
  106. return $this->bNumber;
  107. }
  108. /**
  109. * @param string $bNumber
  110. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  111. */
  112. public function setBNumber($bNumber)
  113. {
  114. $this->bNumber = $bNumber;
  115. return $this;
  116. }
  117. /**
  118. * @return boolean
  119. */
  120. public function getPrivacyA()
  121. {
  122. return $this->privacyA;
  123. }
  124. /**
  125. * @param boolean $privacyA
  126. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  127. */
  128. public function setPrivacyA($privacyA)
  129. {
  130. $this->privacyA = $privacyA;
  131. return $this;
  132. }
  133. /**
  134. * @return boolean
  135. */
  136. public function getPrivacyB()
  137. {
  138. return $this->privacyB;
  139. }
  140. /**
  141. * @param boolean $privacyB
  142. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  143. */
  144. public function setPrivacyB($privacyB)
  145. {
  146. $this->privacyB = $privacyB;
  147. return $this;
  148. }
  149. /**
  150. * @return integer
  151. */
  152. public function getExpiration()
  153. {
  154. return $this->expiration;
  155. }
  156. /**
  157. * @param integer $expiration
  158. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  159. */
  160. public function setExpiration($expiration)
  161. {
  162. $this->expiration = $expiration;
  163. return $this;
  164. }
  165. /**
  166. * @return integer
  167. */
  168. public function getMaxDuration()
  169. {
  170. return $this->maxDuration;
  171. }
  172. /**
  173. * @param integer $maxDuration
  174. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  175. */
  176. public function setMaxDuration($maxDuration)
  177. {
  178. $this->maxDuration = $maxDuration;
  179. return $this;
  180. }
  181. /**
  182. * @return string
  183. */
  184. public function getGreeter()
  185. {
  186. return $this->greeter;
  187. }
  188. /**
  189. * @param string $greeter
  190. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  191. */
  192. public function setGreeter($greeter)
  193. {
  194. $this->greeter = $greeter;
  195. return $this;
  196. }
  197. /**
  198. * @return string
  199. */
  200. public function getAccount()
  201. {
  202. return $this->account;
  203. }
  204. /**
  205. * @param integer $account
  206. * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall
  207. */
  208. public function setAccount($account)
  209. {
  210. $this->account = $account;
  211. return $this;
  212. }
  213. }