Skip to content

Commit d8e9708

Browse files
author
dawid.hochman
committed
added mobile, monitoringAlertsEmail, thresholdMonitoringAlertsEmail, monitoringAlertsSms and thresholdMonitoringAlertsSms properties to the Account Contact entity
1 parent 401410f commit d8e9708

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Account/Entities/Contact.php

+12
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ class Contact
1010
public $firstName;
1111
public $lastName;
1212
public $emailAddress;
13+
public $mobile;
14+
15+
public $monitoringAlertsEmail;
16+
public $thresholdMonitoringAlertsEmail;
17+
public $monitoringAlertsSms;
18+
public $thresholdMonitoringAlertsSms;
1319

1420
/**
1521
* Contact constructor.
@@ -27,6 +33,12 @@ public function __construct($item = null)
2733
$this->firstName = $item->first_name;
2834
$this->lastName = $item->last_name;
2935
$this->emailAddress = $item->email_address;
36+
$this->mobile = $item->mobile;
37+
38+
$this->monitoringAlertsEmail = $item->monitoring_alerts_email;
39+
$this->thresholdMonitoringAlertsEmail = $item->threshold_monitoring_alerts_email;
40+
$this->monitoringAlertsSms = $item->monitoring_alerts_sms;
41+
$this->thresholdMonitoringAlertsSms = $item->threshold_monitoring_alerts_sms;
3042
}
3143

3244
/**

0 commit comments

Comments
 (0)