Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function convert(array $response) |
||
24 | { |
||
25 | $responseTransfer = new AmazonpayResponseTransfer(); |
||
26 | $customerTransfer = new CustomerTransfer(); |
||
27 | |||
28 | $this->extractName($response, $customerTransfer); |
||
29 | $this->extractEmail($response, $customerTransfer); |
||
30 | |||
31 | $responseTransfer->setCustomer($customerTransfer); |
||
32 | |||
33 | return $responseTransfer; |
||
34 | } |
||
62 |