From 2fabe69fd998a1b74f86a8f1ca99728bde2e45f3 Mon Sep 17 00:00:00 2001 From: Aravind B Dev Date: Tue, 23 Jun 2020 11:04:38 +1000 Subject: [PATCH] Adding Tenant name into XeroTeanant --- src/XeroTenant.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/XeroTenant.php b/src/XeroTenant.php index 191592a..4dd5c28 100644 --- a/src/XeroTenant.php +++ b/src/XeroTenant.php @@ -24,6 +24,11 @@ class XeroTenant */ public $tenantType; + /** + * @var string + */ + public $tenantName; + /** * @var \DateTime */ @@ -46,6 +51,7 @@ public static function fromArray($data) $self->id = $data['id']; $self->tenantId = $data['tenantId']; $self->tenantType = $data['tenantType']; + $self->tenantName = $data['tenantName']; $self->createdDateUtc = new \DateTime($data['createdDateUtc']); $self->updatedDateUtc = $self->updatedDateUtc ? new \DateTime($data['updatedDateUtc']) : null;