first upload all files
This commit is contained in:
21
Modules/Payment/Responses/NullResponse.php
Normal file
21
Modules/Payment/Responses/NullResponse.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user