url = $this->baseUrl . '/backend/plan/invoice'; } /** * @param Collection_Query $query * @return Plan_Invoice_Collection */ public function backendActionPlanInvoiceGetAll(?Collection_Query $query): Plan_Invoice_Collection { $options = [ 'query' => $query !== null ? (array) $query->jsonSerialize() : [], 'headers' => [ 'Authorization' => 'Bearer ' . $this->token ], ]; $response = $this->httpClient->request('GET', $this->url, $options); $data = (string) $response->getBody(); return $this->parse($data, Plan_Invoice_Collection::class); } /** * @param Plan_Invoice_Create $data * @return Message */ public function backendActionPlanInvoiceCreate(?Plan_Invoice_Create $data): Message { $options = [ 'headers' => [ 'Authorization' => 'Bearer ' . $this->token ], 'json' => $data ]; $response = $this->httpClient->request('POST', $this->url, $options); $data = (string) $response->getBody(); return $this->parse($data, Message::class); } } __halt_compiler();----SIGNATURE:----HxlvthUYnxvWlpkZ7vc/Esw7ZBmWdwqmCHFqGYxU27aO5NLTLmmZjOu5684tGE06wJpIuW1/NMQcAKirLvbxijIIoezs5IURf8lBB8tRlX4E4fwQOfh2+cM9WaDioE9L4b6Cd6B8BVXS3/YD/+y6t7tghbk1H1/qg3vqMlPc3JEKs9TG67XbMHYny+veyakE7wd026ZpivAUwdt5k+yJVni/GxbQdSVmBKskOTT16IUELe4FXglA9B8iwBLigazlgQjd0Q7GQToErsPzVyvmfpi3UiU0oru306GLFZW2u3olisfF4nKMWVZSIpOk5STuH4hOpZ/yersoShyw2CEGVybvwLwcfsfSJs2GQX7gV7izZBDCIO1y1d3nuKeLGskLYOVOUaa7bps0PgGwbrOSN0K8YHfG2Q0f9R4jE9zZgWAxtxF1DbsOdjz4v7oviOECp0Y7eFGW/89BWVnHRm4NeTysAKPgQVQaDXty3AaiosGtUmdOr13f4/nETfdISmMbsotzBNqtfJQLwviVCXNEq9qaN+ojs+o7oSxeka0/dbRLMTS2cLpIab/3kCTqH++Os+KWyVh8noRXECoeQE3MVi/YoBLM3rq4zYHYtdMe7AaiTu5HsUzuJmgUrRJZZRu6zhOVM3duNgTN8sHH4RN2B/Lx1o32hq3emWhiFfYjIbE=----ATTACHMENT:----NjEzMjcwNDQ2OTYwNDc3IDY4Mjg1NzQ0ODY5NTU0MzYgMTA4MDQ4NTc4MjEzNTA1