Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
77 | protected function prepareRequest() |
||
78 | { |
||
79 | if (!$this->request instanceof Request) { |
||
80 | $this->request = $this->getRequest() |
||
81 | ->method(Http::POST) |
||
82 | ->uri( |
||
83 | $this->apiConfiguration->getBaseUri() |
||
84 | . self::ENDPOINT |
||
85 | ) |
||
86 | ->sendsType(Mime::JSON) |
||
87 | ->body(json_encode($this->order->export())) |
||
88 | ; |
||
92 |