mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
E-Invoice - Partial completion of => Doc Delivery - E-INVOICE, E-CN, E-RN + Edit Booking Amount (3.0) with feedback from Sin Yee
This commit is contained in:
+3
@@ -8,11 +8,13 @@ class CreatePaymentVerificationDocumentDTO implements DataTransferObject
|
||||
{
|
||||
public int $bookingId;
|
||||
public int $companyId;
|
||||
public int $paymentId;
|
||||
|
||||
public function __construct(array $data)
|
||||
{
|
||||
$this->bookingId = $data['booking_id'];
|
||||
$this->companyId = $data['company_id'];
|
||||
$this->paymentId = $data['payment_id'];
|
||||
}
|
||||
|
||||
public function toArray(): array
|
||||
@@ -20,6 +22,7 @@ class CreatePaymentVerificationDocumentDTO implements DataTransferObject
|
||||
return [
|
||||
'booking_id' => $this->bookingId,
|
||||
'company_id' => $this->companyId,
|
||||
'payment_id' => $this->paymentId,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user