Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/eway/src/Message/RapidDirectCreateCardResponse.php
Ðазад
<?php /** * eWAY Rapid Direct Create Card Response */ namespace Omnipay\Eway\Message; use Omnipay\SecurePay\Message\DirectPostCompletePurchaseResponse; /** * eWAY Rapid Direct Create Card Response * * This is the response class for Rapid Direct when creating * or updating a card * */ class RapidDirectCreateCardResponse extends RapidResponse { /** * @var DirectPostCompletePurchaseResponse */ protected $purchaseResponse; /** * @return DirectPostCompletePurchaseResponse */ public function getPurchaseResponse() { return $this->purchaseResponse; } /** * @param DirectPostCompletePurchaseResponse $purchaseResponse */ public function setPurchaseResponse($purchaseResponse) { $this->purchaseResponse = $purchaseResponse; } public function isSuccessful() { if (!$this->getPurchaseResponse()) { return $this->data['ResponseMessage'] == 'A2000'; } else { return ($this->data['ResponseMessage'] == 'A2000' && $this->purchaseResponse->isSuccessful()); } } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка