Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 1 | public function sendData($data): ResponseInterface |
|
30 | { |
||
31 | 1 | $this->sendRequest( |
|
32 | 1 | Request::METHOD_POST, |
|
33 | 1 | sprintf( |
|
34 | 1 | '/transaction/%s', |
|
35 | 1 | $this->getTransactionReference() |
|
36 | ), |
||
37 | 1 | $data |
|
38 | ); |
||
39 | |||
40 | 1 | return new CompleteAuthoriseAndCaptureResponse( |
|
41 | 1 | $this, |
|
42 | 1 | $this->getResponseBody() |
|
43 | ); |
||
59 |