1 | <?php |
||
13 | class PackageServiceOptions implements NodeInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var COD |
||
17 | */ |
||
18 | private $cod; |
||
19 | |||
20 | /** |
||
21 | * @var InsuredValue |
||
22 | */ |
||
23 | private $insuredValue; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $earliestDeliveryTime; |
||
29 | |||
30 | /** |
||
31 | * @var HazMat[] |
||
32 | */ |
||
33 | private $hazMat = []; |
||
34 | |||
35 | /** |
||
36 | * @var HazMatPackageInformation |
||
37 | */ |
||
38 | private $hazMatPackageInformation; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | private $holdForPickup; |
||
44 | |||
45 | /** |
||
46 | * @var DeliveryConfirmation |
||
47 | */ |
||
48 | private $deliveryConfirmation; |
||
49 | |||
50 | /** |
||
51 | * @var ShipperReleaseIndicator |
||
52 | */ |
||
53 | private $ShipperReleaseIndicator; |
||
54 | |||
55 | /** |
||
56 | * @param null $parameters |
||
57 | */ |
||
58 | 2 | public function __construct($parameters = null) |
|
81 | |||
82 | /** |
||
83 | * @param null|DOMDocument $document |
||
84 | * |
||
85 | * @TODO: this seem to be awfully incomplete |
||
86 | * |
||
87 | * @return DOMElement |
||
88 | */ |
||
89 | 2 | public function toNode(DOMDocument $document = null) |
|
115 | |||
116 | /** |
||
117 | * @return InsuredValue|null |
||
118 | */ |
||
119 | 2 | public function getInsuredValue() |
|
123 | |||
124 | /** |
||
125 | * @param $var |
||
126 | */ |
||
127 | public function setInsuredValue($var) |
||
131 | |||
132 | /** |
||
133 | * @return COD|null |
||
134 | */ |
||
135 | public function getCOD() |
||
139 | |||
140 | /** |
||
141 | * @param $var |
||
142 | */ |
||
143 | public function setCOD($var) |
||
147 | |||
148 | /** |
||
149 | * @return string|null |
||
150 | */ |
||
151 | public function getEarliestDeliveryTime() |
||
155 | |||
156 | /** |
||
157 | * @param $var |
||
158 | */ |
||
159 | public function setEarliestDeliveryTime($var) |
||
163 | |||
164 | /** |
||
165 | * @return HazMat[] |
||
166 | */ |
||
167 | 2 | public function getHazMat() |
|
171 | |||
172 | /** |
||
173 | * @param HazMat[] $hazMat |
||
174 | */ |
||
175 | public function setHazMat(array $hazMat) |
||
179 | |||
180 | /** |
||
181 | * @param HazMat $hazmat |
||
182 | */ |
||
183 | public function addHazMat(HazMat $hazmat) |
||
187 | |||
188 | /** |
||
189 | * @return string|null |
||
190 | */ |
||
191 | public function getHoldForPickup() |
||
195 | |||
196 | /** |
||
197 | * @param $var |
||
198 | */ |
||
199 | public function setHoldForPickup($var) |
||
203 | |||
204 | /** |
||
205 | * @return HazMatPackageInformation |
||
206 | */ |
||
207 | 2 | public function getHazMatPackageInformation() |
|
211 | |||
212 | /** |
||
213 | * @param HazMatPackageInformation $hazMatPackageInformation |
||
214 | */ |
||
215 | public function setHazMatPackageInformation($hazMatPackageInformation) |
||
219 | |||
220 | /** |
||
221 | * @param DeliveryConfirmation $deliveryConfirmation |
||
222 | * @return ShipmentServiceOptions |
||
223 | */ |
||
224 | public function setDeliveryConfirmation(DeliveryConfirmation $deliveryConfirmation) |
||
229 | |||
230 | /** |
||
231 | * @return DeliveryConfirmation|null |
||
232 | */ |
||
233 | public function getDeliveryConfirmation() |
||
237 | |||
238 | /** |
||
239 | * @return mixed |
||
240 | */ |
||
241 | public function getShipperReleaseIndicator() |
||
245 | |||
246 | /** |
||
247 | * @param mixed $ShipperReleaseIndicator |
||
248 | * @return ShipmentServiceOptions |
||
249 | */ |
||
250 | public function setShipperReleaseIndicator($ShipperReleaseIndicator) |
||
255 | } |
||
256 |