mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 17:34:02 +00:00
New voucher CIEFPC30 setup with new business logic
This commit is contained in:
@@ -8,28 +8,41 @@ use App\Classes\General\Interfaces\DataTransferObject;
|
||||
class UpdateVoucherifyOrderObject implements DataTransferObject
|
||||
{
|
||||
/** @var string */
|
||||
private $id;
|
||||
private $voucherifyOrderId;
|
||||
|
||||
/** @var int */
|
||||
private $bookingId;
|
||||
|
||||
/** @var string */
|
||||
private $status;
|
||||
|
||||
/**
|
||||
* UpdateVoucherifyOrderObject constructor.
|
||||
* @param string $id
|
||||
* @param string $voucherifyOrderId
|
||||
* @param int $bookingId
|
||||
* @param string $status
|
||||
*/
|
||||
public function __construct(string $id, string $status)
|
||||
public function __construct(string $voucherifyOrderId, int $bookingId, string $status)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->voucherifyOrderId = $voucherifyOrderId;
|
||||
$this->bookingId = $bookingId;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getId(): string
|
||||
public function getVoucherifyOrderId(): string
|
||||
{
|
||||
return $this->id;
|
||||
return $this->voucherifyOrderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getBookingId(): int
|
||||
{
|
||||
return $this->bookingId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user