Skip to content

Commit a77f19c

Browse files
committed
ADD STATUS to InvoiceEntity
1 parent 2f3d4b8 commit a77f19c

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
@@ -136,6 +136,8 @@ class InvoiceEntity
136136

137137
public $detailsUrl;
138138

139+
public $status;
140+
139141
public const FIELD_MAPPING = [
140142
'INVOICE_ID' => 'invoiceId',
141143
'TYPE' => 'type',
@@ -195,6 +197,7 @@ class InvoiceEntity
195197
'START_DATE' => 'startDate',
196198
'END_DATE' => 'endDate',
197199
'DETAILS_URL' => 'detailsUrl',
200+
'STATUS' => 'status',
198201
];
199202

200203
public const XML_FIELD_MAPPING = [
@@ -256,6 +259,7 @@ class InvoiceEntity
256259
'startDate' => 'START_DATE',
257260
'endDate' => 'END_DATE',
258261
'detailsUrl' => 'DETAILS_URL',
262+
'status' => 'STATUS',
259263
];
260264

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

0 commit comments

Comments
 (0)