| 1 | <?php |
||
| 24 | class Payone_Api_Request_MasterpassGetCheckout |
||
|
|
|||
| 25 | extends Payone_Api_Request_Genericpayment |
||
| 26 | { |
||
| 27 | /** @var string */ |
||
| 28 | protected $wallettype = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param array $data |
||
| 32 | */ |
||
| 33 | public function __construct(array $data = array()) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getWallettype() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $wallettype |
||
| 49 | */ |
||
| 50 | public function setWallettype($wallettype) |
||
| 54 | } |
||
| 55 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.