| Total Complexity | 10 |
| Total Lines | 115 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ShippingResponse |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | protected $id; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | protected $distributor; |
||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | protected $code; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | protected $description; |
||
| 28 | |||
| 29 | /** @var string */ |
||
| 30 | protected $type; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getId() |
||
| 36 | { |
||
| 37 | return $this->id; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $id |
||
| 42 | * |
||
| 43 | * @return ShippingResponse |
||
| 44 | */ |
||
| 45 | public function setId($id) |
||
| 46 | { |
||
| 47 | $this->id = $id; |
||
| 48 | |||
| 49 | return $this; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getDistributor() |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param string $distributor |
||
| 62 | * |
||
| 63 | * @return ShippingResponse |
||
| 64 | */ |
||
| 65 | public function setDistributor($distributor) |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | public function getCode() |
||
| 78 | } |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @param string $code |
||
| 82 | * |
||
| 83 | * @return ShippingResponse |
||
| 84 | */ |
||
| 85 | public function setCode($code) |
||
| 86 | { |
||
| 87 | $this->code = $code; |
||
| 88 | |||
| 89 | return $this; |
||
| 90 | } |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function getDescription() |
||
| 96 | { |
||
| 97 | return $this->description; |
||
| 98 | } |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @param string $description |
||
| 102 | * |
||
| 103 | * @return ShippingResponse |
||
| 104 | */ |
||
| 105 | public function setDescription($description) |
||
| 110 | } |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @return string |
||
| 114 | */ |
||
| 115 | public function getType() |
||
| 116 | { |
||
| 117 | return $this->type; |
||
| 118 | } |
||
| 119 | |||
| 120 | /** |
||
| 121 | * @param string $type |
||
| 122 | * |
||
| 123 | * @return ShippingResponse |
||
| 124 | */ |
||
| 125 | public function setType($type) |
||
| 130 | } |
||
| 131 | } |
||
| 132 |