Skip to content

Commit 23715d5

Browse files
authored
Merge pull request #67 from fastbill/change-status-to-state
Change STATUS to STATE
2 parents 57fd749 + 12eef63 commit 23715d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Invoice/InvoiceEntity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class InvoiceEntity
136136

137137
public $detailsUrl;
138138

139-
public $status;
139+
public $state;
140140

141141
public const FIELD_MAPPING = [
142142
'INVOICE_ID' => 'invoiceId',
@@ -197,7 +197,7 @@ class InvoiceEntity
197197
'START_DATE' => 'startDate',
198198
'END_DATE' => 'endDate',
199199
'DETAILS_URL' => 'detailsUrl',
200-
'STATUS' => 'status',
200+
'STATE' => 'state',
201201
];
202202

203203
public const XML_FIELD_MAPPING = [
@@ -259,7 +259,7 @@ class InvoiceEntity
259259
'startDate' => 'START_DATE',
260260
'endDate' => 'END_DATE',
261261
'detailsUrl' => 'DETAILS_URL',
262-
'status' => 'STATUS',
262+
'state' => 'STATE',
263263
];
264264

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

0 commit comments

Comments
 (0)