Total Complexity | 6 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class LoanOrders extends AbstractResponse |
||
23 | { |
||
24 | /** |
||
25 | * @var Offer[] |
||
26 | */ |
||
27 | public $offers; |
||
28 | |||
29 | /** |
||
30 | * @var Demand[] |
||
31 | */ |
||
32 | public $demands; |
||
33 | |||
34 | /** |
||
35 | * @internal |
||
36 | * @return Offer[] |
||
37 | */ |
||
38 | public function getOffers(): array |
||
39 | { |
||
40 | return $this->offers; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @internal |
||
45 | * @param Offer[] $offers |
||
46 | */ |
||
47 | public function setOffers(array $offers): void |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @internal |
||
54 | * @param Offer $offer |
||
55 | */ |
||
56 | public function addOffer(Offer $offer): void |
||
57 | { |
||
58 | $this->offers[] = $offer; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * @internal |
||
63 | * @return Demand[] |
||
64 | */ |
||
65 | public function getDemands(): array |
||
66 | { |
||
67 | return $this->demands; |
||
68 | } |
||
69 | |||
70 | /** |
||
71 | * @internal |
||
72 | * @param Demand[] $demands |
||
73 | */ |
||
74 | public function setDemands(array $demands): void |
||
75 | { |
||
76 | $this->demands = $demands; |
||
77 | } |
||
78 | |||
79 | /** |
||
80 | * @internal |
||
81 | * @param Demand $demand |
||
82 | */ |
||
83 | public function addDemand(Demand $demand): void |
||
86 | } |
||
87 | } |