22 lines
374 B
PHP
22 lines
374 B
PHP
<?php
|
|
|
|
namespace Modules\Payment\Responses;
|
|
|
|
use Modules\Order\Entities\Order;
|
|
use Modules\Payment\GatewayResponse;
|
|
|
|
class NullResponse extends GatewayResponse
|
|
{
|
|
private $order;
|
|
|
|
public function __construct(Order $order)
|
|
{
|
|
$this->order = $order;
|
|
}
|
|
|
|
public function getOrderId()
|
|
{
|
|
return $this->order->id;
|
|
}
|
|
}
|