mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-02 11:23:58 +00:00
New voucher CIEFPC30 setup with new business logic
This commit is contained in:
@@ -13,6 +13,9 @@ class UpdateVoucherifyOrderObject implements DataTransferObject
|
||||
/** @var int */
|
||||
private $bookingId;
|
||||
|
||||
/** @var int */
|
||||
private $transactionId;
|
||||
|
||||
/** @var string */
|
||||
private $status;
|
||||
|
||||
@@ -20,12 +23,14 @@ class UpdateVoucherifyOrderObject implements DataTransferObject
|
||||
* UpdateVoucherifyOrderObject constructor.
|
||||
* @param string $voucherifyOrderId
|
||||
* @param int $bookingId
|
||||
* @param int $transactionId
|
||||
* @param string $status
|
||||
*/
|
||||
public function __construct(string $voucherifyOrderId, int $bookingId, string $status)
|
||||
public function __construct(string $voucherifyOrderId, int $bookingId, int $transactionId, string $status)
|
||||
{
|
||||
$this->voucherifyOrderId = $voucherifyOrderId;
|
||||
$this->bookingId = $bookingId;
|
||||
$this->transactionId = $transactionId;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
@@ -45,6 +50,14 @@ class UpdateVoucherifyOrderObject implements DataTransferObject
|
||||
return $this->bookingId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getTransactionId(): int
|
||||
{
|
||||
return $this->transactionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user