1 | <?php namespace SimpleUPS\Rates; |
||
3 | class Response extends \SimpleUPS\Api\Response |
||
4 | { |
||
5 | private |
||
6 | /* @var ShippingMethod[] $shippingMethods */ |
||
7 | $shippingMethods; |
||
8 | |||
9 | /** |
||
10 | * @internal |
||
11 | * |
||
12 | * @param ShippingMethod $shippingMethod |
||
13 | * |
||
14 | * @return Response |
||
15 | */ |
||
16 | public function addShippingMethod(ShippingMethod $shippingMethod) |
||
25 | |||
26 | /** |
||
27 | * @return ShippingMethod[]|null |
||
28 | */ |
||
29 | public function getShippingMethods() |
||
33 | |||
34 | /** |
||
35 | * @param \SimpleXMLElement $xml |
||
36 | * |
||
37 | * @return Response |
||
38 | */ |
||
39 | public function fromXml(\SimpleXMLElement $xml) |
||
47 | } |