mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
31 lines
621 B
PHP
31 lines
621 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Vouchers\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class UpdateVoucherEndDateObject implements DataTransferObject
|
|
{
|
|
/** @var int */
|
|
private $voucher_id;
|
|
|
|
/** @var string|null */
|
|
private $end_date;
|
|
|
|
public function __construct(int $voucher_id, ?string $end_date)
|
|
{
|
|
$this->voucher_id = $voucher_id;
|
|
$this->end_date = $end_date;
|
|
}
|
|
|
|
public function getVoucherId(): int
|
|
{
|
|
return $this->voucher_id;
|
|
}
|
|
|
|
public function getEndDate(): ?string
|
|
{
|
|
return $this->end_date;
|
|
}
|
|
}
|