Total Complexity | 5 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class ListingDeleteObject implements \JsonSerializable |
||
9 | { |
||
10 | /** @var string */ |
||
11 | private $listingReference; |
||
12 | |||
13 | /** @var string */ |
||
14 | private $deletionReason; |
||
15 | |||
16 | /** |
||
17 | * @return string |
||
18 | */ |
||
19 | 2 | public function getListingReference() |
|
20 | { |
||
21 | 2 | return $this->listingReference; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param string $listingReference |
||
26 | * |
||
27 | * @return ListingDeleteObject |
||
28 | */ |
||
29 | 1 | public function setListingReference($listingReference) |
|
30 | { |
||
31 | 1 | $this->listingReference = $listingReference; |
|
32 | |||
33 | 1 | return $this; |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 2 | public function getDeletionReason() |
|
40 | { |
||
41 | 2 | return $this->deletionReason; |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param string $deletionReason |
||
46 | * |
||
47 | * @return ListingDeleteObject |
||
48 | */ |
||
49 | 1 | public function setDeletionReason($deletionReason) |
|
54 | } |
||
55 | |||
56 | /** {@inheritDoc} */ |
||
57 | 1 | public function jsonSerialize() |
|
62 | ]); |
||
63 | } |
||
65 |