| 1 | <?php |
||
| 12 | class PaymentApproveResponse extends AbstractResponse implements RedirectResponseInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $rel |
||
| 16 | * @return array|null |
||
| 17 | */ |
||
| 18 | public function getLink($rel) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Return false, because this is a redirect response |
||
| 33 | * |
||
| 34 | * @return boolean |
||
| 35 | */ |
||
| 36 | public function isSuccessful() |
||
| 40 | |||
| 41 | public function isRedirect() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Gets the redirect target url. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getRedirectUrl() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Get the required redirect method (either GET or POST). |
||
| 60 | * |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getRedirectMethod() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return array |
||
| 70 | */ |
||
| 71 | public function getRedirectData() |
||
| 75 | } |
||
| 76 |