Total Complexity | 5 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class CompletePurchaseRequest extends PurchaseRequest |
||
11 | { |
||
12 | protected $requestMethod = 'GET'; |
||
13 | |||
14 | public function getHostedCheckoutId() |
||
17 | } |
||
18 | |||
19 | public function setHostedCheckoutId($value) |
||
20 | { |
||
21 | return $this->setParameter('hostedCheckoutId', $value); |
||
22 | } |
||
23 | |||
24 | public function getData() |
||
27 | } |
||
28 | |||
29 | protected function createResponse($data) |
||
30 | { |
||
31 | return $this->response = new CompletePurchaseResponse($this, json_decode($data)); |
||
32 | } |
||
33 | |||
34 | protected function getAction() |
||
37 | } |
||
38 | } |
||
39 |