host = !empty($host) ? $host : "https://demo.docusign.net/restapi"; $this->username = !empty($username) ? $username : 'REQUIRED'; $this->password = !empty($password) ? $password : 'REQUIRED'; $this->integratorKey = !empty($integratorKey) ? $integratorKey : 'REQUIRED'; $this->recipientEmail = !empty($recipientEmail) ? $recipientEmail : 'REQUIRED'; $this->recipientName = !empty($recipientName) ? $recipientName : 'REQUIRED'; $this->templateRoleName = !empty($templateRoleName) ? $templateRoleName : 'Manager'; $this->templateId = !empty($templateId) ? $templateId : 'REQUIRED'; $this->returnUrl = !empty($returnUrl) ? $returnUrl : 'https://www.docusign.com/devcenter'; $this->clientUserId = "1234"; } /** * Gets username * @return string */ public function getUsername() { return $this->username; } /** * Sets username * @param string $username * @return $this */ public function setUsername($username) { $this->username = $username; return $this; } /** * Gets password * @return string */ public function getPassword() { return $this->password; } /** * Sets password * @param string $password * @return $this */ public function setPassword($password) { $this->password = $password; return $this; } /** * Gets integratorKey * @return string */ public function getIntegratorKey() { return $this->integratorKey; } /** * Sets integratorKey * @param string $integratorKey * @return $this */ public function setIntegratorKey($integratorKey) { $this->integratorKey = $integratorKey; return $this; } /** * Gets host * @return string */ public function getHost() { return $this->host; } /** * Sets host * @param string $host * @return $this */ public function setHost($host) { $this->host = $host; return $this; } /** * Gets apiClient * @return DocuSign\eSign\Client\ApiClient */ public function getApiClient() { return $this->apiClient; } /** * Sets apiClient * @param DocuSign\eSign\Client\ApiClient $apiClient * @return $this */ public function setApiClient($apiClient) { $this->apiClient = $apiClient; return $this; } /** * Gets accountId * @return string */ public function getAccountId() { return $this->accountId; } /** * Sets accountId * @param string $accountId * @return $this */ public function setAccountId($accountId) { $this->accountId = $accountId; return $this; } /** * Gets recipientEmail * @return string */ public function getRecipientEmail() { return $this->recipientEmail; } /** * Sets recipientEmail * @param string $recipientEmail * @return $this */ public function setRecipientEmail($recipientEmail) { $this->recipientEmail = $recipientEmail; return $this; } /** * Gets recipientName * @return string */ public function getRecipientName() { return $this->recipientName; } /** * Sets recipientName * @param string $recipientName * @return $this */ public function setRecipientName($recipientName) { $this->recipientName = $recipientName; return $this; } /** * Gets templateRoleName * @return string */ public function getTemplateRoleName() { return $this->templateRoleName; } /** * Sets templateRoleName * @param string $templateRoleName * @return $this */ public function setTemplateRoleName($templateRoleName) { $this->templateRoleName = $templateRoleName; return $this; } /** * Gets templateId * @return string */ public function getTemplateId() { return $this->templateId; } /** * Sets templateId * @param string $templateId * @return $this */ public function setTemplateId($templateId) { $this->templateId = $templateId; return $this; } /** * Gets envelopeId * @return string */ public function getEnvelopeId() { return $this->envelopeId; } /** * Sets envelopeId * @param string $envelopeId * @return $this */ public function setEnvelopeId($envelopeId) { $this->envelopeId = $envelopeId; return $this; } /** * Gets createdEnvelopeId * @return string */ public function getCreatedEnvelopeId() { return $this->createdEnvelopId; } /** * Sets createdEnvelopeId * @param string $createdEnvelopeId * @return $this */ public function setCreatedEnvelopeId($envelopeId) { $this->createdEnvelopId = $envelopeId; return $this; } /** * Gets returnUrl * @return string */ public function getReturnUrl() { return $this->returnUrl; } /** * Sets returnUrl * @param string $returnUrl * @return $this */ public function setReturnUrl($returnUrl) { $this->returnUrl = $returnUrl; return $this; } /** * Gets clientUserId * @return string */ public function getClientUserId() { return $this->clientUserId; } /** * Sets clientUserId * @param string $clientUserId * @return $this */ public function setClientUserId($clientUserId) { $this->clientUserId = $clientUserId; return $this; } } ?>