Skip to content

Commit

Permalink
Merge pull request #52 from HussamAlhennawi/add-deleted-date-to-custo…
Browse files Browse the repository at this point in the history
…mer-entity

Add missing "DELETED_DATE" mapping to "CustomerEntity" class.
  • Loading branch information
teiling88 authored Jan 30, 2025
2 parents e21e694 + 50fbea7 commit 6cdf22e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Customer/CustomerEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ class CustomerEntity

public $documentHistoryUrl;

public $DeletedDate;

public const FIELD_MAPPING = [
'CUSTOMER_ID' => 'customerId',
'CUSTOMER_NUMBER' => 'customerNumber',
Expand Down Expand Up @@ -133,6 +135,7 @@ class CustomerEntity
'LASTUPDATE' => 'lastupdate',
'TAGS' => 'tags',
'DOCUMENT_HISTORY_URL' => 'documentHistoryUrl',
'DELETED_DATE' => 'DeletedDate',
];

public const XML_FIELD_MAPPING = [
Expand Down Expand Up @@ -177,6 +180,7 @@ class CustomerEntity
'lastupdate' => 'LASTUPDATE',
'tags' => 'TAGS',
'documentHistoryUrl' => 'DOCUMENT_HISTORY_URL',
'DeletedDate' => 'DELETED_DATE',
];

public function __construct(\SimpleXMLElement $data = null)
Expand Down

0 comments on commit 6cdf22e

Please # to comment.