From 12eef63db0a522045fdce0efac06d46b7eedf396 Mon Sep 17 00:00:00 2001 From: Peter Clauberg Date: Tue, 28 Oct 2025 15:21:35 +0100 Subject: [PATCH] Change STATUS to STATE --- src/Invoice/InvoiceEntity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Invoice/InvoiceEntity.php b/src/Invoice/InvoiceEntity.php index 281c9ff..20a6fce 100644 --- a/src/Invoice/InvoiceEntity.php +++ b/src/Invoice/InvoiceEntity.php @@ -136,7 +136,7 @@ class InvoiceEntity public $detailsUrl; - public $status; + public $state; public const FIELD_MAPPING = [ 'INVOICE_ID' => 'invoiceId', @@ -197,7 +197,7 @@ class InvoiceEntity 'START_DATE' => 'startDate', 'END_DATE' => 'endDate', 'DETAILS_URL' => 'detailsUrl', - 'STATUS' => 'status', + 'STATE' => 'state', ]; public const XML_FIELD_MAPPING = [ @@ -259,7 +259,7 @@ class InvoiceEntity 'startDate' => 'START_DATE', 'endDate' => 'END_DATE', 'detailsUrl' => 'DETAILS_URL', - 'status' => 'STATUS', + 'state' => 'STATE', ]; public function __construct(?\SimpleXMLElement $data = null)