File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/multisafepay/src/Message/FetchPaymentMethodsResponse.php
Back
<?php /** * MultiSafepay XML Api Fetch Payment Methods Response. */ namespace Omnipay\MultiSafepay\Message; /** * MultiSafepat XML Api Fetch Payment Methods Response. * * @deprecated This API is deprecated and will be removed in * an upcoming version of this package. Please switch to the Rest API. */ class FetchPaymentMethodsResponse extends AbstractResponse { /** * {@inheritdoc} */ public function isSuccessful() { return isset($this->data->gateways); } /** * Return available payment methods as an associative array. * * @return array */ public function getPaymentMethods() { $result = array(); foreach ($this->data->gateways->gateway as $gateway) { $result[(string) $gateway->id] = (string) $gateway->description; } return $result; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings