File tree Expand file tree Collapse file tree 10 files changed +56
-10
lines changed
Expand file tree Collapse file tree 10 files changed +56
-10
lines changed Original file line number Diff line number Diff line change 11/vendor
22composer.lock
33.idea
4+ composer.phar
45.settings
Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ License
3232
3333 - PHP SDK improved to support the following new APIs
3434
35- - [ Share Emails API] ( )
36- - [ Calls Preference API] ( )
37- - [ Data Sharing Settings API] ( )
38- - [ Fetch Full Data API] ( )
35+ - [ Get Related Records Count of a Record] ( )
36+ - [ Calls Preference] ( )
37+ - [ Record-Level Sharing of Emails] ( )
38+ - [ Data Sharing Rules API] ( )
39+ - [ Get Rich Text Fields API] ( )
3940
4041For older versions, please [ refer] ( https://github.com/zoho/zohocrm-php-sdk-8.0/releases ) .
4142
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class BusinessHours implements Model
1414 private $ sameAsEveryday ;
1515 private $ dailyTiming ;
1616 private $ customTiming ;
17+ private $ timezone ;
1718 private $ keyModified =array ();
1819
1920 /**
@@ -163,6 +164,27 @@ public function setCustomTiming(array $customTiming)
163164
164165 }
165166
167+ /**
168+ * The method to get the timezone
169+ * @return string A string representing the timezone
170+ */
171+ public function getTimezone ()
172+ {
173+ return $ this ->timezone ;
174+
175+ }
176+
177+ /**
178+ * The method to set the value to timezone
179+ * @param string $timezone A string
180+ */
181+ public function setTimezone (string $ timezone )
182+ {
183+ $ this ->timezone =$ timezone ;
184+ $ this ->keyModified ['timezone ' ] = 1 ;
185+
186+ }
187+
166188 /**
167189 * The method to check if the user has modified the given key
168190 * @param string $key A string
Original file line number Diff line number Diff line change 88use com \zoho \crm \api \sendmail \Template ;
99use com \zoho \crm \api \util \Model ;
1010
11- class EmailTemplate extends InventoryTemplates implements Model, Template
11+ class EmailTemplate extends InventoryTemplates implements Template, Model
1212{
1313
1414 private $ attachments ;
Original file line number Diff line number Diff line change 44use com \zoho \crm \api \sendmail \Template ;
55use com \zoho \crm \api \util \Model ;
66
7- class InventoryTemplates implements Model, Template
7+ class InventoryTemplates implements Template, Model
88{
99
1010 private $ createdTime ;
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class BusinessHours implements Model
1414 private $ sameAsEveryday ;
1515 private $ dailyTiming ;
1616 private $ customTiming ;
17+ private $ timezone ;
1718 private $ keyModified =array ();
1819
1920 /**
@@ -163,6 +164,27 @@ public function setCustomTiming(array $customTiming)
163164
164165 }
165166
167+ /**
168+ * The method to get the timezone
169+ * @return string A string representing the timezone
170+ */
171+ public function getTimezone ()
172+ {
173+ return $ this ->timezone ;
174+
175+ }
176+
177+ /**
178+ * The method to set the value to timezone
179+ * @param string $timezone A string
180+ */
181+ public function setTimezone (string $ timezone )
182+ {
183+ $ this ->timezone =$ timezone ;
184+ $ this ->keyModified ['timezone ' ] = 1 ;
185+
186+ }
187+
166188 /**
167189 * The method to check if the user has modified the given key
168190 * @param string $key A string
Original file line number Diff line number Diff line change 88use com \zoho \crm \api \sendmail \Template ;
99use com \zoho \crm \api \util \Model ;
1010
11- class EmailTemplate extends InventoryTemplates implements Model, Template
11+ class EmailTemplate extends InventoryTemplates implements Template, Model
1212{
1313
1414 private $ attachments ;
Original file line number Diff line number Diff line change 44use com \zoho \crm \api \sendmail \Template ;
55use com \zoho \crm \api \util \Model ;
66
7- class InventoryTemplates implements Model, Template
7+ class InventoryTemplates implements Template, Model
88{
99
1010 private $ createdTime ;
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments