Skip to content

Commit 3323413

Browse files
authored
Merge pull request #501 from ans-group/lm-127-contacts-sdk-update-surfacing-mobile-and-monitoring-and-ctm-alert-preferences
Update Accounts Contact entity
2 parents 401410f + d8e9708 commit 3323413

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)