1 | <?php |
||
5 | class SegmentRevenue extends Segment |
||
6 | { |
||
7 | use HydratableTrait; |
||
8 | |||
9 | /** @var string */ |
||
10 | protected $clientName; |
||
11 | |||
12 | /** @var int */ |
||
13 | protected $segmentImpression; |
||
14 | |||
15 | /** @var float */ |
||
16 | protected $segmentRevenue; |
||
17 | |||
18 | public function __construct($segmentId, $clientName, $segmentName, $segmentStatus, $segmentImpression, $segmentRevenue) |
||
26 | |||
27 | /** |
||
28 | * @return mixed |
||
29 | */ |
||
30 | public function getSegmentRevenue() |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getClientName() |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getSegmentImpression() |
||
50 | |||
51 | public static function fromArray(array $array): SegmentRevenue |
||
91 | } |
||
92 |