| 1 | <?php |
||
| 10 | class RefundRequest extends AbstractRequest |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Get the raw data array for this message. The format of this varies from gateway to |
||
| 14 | * gateway, but will usually be either an associative array, or a SimpleXMLElement. |
||
| 15 | * |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | 6 | public function getData() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Get a request token. |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 8 | public function getRequestToken() |
|
| 44 | } |
||
| 45 |
In PHP, under loose comparison (like
==, or!=, orswitchconditions), values of different types might be equal.For
stringvalues, the empty string''is a special case, in particular the following results might be unexpected: