| 1 | <?php namespace SimpleUPS\Track\SmallPackage; |
||
| 6 | class Response extends \SimpleUPS\Track\Response |
||
| 7 | { |
||
| 8 | |||
| 9 | private |
||
| 10 | /* @var Shipment $shipments */ |
||
| 11 | $shipments; |
||
|
|
|||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Shipment $shipment |
||
| 15 | * |
||
| 16 | * @return Response |
||
| 17 | */ |
||
| 18 | public function addShipment(Shipment $shipment) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return Shipment[]|null |
||
| 30 | */ |
||
| 31 | public function getShipments() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param \SimpleXMLElement $xml |
||
| 38 | * |
||
| 39 | * @return Response |
||
| 40 | */ |
||
| 41 | public function fromXml(\SimpleXMLElement $xml) |
||
| 49 | |||
| 50 | } |