for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/phpviet/omnipay-momo
* @copyright (c) PHP Viet
* @license [MIT](http://www.opensource.org/licenses/MIT)
*/
namespace Omnipay\MoMo\Message\QRCode;
use Omnipay\MoMo\Message\AbstractSignatureResponse;
* @author Vuong Minh <[email protected]>
* @since 1.0.0
class NotificationResponse extends AbstractSignatureResponse
{
* {@inheritdoc}
protected function getSignatureParameters(): array
return [
'accessKey', 'amount', 'message', 'momoTransId', 'partnerCode', 'partnerRefId', 'partnerTransId',
'responseTime', 'status', 'storeId', 'transType',
];
}
public function getCode(): ?string
return $this->data['status'] ?? null;
public function getTransactionId(): ?string
return $this->data['partnerRefId'] ?? null;
public function getTransactionReference(): ?string
return $this->data['momoTransId'] ?? null;