@@ -47,15 +47,13 @@ class DocumentTemplate {
47
47
*/
48
48
private $ sandbox ;
49
49
50
-
51
50
/**
52
51
* Set to the Template ID of the template you would like to use
53
52
* @var string $templateId
54
53
* @Type("string")
55
54
*/
56
55
private $ templateId ;
57
56
58
-
59
57
/**
60
58
* Sets the title of the Document.
61
59
* @var string $title
@@ -70,7 +68,7 @@ class DocumentTemplate {
70
68
*/
71
69
private $ message ;
72
70
73
- /**
71
+ /**
74
72
* This parameter is used to specify a custom completion redirect URL.
75
73
* If empty the default Post-Sign Completion URL of the current Business will be used
76
74
* @var string $redirect
@@ -94,7 +92,6 @@ class DocumentTemplate {
94
92
*/
95
93
private $ client ;
96
94
97
-
98
95
/**
99
96
* Expiration Time of the Document, default expiration time will be used if unset
100
97
*
@@ -127,14 +124,27 @@ class DocumentTemplate {
127
124
*/
128
125
private $ fields ;
129
126
130
-
131
127
/**
132
128
* Whether the Document is embedded signable
133
129
* @var integer $embeddedSigningEnabled
134
130
* @Type("integer")
135
131
*/
136
132
private $ embeddedSigningEnabled ;
137
133
134
+ /**
135
+ * Custom E-Mail address of the requester
136
+ * @var string $customRequesterEmail
137
+ * @Type("string")
138
+ */
139
+ private $ customRequesterEmail ;
140
+
141
+ /**
142
+ * Custom name of the requester
143
+ * @var string $customRequesterName
144
+ * @Type("string")
145
+ */
146
+ private $ customRequesterName ;
147
+
138
148
public function __construct ($ templateId = null ) {
139
149
if (!class_exists ('Doctrine\Common\Annotations\AnnotationRegistry ' , false ) && class_exists ('Doctrine\Common\Annotations\AnnotationRegistry ' )) {
140
150
AnnotationRegistry::registerLoader ('class_exists ' );
@@ -230,6 +240,14 @@ public function getFields() {
230
240
public function getEmbeddedSigningEnabled () {
231
241
return !!$ this ->embeddedSigningEnabled ;
232
242
}
243
+
244
+ public function getCustomRequesterEmail () {
245
+ return $ this ->customRequesterEmail ;
246
+ }
247
+
248
+ public function getCustomRequesterName () {
249
+ return $ this ->customRequesterName ;
250
+ }
233
251
234
252
public function setSandbox ($ sandbox ) {
235
253
$ this ->sandbox = !!$ sandbox ;
@@ -278,6 +296,14 @@ public function setEmbeddedSigningEnabled($embeddedSigningEnabled) {
278
296
$ this ->embeddedSigningEnabled = !!$ embeddedSigningEnabled ;
279
297
}
280
298
299
+ public function setCustomRequesterEmail ($ customRequesterEmail ) {
300
+ $ this ->customRequesterEmail = $ customRequesterEmail ;
301
+ }
302
+
303
+ public function setCustomRequesterName ($ customRequesterName ) {
304
+ $ this ->customRequesterName = $ customRequesterName ;
305
+ }
306
+
281
307
/**
282
308
* Converts the document to a JSON String
283
309
* @return string
0 commit comments