Skip to content

Commit bd58d18

Browse files
authored
Merge pull request #27 from clemcoder/patch-2
Custom recipient message
2 parents 10dc018 + be829fb commit bd58d18

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sdk/Eversign/Recipient.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ class Recipient {
6666
* @Type("string")
6767
*/
6868
private $language = 'en';
69+
70+
/**
71+
* This parameter can be used to specify a custom message (upon document delivery) for the current recipient.
72+
* Please note that for the current recipient the general document message will be overriden by this parameter.
73+
* @var string $message
74+
* @Type("string")
75+
*/
76+
private $message;
6977

7078
public function getName() {
7179
return $this->name;
@@ -101,5 +109,13 @@ public function setLanguage($language) {
101109
}
102110
$this->language = $language;
103111
}
112+
113+
public function getMessage() {
114+
return $this->message;
115+
}
116+
117+
public function setMessage($message) {
118+
$this->message = $message;
119+
}
104120

105121
}

0 commit comments

Comments
 (0)