1 | <?php |
||
45 | class DisplayQueryReport extends BaseWsMessage |
||
46 | { |
||
47 | /** |
||
48 | * @var DisplayQueryReport\ActionDetails |
||
49 | */ |
||
50 | public $actionDetails; |
||
51 | |||
52 | /** |
||
53 | * @var DisplayQueryReport\AgentUserDetails |
||
54 | */ |
||
55 | public $agentUserDetails; |
||
56 | |||
57 | /** |
||
58 | * @var DisplayQueryReport\DateDetails |
||
59 | */ |
||
60 | public $dateDetails; |
||
61 | |||
62 | /** |
||
63 | * @var DisplayQueryReport\CurrencyInfo |
||
64 | */ |
||
65 | public $currencyInfo; |
||
66 | |||
67 | /** |
||
68 | * @var DisplayQueryReport\AgencyDetails |
||
69 | */ |
||
70 | public $agencyDetails; |
||
71 | |||
72 | /** |
||
73 | * @var DisplayQueryReport\SalesPeriodDetails |
||
74 | */ |
||
75 | public $salesPeriodDetails; |
||
76 | |||
77 | /** |
||
78 | * @var DisplayQueryReport\TransactionData[] |
||
79 | */ |
||
80 | public $transactionData = []; |
||
81 | |||
82 | /** |
||
83 | * @var DisplayQueryReport\FormOfPaymentDetails |
||
84 | */ |
||
85 | public $formOfPaymentDetails; |
||
86 | |||
87 | /** |
||
88 | * @var DisplayQueryReport\ValidatingCarrierDetails |
||
89 | */ |
||
90 | public $validatingCarrierDetails; |
||
91 | |||
92 | /** |
||
93 | * @var DisplayQueryReport\RequestOption |
||
94 | */ |
||
95 | public $requestOption; |
||
96 | |||
97 | /** |
||
98 | * @var DisplayQueryReport\SalesIndicator |
||
99 | */ |
||
100 | public $salesIndicator; |
||
101 | |||
102 | /** |
||
103 | * @var DisplayQueryReport\FromSequenceDocumentNumber |
||
104 | */ |
||
105 | public $fromSequenceDocumentNumber; |
||
106 | |||
107 | /** |
||
108 | * @var DisplayQueryReport\AttributeInfo |
||
109 | */ |
||
110 | public $attributeInfo; |
||
111 | |||
112 | /** |
||
113 | * DisplayQueryReport constructor. |
||
114 | * |
||
115 | * @param SalesReportsDisplayQueryReportOptions $options |
||
116 | */ |
||
117 | public function __construct(SalesReportsDisplayQueryReportOptions $options) |
||
145 | |||
146 | /** |
||
147 | * @param array|null $requestOptions |
||
148 | */ |
||
149 | protected function loadRequestOptions($requestOptions) |
||
155 | |||
156 | /** |
||
157 | * @param string|null $agencySourceType |
||
158 | * @param string|null $iataNumber |
||
159 | * @param string|null $officeId |
||
160 | */ |
||
161 | protected function loadAgencySource($agencySourceType, $iataNumber, $officeId) |
||
167 | |||
168 | /** |
||
169 | * @param string|null $agentCode |
||
170 | */ |
||
171 | protected function loadAgent($agentCode) |
||
177 | |||
178 | /** |
||
179 | * @param string|null $code |
||
180 | * @param string|null $type |
||
181 | * @param string|null $issueIndicator |
||
182 | */ |
||
183 | protected function loadTransaction($code, $type, $issueIndicator) |
||
189 | |||
190 | /** |
||
191 | * @param string|null $validatingCarrier |
||
192 | */ |
||
193 | protected function loadValidatingCarrier($validatingCarrier) |
||
199 | |||
200 | /** |
||
201 | * @param \DateTime|null $startDate |
||
202 | * @param \DateTime|null $endDate |
||
203 | */ |
||
204 | protected function loadDateRange($startDate, $endDate) |
||
210 | |||
211 | /** |
||
212 | * @param string|null $type |
||
213 | * @param \DateTime|null $date |
||
214 | */ |
||
215 | protected function loadDate($type, $date) |
||
221 | |||
222 | /** |
||
223 | * @param string $type |
||
224 | * @param string $currency |
||
225 | */ |
||
226 | protected function loadCurrency($type, $currency) |
||
232 | |||
233 | /** |
||
234 | * @param string $type |
||
235 | * @param string $vendor |
||
236 | */ |
||
237 | protected function loadFormOfPayment($type, $vendor) |
||
243 | |||
244 | /** |
||
245 | * @param string $indicator |
||
246 | */ |
||
247 | protected function loadSalesIndicator($indicator) |
||
253 | |||
254 | /** |
||
255 | * @param int $count |
||
256 | * @param string $fromItem |
||
257 | */ |
||
258 | protected function loadScrolling($count, $fromItem) |
||
264 | } |
||
265 |
It seems like you allow that null is being passed for a parameter, however the function which is called does not seem to accept null.
We recommend to add an additional type check (or disallow null for the parameter):