Skip to content

Commit f69fa55

Browse files
authored
Merge pull request #63 from HussamAlhennawi/add-details-url-to-invoice-entity
add missing 'DETAILS_URL' mapping to 'InvoiceEntity' class
2 parents 4d399da + 9a132e9 commit f69fa55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Invoice/InvoiceEntity.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class InvoiceEntity
134134

135135
public $endDate;
136136

137+
public $detailsUrl;
138+
137139
public const FIELD_MAPPING = [
138140
'INVOICE_ID' => 'invoiceId',
139141
'TYPE' => 'type',
@@ -192,6 +194,7 @@ class InvoiceEntity
192194
'DOCUMENT_URL' => 'documentUrl',
193195
'START_DATE' => 'startDate',
194196
'END_DATE' => 'endDate',
197+
'DETAILS_URL' => 'detailsUrl',
195198
];
196199

197200
public const XML_FIELD_MAPPING = [
@@ -252,6 +255,7 @@ class InvoiceEntity
252255
'documentUrl' => 'DOCUMENT_URL',
253256
'startDate' => 'START_DATE',
254257
'endDate' => 'END_DATE',
258+
'detailsUrl' => 'DETAILS_URL',
255259
];
256260

257261
public function __construct(?\SimpleXMLElement $data = null)

0 commit comments

Comments
 (0)