| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface |
||
| 20 | { |
||
| 21 | protected $_redirect = 'https://www.paxum.com/payment/phrame.php?action=displayProcessPaymentLogin'; |
||
| 22 | |||
| 23 | 1 | public function isSuccessful() |
|
| 24 | { |
||
| 25 | 1 | return false; |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function isRedirect() |
|
| 29 | { |
||
| 30 | 1 | return true; |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function getRedirectUrl() |
|
| 34 | { |
||
| 35 | 1 | return $this->_redirect; |
|
| 36 | } |
||
| 37 | |||
| 38 | 1 | public function getRedirectMethod() |
|
| 39 | { |
||
| 40 | 1 | return 'POST'; |
|
| 41 | } |
||
| 42 | |||
| 43 | 1 | public function getRedirectData() |
|
| 46 | } |
||
| 47 | } |
||
| 48 |