| 1 | <?php |
||
| 12 | class ShippingCourier |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var DateTime |
||
| 16 | */ |
||
| 17 | protected $shippedAt; |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $name; |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $tracking; |
||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $priority; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return DateTime |
||
| 33 | */ |
||
| 34 | public function getShippedAt() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getName() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getTracking() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | public function getPriority() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param DateTime $shippedAt |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | public function setShippedAt(DateTime $shippedAt) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @param string $name |
||
| 76 | * @return $this |
||
| 77 | */ |
||
| 78 | public function setName($name) |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param string $tracking |
||
| 87 | * @return $this |
||
| 88 | */ |
||
| 89 | public function setTracking($tracking) |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @param string $priority |
||
| 98 | * @return $this |
||
| 99 | */ |
||
| 100 | public function setPriority($priority) |
||
| 106 | } |
||
| 107 |