FleetCart/Modules/Payment/Responses/NullResponse.php

22 lines
374 B
PHP
Raw Permalink Normal View History

2023-06-11 12:14:03 +00:00
<?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;
}
}