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;