|
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-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: NewCall.php 20166 2010-01-09 19:00:17Z bkarwin $ |
|
21 */ |
|
22 |
|
23 /** |
|
24 * @see Zend_Service_DeveloperGarden_VoiceButler_VoiceButlerAbstract |
|
25 */ |
|
26 require_once 'Zend/Service/DeveloperGarden/Request/VoiceButler/VoiceButlerAbstract.php'; |
|
27 |
|
28 /** |
|
29 * @category Zend |
|
30 * @package Zend_Service |
|
31 * @subpackage DeveloperGarden |
|
32 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
33 * @author Marco Kaiser |
|
34 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
35 */ |
|
36 class Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
37 extends Zend_Service_DeveloperGarden_Request_VoiceButler_VoiceButlerAbstract |
|
38 { |
|
39 /** |
|
40 * the first number to be called |
|
41 * |
|
42 * @var string |
|
43 */ |
|
44 public $aNumber = null; |
|
45 |
|
46 /** |
|
47 * the second number to be called |
|
48 * |
|
49 * @var string |
|
50 */ |
|
51 public $bNumber = null; |
|
52 |
|
53 /** |
|
54 * Calling Line Identity Restriction (CLIR) disabled for $aNumber |
|
55 * |
|
56 * @var boolean |
|
57 */ |
|
58 public $privacyA = null; |
|
59 |
|
60 /** |
|
61 * Calling Line Identity Restriction (CLIR) disabled for $bNumber |
|
62 * |
|
63 * @var boolean |
|
64 */ |
|
65 public $privacyB = null; |
|
66 |
|
67 /** |
|
68 * time in seconds to wait for $aNumber |
|
69 * |
|
70 * @var integer |
|
71 */ |
|
72 public $expiration = null; |
|
73 |
|
74 /** |
|
75 * max duration for this call in seconds |
|
76 * |
|
77 * @var integer |
|
78 */ |
|
79 public $maxDuration = null; |
|
80 |
|
81 /** |
|
82 * param not used right now |
|
83 * |
|
84 * @var string |
|
85 */ |
|
86 public $greeter = null; |
|
87 |
|
88 /** |
|
89 * Account Id which will be pay for this call |
|
90 * |
|
91 * @var integer |
|
92 */ |
|
93 public $account = null; |
|
94 |
|
95 /** |
|
96 * @return string |
|
97 */ |
|
98 public function getANumber() |
|
99 { |
|
100 return $this->aNumber; |
|
101 } |
|
102 |
|
103 /** |
|
104 * @param string $aNumber |
|
105 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
106 */ |
|
107 public function setANumber($aNumber) |
|
108 { |
|
109 $this->aNumber = $aNumber; |
|
110 return $this; |
|
111 } |
|
112 |
|
113 /** |
|
114 * @return string |
|
115 */ |
|
116 public function getBNumber() |
|
117 { |
|
118 return $this->bNumber; |
|
119 } |
|
120 |
|
121 /** |
|
122 * @param string $bNumber |
|
123 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
124 */ |
|
125 public function setBNumber($bNumber) |
|
126 { |
|
127 $this->bNumber = $bNumber; |
|
128 return $this; |
|
129 } |
|
130 |
|
131 /** |
|
132 * @return boolean |
|
133 */ |
|
134 public function getPrivacyA() |
|
135 { |
|
136 return $this->privacyA; |
|
137 } |
|
138 |
|
139 /** |
|
140 * @param boolean $privacyA |
|
141 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
142 */ |
|
143 public function setPrivacyA($privacyA) |
|
144 { |
|
145 $this->privacyA = $privacyA; |
|
146 return $this; |
|
147 } |
|
148 |
|
149 /** |
|
150 * @return boolean |
|
151 */ |
|
152 public function getPrivacyB() |
|
153 { |
|
154 return $this->privacyB; |
|
155 } |
|
156 |
|
157 /** |
|
158 * @param boolean $privacyB |
|
159 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
160 */ |
|
161 public function setPrivacyB($privacyB) |
|
162 { |
|
163 $this->privacyB = $privacyB; |
|
164 return $this; |
|
165 } |
|
166 |
|
167 /** |
|
168 * @return integer |
|
169 */ |
|
170 public function getExpiration() |
|
171 { |
|
172 return $this->expiration; |
|
173 } |
|
174 |
|
175 /** |
|
176 * @param integer $expiration |
|
177 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
178 */ |
|
179 public function setExpiration($expiration) |
|
180 { |
|
181 $this->expiration = $expiration; |
|
182 return $this; |
|
183 } |
|
184 |
|
185 /** |
|
186 * @return integer |
|
187 */ |
|
188 public function getMaxDuration() |
|
189 { |
|
190 return $this->maxDuration; |
|
191 } |
|
192 |
|
193 /** |
|
194 * @param integer $maxDuration |
|
195 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
196 */ |
|
197 public function setMaxDuration($maxDuration) |
|
198 { |
|
199 $this->maxDuration = $maxDuration; |
|
200 return $this; |
|
201 } |
|
202 |
|
203 /** |
|
204 * @return string |
|
205 */ |
|
206 public function getGreeter() |
|
207 { |
|
208 return $this->greeter; |
|
209 } |
|
210 |
|
211 /** |
|
212 * @param string $greeter |
|
213 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
214 */ |
|
215 public function setGreeter($greeter) |
|
216 { |
|
217 $this->greeter = $greeter; |
|
218 return $this; |
|
219 } |
|
220 |
|
221 /** |
|
222 * @return string |
|
223 */ |
|
224 public function getAccount() |
|
225 { |
|
226 return $this->account; |
|
227 } |
|
228 |
|
229 /** |
|
230 * @param integer $account |
|
231 * @return Zend_Service_DeveloperGarden_Request_VoiceButler_NewCall |
|
232 */ |
|
233 public function setAccount($account) |
|
234 { |
|
235 $this->account = $account; |
|
236 return $this; |
|
237 } |
|
238 } |