From 901058e5bbfdb9fcfb681da58b8691a07cb5f056 Mon Sep 17 00:00:00 2001 From: Juan Treminio Date: Tue, 26 Nov 2024 12:58:28 -0600 Subject: [PATCH] PHP SDK - return static instead of self for fluid interface --- sdks/php/src/Model/AccountCreateRequest.php | 8 +-- sdks/php/src/Model/AccountCreateResponse.php | 6 +- sdks/php/src/Model/AccountGetResponse.php | 4 +- sdks/php/src/Model/AccountResponse.php | 22 +++--- sdks/php/src/Model/AccountResponseQuotas.php | 12 ++-- sdks/php/src/Model/AccountResponseUsage.php | 2 +- sdks/php/src/Model/AccountUpdateRequest.php | 6 +- sdks/php/src/Model/AccountVerifyRequest.php | 2 +- sdks/php/src/Model/AccountVerifyResponse.php | 4 +- .../Model/AccountVerifyResponseAccount.php | 2 +- sdks/php/src/Model/ApiAppCreateRequest.php | 14 ++-- sdks/php/src/Model/ApiAppGetResponse.php | 4 +- sdks/php/src/Model/ApiAppListResponse.php | 6 +- sdks/php/src/Model/ApiAppResponse.php | 20 +++--- sdks/php/src/Model/ApiAppResponseOAuth.php | 8 +-- sdks/php/src/Model/ApiAppResponseOptions.php | 2 +- .../src/Model/ApiAppResponseOwnerAccount.php | 4 +- .../ApiAppResponseWhiteLabelingOptions.php | 28 ++++---- sdks/php/src/Model/ApiAppUpdateRequest.php | 14 ++-- sdks/php/src/Model/BulkSendJobGetResponse.php | 8 +-- ...ulkSendJobGetResponseSignatureRequests.php | 50 ++++++------- .../php/src/Model/BulkSendJobListResponse.php | 6 +- sdks/php/src/Model/BulkSendJobResponse.php | 8 +-- .../php/src/Model/BulkSendJobSendResponse.php | 4 +- sdks/php/src/Model/EmbeddedEditUrlRequest.php | 20 +++--- .../php/src/Model/EmbeddedEditUrlResponse.php | 4 +- .../Model/EmbeddedEditUrlResponseEmbedded.php | 4 +- .../php/src/Model/EmbeddedSignUrlResponse.php | 4 +- .../Model/EmbeddedSignUrlResponseEmbedded.php | 4 +- sdks/php/src/Model/ErrorResponse.php | 2 +- sdks/php/src/Model/ErrorResponseError.php | 6 +- sdks/php/src/Model/EventCallbackRequest.php | 8 +-- .../src/Model/EventCallbackRequestEvent.php | 8 +-- .../EventCallbackRequestEventMetadata.php | 8 +-- sdks/php/src/Model/FaxGetResponse.php | 4 +- sdks/php/src/Model/FaxLineAddUserRequest.php | 6 +- .../src/Model/FaxLineAreaCodeGetResponse.php | 2 +- sdks/php/src/Model/FaxLineCreateRequest.php | 8 +-- sdks/php/src/Model/FaxLineDeleteRequest.php | 2 +- sdks/php/src/Model/FaxLineListResponse.php | 6 +- .../src/Model/FaxLineRemoveUserRequest.php | 6 +- sdks/php/src/Model/FaxLineResponse.php | 4 +- sdks/php/src/Model/FaxLineResponseFaxLine.php | 8 +-- sdks/php/src/Model/FaxListResponse.php | 4 +- sdks/php/src/Model/FaxResponse.php | 22 +++--- .../php/src/Model/FaxResponseTransmission.php | 6 +- sdks/php/src/Model/FaxSendRequest.php | 18 ++--- sdks/php/src/Model/FileResponse.php | 4 +- sdks/php/src/Model/FileResponseDataUri.php | 2 +- sdks/php/src/Model/ListInfoResponse.php | 8 +-- .../src/Model/OAuthTokenGenerateRequest.php | 10 +-- .../src/Model/OAuthTokenRefreshRequest.php | 8 +-- sdks/php/src/Model/OAuthTokenResponse.php | 10 +-- sdks/php/src/Model/ReportCreateRequest.php | 6 +- sdks/php/src/Model/ReportCreateResponse.php | 4 +- sdks/php/src/Model/ReportResponse.php | 8 +-- ...tBulkCreateEmbeddedWithTemplateRequest.php | 26 +++---- ...tureRequestBulkSendWithTemplateRequest.php | 26 +++---- .../SignatureRequestCreateEmbeddedRequest.php | 48 ++++++------- ...questCreateEmbeddedWithTemplateRequest.php | 30 ++++---- .../src/Model/SignatureRequestGetResponse.php | 4 +- .../Model/SignatureRequestListResponse.php | 6 +- .../Model/SignatureRequestRemindRequest.php | 4 +- .../src/Model/SignatureRequestResponse.php | 50 ++++++------- .../SignatureRequestResponseAttachment.php | 12 ++-- ...ignatureRequestResponseCustomFieldBase.php | 10 +-- ...tureRequestResponseCustomFieldCheckbox.php | 4 +- ...ignatureRequestResponseCustomFieldText.php | 4 +- .../SignatureRequestResponseDataBase.php | 10 +-- ...natureRequestResponseDataValueCheckbox.php | 4 +- ...eRequestResponseDataValueCheckboxMerge.php | 4 +- ...tureRequestResponseDataValueDateSigned.php | 4 +- ...natureRequestResponseDataValueDropdown.php | 4 +- ...natureRequestResponseDataValueInitials.php | 4 +- ...SignatureRequestResponseDataValueRadio.php | 4 +- ...atureRequestResponseDataValueSignature.php | 4 +- .../SignatureRequestResponseDataValueText.php | 4 +- ...atureRequestResponseDataValueTextMerge.php | 4 +- .../SignatureRequestResponseSignatures.php | 38 +++++----- .../src/Model/SignatureRequestSendRequest.php | 52 +++++++------- ...ignatureRequestSendWithTemplateRequest.php | 34 ++++----- .../Model/SignatureRequestUpdateRequest.php | 8 +-- sdks/php/src/Model/SubAttachment.php | 8 +-- sdks/php/src/Model/SubBulkSignerList.php | 4 +- .../Model/SubBulkSignerListCustomField.php | 4 +- sdks/php/src/Model/SubCC.php | 4 +- sdks/php/src/Model/SubCustomField.php | 8 +-- sdks/php/src/Model/SubEditorOptions.php | 4 +- sdks/php/src/Model/SubFieldOptions.php | 2 +- sdks/php/src/Model/SubFormFieldGroup.php | 6 +- sdks/php/src/Model/SubFormFieldRule.php | 8 +-- sdks/php/src/Model/SubFormFieldRuleAction.php | 8 +-- .../php/src/Model/SubFormFieldRuleTrigger.php | 8 +-- .../Model/SubFormFieldsPerDocumentBase.php | 22 +++--- .../SubFormFieldsPerDocumentCheckbox.php | 6 +- .../SubFormFieldsPerDocumentCheckboxMerge.php | 2 +- .../SubFormFieldsPerDocumentDateSigned.php | 6 +- .../SubFormFieldsPerDocumentDropdown.php | 10 +-- .../SubFormFieldsPerDocumentHyperlink.php | 10 +-- .../SubFormFieldsPerDocumentInitials.php | 2 +- .../Model/SubFormFieldsPerDocumentRadio.php | 6 +- .../SubFormFieldsPerDocumentSignature.php | 2 +- .../Model/SubFormFieldsPerDocumentText.php | 22 +++--- .../SubFormFieldsPerDocumentTextMerge.php | 6 +- sdks/php/src/Model/SubMergeField.php | 4 +- sdks/php/src/Model/SubOAuth.php | 4 +- sdks/php/src/Model/SubOptions.php | 2 +- .../SubSignatureRequestGroupedSigners.php | 6 +- .../src/Model/SubSignatureRequestSigner.php | 12 ++-- .../SubSignatureRequestTemplateSigner.php | 12 ++-- sdks/php/src/Model/SubSigningOptions.php | 10 +-- sdks/php/src/Model/SubTeamResponse.php | 4 +- sdks/php/src/Model/SubTemplateRole.php | 4 +- .../php/src/Model/SubUnclaimedDraftSigner.php | 6 +- .../Model/SubUnclaimedDraftTemplateSigner.php | 6 +- .../php/src/Model/SubWhiteLabelingOptions.php | 30 ++++---- sdks/php/src/Model/TeamAddMemberRequest.php | 6 +- sdks/php/src/Model/TeamCreateRequest.php | 2 +- sdks/php/src/Model/TeamGetInfoResponse.php | 4 +- sdks/php/src/Model/TeamGetResponse.php | 4 +- sdks/php/src/Model/TeamInfoResponse.php | 10 +-- sdks/php/src/Model/TeamInviteResponse.php | 12 ++-- sdks/php/src/Model/TeamInvitesResponse.php | 4 +- sdks/php/src/Model/TeamMemberResponse.php | 6 +- sdks/php/src/Model/TeamMembersResponse.php | 6 +- sdks/php/src/Model/TeamParentResponse.php | 4 +- .../php/src/Model/TeamRemoveMemberRequest.php | 10 +-- sdks/php/src/Model/TeamResponse.php | 8 +-- sdks/php/src/Model/TeamSubTeamsResponse.php | 6 +- sdks/php/src/Model/TeamUpdateRequest.php | 2 +- sdks/php/src/Model/TemplateAddUserRequest.php | 6 +- .../TemplateCreateEmbeddedDraftRequest.php | 50 ++++++------- .../TemplateCreateEmbeddedDraftResponse.php | 4 +- ...ateCreateEmbeddedDraftResponseTemplate.php | 8 +-- sdks/php/src/Model/TemplateCreateRequest.php | 36 +++++----- sdks/php/src/Model/TemplateCreateResponse.php | 4 +- .../Model/TemplateCreateResponseTemplate.php | 2 +- sdks/php/src/Model/TemplateEditResponse.php | 2 +- sdks/php/src/Model/TemplateGetResponse.php | 4 +- sdks/php/src/Model/TemplateListResponse.php | 6 +- .../src/Model/TemplateRemoveUserRequest.php | 4 +- sdks/php/src/Model/TemplateResponse.php | 32 ++++----- .../php/src/Model/TemplateResponseAccount.php | 12 ++-- .../Model/TemplateResponseAccountQuota.php | 8 +-- sdks/php/src/Model/TemplateResponseCCRole.php | 2 +- .../src/Model/TemplateResponseDocument.php | 12 ++-- ...emplateResponseDocumentCustomFieldBase.php | 20 +++--- ...ateResponseDocumentCustomFieldCheckbox.php | 2 +- ...emplateResponseDocumentCustomFieldText.php | 10 +-- .../TemplateResponseDocumentFieldGroup.php | 4 +- ...TemplateResponseDocumentFieldGroupRule.php | 4 +- .../TemplateResponseDocumentFormFieldBase.php | 18 ++--- ...plateResponseDocumentFormFieldCheckbox.php | 4 +- ...ateResponseDocumentFormFieldDateSigned.php | 4 +- ...plateResponseDocumentFormFieldDropdown.php | 4 +- ...lateResponseDocumentFormFieldHyperlink.php | 12 ++-- ...plateResponseDocumentFormFieldInitials.php | 4 +- ...TemplateResponseDocumentFormFieldRadio.php | 4 +- ...lateResponseDocumentFormFieldSignature.php | 4 +- .../TemplateResponseDocumentFormFieldText.php | 14 ++-- ...emplateResponseDocumentStaticFieldBase.php | 20 +++--- ...ateResponseDocumentStaticFieldCheckbox.php | 2 +- ...eResponseDocumentStaticFieldDateSigned.php | 2 +- ...ateResponseDocumentStaticFieldDropdown.php | 2 +- ...teResponseDocumentStaticFieldHyperlink.php | 2 +- ...ateResponseDocumentStaticFieldInitials.php | 2 +- ...mplateResponseDocumentStaticFieldRadio.php | 2 +- ...teResponseDocumentStaticFieldSignature.php | 2 +- ...emplateResponseDocumentStaticFieldText.php | 2 +- .../TemplateResponseFieldAvgTextLength.php | 4 +- .../src/Model/TemplateResponseSignerRole.php | 4 +- .../src/Model/TemplateUpdateFilesRequest.php | 12 ++-- .../src/Model/TemplateUpdateFilesResponse.php | 2 +- .../TemplateUpdateFilesResponseTemplate.php | 4 +- .../UnclaimedDraftCreateEmbeddedRequest.php | 72 +++++++++---------- ...DraftCreateEmbeddedWithTemplateRequest.php | 60 ++++++++-------- .../src/Model/UnclaimedDraftCreateRequest.php | 48 ++++++------- .../Model/UnclaimedDraftCreateResponse.php | 4 +- .../UnclaimedDraftEditAndResendRequest.php | 16 ++--- sdks/php/src/Model/UnclaimedDraftResponse.php | 12 ++-- sdks/php/src/Model/WarningResponse.php | 4 +- sdks/php/templates/model_generic.mustache | 5 ++ 182 files changed, 900 insertions(+), 895 deletions(-) diff --git a/sdks/php/src/Model/AccountCreateRequest.php b/sdks/php/src/Model/AccountCreateRequest.php index f4b927310..18b752235 100644 --- a/sdks/php/src/Model/AccountCreateRequest.php +++ b/sdks/php/src/Model/AccountCreateRequest.php @@ -336,7 +336,7 @@ public function getEmailAddress() * * @param string $email_address the email address which will be associated with the new Account * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { @@ -363,7 +363,7 @@ public function getClientId() * * @param string|null $client_id Used when creating a new account with OAuth authorization. See [OAuth 2.0 Authorization](https://app.hellosign.com/api/oauthWalkthrough#OAuthAuthorization) * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -390,7 +390,7 @@ public function getClientSecret() * * @param string|null $client_secret Used when creating a new account with OAuth authorization. See [OAuth 2.0 Authorization](https://app.hellosign.com/api/oauthWalkthrough#OAuthAuthorization) * - * @return self + * @return static */ public function setClientSecret(?string $client_secret) { @@ -417,7 +417,7 @@ public function getLocale() * * @param string|null $locale The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. * - * @return self + * @return static */ public function setLocale(?string $locale) { diff --git a/sdks/php/src/Model/AccountCreateResponse.php b/sdks/php/src/Model/AccountCreateResponse.php index 66e9a34d4..d1bcca2d7 100644 --- a/sdks/php/src/Model/AccountCreateResponse.php +++ b/sdks/php/src/Model/AccountCreateResponse.php @@ -329,7 +329,7 @@ public function getAccount() * * @param AccountResponse $account account * - * @return self + * @return static */ public function setAccount(AccountResponse $account) { @@ -356,7 +356,7 @@ public function getOauthData() * * @param OAuthTokenResponse|null $oauth_data oauth_data * - * @return self + * @return static */ public function setOauthData(?OAuthTokenResponse $oauth_data) { @@ -383,7 +383,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/AccountGetResponse.php b/sdks/php/src/Model/AccountGetResponse.php index b59da1285..edbbf276c 100644 --- a/sdks/php/src/Model/AccountGetResponse.php +++ b/sdks/php/src/Model/AccountGetResponse.php @@ -322,7 +322,7 @@ public function getAccount() * * @param AccountResponse $account account * - * @return self + * @return static */ public function setAccount(AccountResponse $account) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/AccountResponse.php b/sdks/php/src/Model/AccountResponse.php index 3fb1a1869..b726957ca 100644 --- a/sdks/php/src/Model/AccountResponse.php +++ b/sdks/php/src/Model/AccountResponse.php @@ -380,7 +380,7 @@ public function getAccountId() * * @param string|null $account_id The ID of the Account * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -407,7 +407,7 @@ public function getEmailAddress() * * @param string|null $email_address the email address associated with the Account * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -434,7 +434,7 @@ public function getIsLocked() * * @param bool|null $is_locked returns `true` if the user has been locked out of their account by a team admin * - * @return self + * @return static */ public function setIsLocked(?bool $is_locked) { @@ -461,7 +461,7 @@ public function getIsPaidHs() * * @param bool|null $is_paid_hs returns `true` if the user has a paid Dropbox Sign account * - * @return self + * @return static */ public function setIsPaidHs(?bool $is_paid_hs) { @@ -488,7 +488,7 @@ public function getIsPaidHf() * * @param bool|null $is_paid_hf returns `true` if the user has a paid HelloFax account * - * @return self + * @return static */ public function setIsPaidHf(?bool $is_paid_hf) { @@ -515,7 +515,7 @@ public function getQuotas() * * @param AccountResponseQuotas|null $quotas quotas * - * @return self + * @return static */ public function setQuotas(?AccountResponseQuotas $quotas) { @@ -542,7 +542,7 @@ public function getCallbackUrl() * * @param string|null $callback_url the URL that Dropbox Sign events will `POST` to * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -576,7 +576,7 @@ public function getRoleCode() * * @param string|null $role_code the membership role for the team * - * @return self + * @return static */ public function setRoleCode(?string $role_code) { @@ -610,7 +610,7 @@ public function getTeamId() * * @param string|null $team_id the id of the team account belongs to * - * @return self + * @return static */ public function setTeamId(?string $team_id) { @@ -644,7 +644,7 @@ public function getLocale() * * @param string|null $locale The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. * - * @return self + * @return static */ public function setLocale(?string $locale) { @@ -678,7 +678,7 @@ public function getUsage() * * @param AccountResponseUsage|null $usage usage * - * @return self + * @return static */ public function setUsage(?AccountResponseUsage $usage) { diff --git a/sdks/php/src/Model/AccountResponseQuotas.php b/sdks/php/src/Model/AccountResponseQuotas.php index 85d004055..778a68b96 100644 --- a/sdks/php/src/Model/AccountResponseQuotas.php +++ b/sdks/php/src/Model/AccountResponseQuotas.php @@ -345,7 +345,7 @@ public function getApiSignatureRequestsLeft() * * @param int|null $api_signature_requests_left API signature requests remaining * - * @return self + * @return static */ public function setApiSignatureRequestsLeft(?int $api_signature_requests_left) { @@ -379,7 +379,7 @@ public function getDocumentsLeft() * * @param int|null $documents_left signature requests remaining * - * @return self + * @return static */ public function setDocumentsLeft(?int $documents_left) { @@ -413,7 +413,7 @@ public function getTemplatesTotal() * * @param int|null $templates_total total API templates allowed * - * @return self + * @return static */ public function setTemplatesTotal(?int $templates_total) { @@ -447,7 +447,7 @@ public function getTemplatesLeft() * * @param int|null $templates_left API templates remaining * - * @return self + * @return static */ public function setTemplatesLeft(?int $templates_left) { @@ -481,7 +481,7 @@ public function getSmsVerificationsLeft() * * @param int|null $sms_verifications_left SMS verifications remaining * - * @return self + * @return static */ public function setSmsVerificationsLeft(?int $sms_verifications_left) { @@ -515,7 +515,7 @@ public function getNumFaxPagesLeft() * * @param int|null $num_fax_pages_left Number of fax pages left * - * @return self + * @return static */ public function setNumFaxPagesLeft(?int $num_fax_pages_left) { diff --git a/sdks/php/src/Model/AccountResponseUsage.php b/sdks/php/src/Model/AccountResponseUsage.php index 94eb509e7..c41306326 100644 --- a/sdks/php/src/Model/AccountResponseUsage.php +++ b/sdks/php/src/Model/AccountResponseUsage.php @@ -310,7 +310,7 @@ public function getFaxPagesSent() * * @param int|null $fax_pages_sent Number of fax pages sent * - * @return self + * @return static */ public function setFaxPagesSent(?int $fax_pages_sent) { diff --git a/sdks/php/src/Model/AccountUpdateRequest.php b/sdks/php/src/Model/AccountUpdateRequest.php index 34a65c498..2c97f4048 100644 --- a/sdks/php/src/Model/AccountUpdateRequest.php +++ b/sdks/php/src/Model/AccountUpdateRequest.php @@ -324,7 +324,7 @@ public function getAccountId() * * @param string|null $account_id The ID of the Account * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -358,7 +358,7 @@ public function getCallbackUrl() * * @param string|null $callback_url the URL that Dropbox Sign should POST events to * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -385,7 +385,7 @@ public function getLocale() * * @param string|null $locale The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. * - * @return self + * @return static */ public function setLocale(?string $locale) { diff --git a/sdks/php/src/Model/AccountVerifyRequest.php b/sdks/php/src/Model/AccountVerifyRequest.php index d8731ea40..a3fd84084 100644 --- a/sdks/php/src/Model/AccountVerifyRequest.php +++ b/sdks/php/src/Model/AccountVerifyRequest.php @@ -315,7 +315,7 @@ public function getEmailAddress() * * @param string $email_address email address to run the verification for * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { diff --git a/sdks/php/src/Model/AccountVerifyResponse.php b/sdks/php/src/Model/AccountVerifyResponse.php index f8f6a65e5..2d760e90f 100644 --- a/sdks/php/src/Model/AccountVerifyResponse.php +++ b/sdks/php/src/Model/AccountVerifyResponse.php @@ -317,7 +317,7 @@ public function getAccount() * * @param AccountVerifyResponseAccount|null $account account * - * @return self + * @return static */ public function setAccount(?AccountVerifyResponseAccount $account) { @@ -344,7 +344,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/AccountVerifyResponseAccount.php b/sdks/php/src/Model/AccountVerifyResponseAccount.php index 34a1de5e9..9397b52d1 100644 --- a/sdks/php/src/Model/AccountVerifyResponseAccount.php +++ b/sdks/php/src/Model/AccountVerifyResponseAccount.php @@ -310,7 +310,7 @@ public function getEmailAddress() * * @param string|null $email_address the email address associated with the Account * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { diff --git a/sdks/php/src/Model/ApiAppCreateRequest.php b/sdks/php/src/Model/ApiAppCreateRequest.php index d31444091..9e64d6119 100644 --- a/sdks/php/src/Model/ApiAppCreateRequest.php +++ b/sdks/php/src/Model/ApiAppCreateRequest.php @@ -369,7 +369,7 @@ public function getDomains() * * @param string[] $domains the domain names the ApiApp will be associated with * - * @return self + * @return static */ public function setDomains(array $domains) { @@ -403,7 +403,7 @@ public function getName() * * @param string $name the name you want to assign to the ApiApp * - * @return self + * @return static */ public function setName(string $name) { @@ -430,7 +430,7 @@ public function getCallbackUrl() * * @param string|null $callback_url the URL at which the ApiApp should receive event callbacks * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -457,7 +457,7 @@ public function getCustomLogoFile() * * @param SplFileObject|null $custom_logo_file An image file to use as a custom logo in embedded contexts. (Only applies to some API plans) * - * @return self + * @return static */ public function setCustomLogoFile(?SplFileObject $custom_logo_file) { @@ -484,7 +484,7 @@ public function getOauth() * * @param SubOAuth|null $oauth oauth * - * @return self + * @return static */ public function setOauth(?SubOAuth $oauth) { @@ -511,7 +511,7 @@ public function getOptions() * * @param SubOptions|null $options options * - * @return self + * @return static */ public function setOptions(?SubOptions $options) { @@ -538,7 +538,7 @@ public function getWhiteLabelingOptions() * * @param SubWhiteLabelingOptions|null $white_labeling_options white_labeling_options * - * @return self + * @return static */ public function setWhiteLabelingOptions(?SubWhiteLabelingOptions $white_labeling_options) { diff --git a/sdks/php/src/Model/ApiAppGetResponse.php b/sdks/php/src/Model/ApiAppGetResponse.php index f95c2b6e0..9b348d2df 100644 --- a/sdks/php/src/Model/ApiAppGetResponse.php +++ b/sdks/php/src/Model/ApiAppGetResponse.php @@ -322,7 +322,7 @@ public function getApiApp() * * @param ApiAppResponse $api_app api_app * - * @return self + * @return static */ public function setApiApp(ApiAppResponse $api_app) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/ApiAppListResponse.php b/sdks/php/src/Model/ApiAppListResponse.php index 44afca3c1..80cca49d5 100644 --- a/sdks/php/src/Model/ApiAppListResponse.php +++ b/sdks/php/src/Model/ApiAppListResponse.php @@ -332,7 +332,7 @@ public function getApiApps() * * @param ApiAppResponse[] $api_apps contains information about API Apps * - * @return self + * @return static */ public function setApiApps(array $api_apps) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/ApiAppResponse.php b/sdks/php/src/Model/ApiAppResponse.php index 3e214031d..32c31a303 100644 --- a/sdks/php/src/Model/ApiAppResponse.php +++ b/sdks/php/src/Model/ApiAppResponse.php @@ -374,7 +374,7 @@ public function getCallbackUrl() * * @param string|null $callback_url The app's callback URL (for events) * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -408,7 +408,7 @@ public function getClientId() * * @param string|null $client_id The app's client id * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -435,7 +435,7 @@ public function getCreatedAt() * * @param int|null $created_at The time that the app was created * - * @return self + * @return static */ public function setCreatedAt(?int $created_at) { @@ -462,7 +462,7 @@ public function getDomains() * * @param string[]|null $domains The domain name(s) associated with the app * - * @return self + * @return static */ public function setDomains(?array $domains) { @@ -489,7 +489,7 @@ public function getName() * * @param string|null $name The name of the app * - * @return self + * @return static */ public function setName(?string $name) { @@ -516,7 +516,7 @@ public function getIsApproved() * * @param bool|null $is_approved Boolean to indicate if the app has been approved * - * @return self + * @return static */ public function setIsApproved(?bool $is_approved) { @@ -543,7 +543,7 @@ public function getOauth() * * @param ApiAppResponseOAuth|null $oauth oauth * - * @return self + * @return static */ public function setOauth(?ApiAppResponseOAuth $oauth) { @@ -577,7 +577,7 @@ public function getOptions() * * @param ApiAppResponseOptions|null $options options * - * @return self + * @return static */ public function setOptions(?ApiAppResponseOptions $options) { @@ -611,7 +611,7 @@ public function getOwnerAccount() * * @param ApiAppResponseOwnerAccount|null $owner_account owner_account * - * @return self + * @return static */ public function setOwnerAccount(?ApiAppResponseOwnerAccount $owner_account) { @@ -638,7 +638,7 @@ public function getWhiteLabelingOptions() * * @param ApiAppResponseWhiteLabelingOptions|null $white_labeling_options white_labeling_options * - * @return self + * @return static */ public function setWhiteLabelingOptions(?ApiAppResponseWhiteLabelingOptions $white_labeling_options) { diff --git a/sdks/php/src/Model/ApiAppResponseOAuth.php b/sdks/php/src/Model/ApiAppResponseOAuth.php index ac2ecf08b..a1f384414 100644 --- a/sdks/php/src/Model/ApiAppResponseOAuth.php +++ b/sdks/php/src/Model/ApiAppResponseOAuth.php @@ -332,7 +332,7 @@ public function getCallbackUrl() * * @param string|null $callback_url the app's OAuth callback URL * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -359,7 +359,7 @@ public function getSecret() * * @param string|null $secret the app's OAuth secret, or null if the app does not belong to user * - * @return self + * @return static */ public function setSecret(?string $secret) { @@ -393,7 +393,7 @@ public function getScopes() * * @param string[]|null $scopes array of OAuth scopes used by the app * - * @return self + * @return static */ public function setScopes(?array $scopes) { @@ -420,7 +420,7 @@ public function getChargesUsers() * * @param bool|null $charges_users boolean indicating whether the app owner or the account granting permission is billed for OAuth requests * - * @return self + * @return static */ public function setChargesUsers(?bool $charges_users) { diff --git a/sdks/php/src/Model/ApiAppResponseOptions.php b/sdks/php/src/Model/ApiAppResponseOptions.php index 99c11f02a..bd7cfc1c7 100644 --- a/sdks/php/src/Model/ApiAppResponseOptions.php +++ b/sdks/php/src/Model/ApiAppResponseOptions.php @@ -311,7 +311,7 @@ public function getCanInsertEverywhere() * * @param bool|null $can_insert_everywhere Boolean denoting if signers can \"Insert Everywhere\" in one click while signing a document * - * @return self + * @return static */ public function setCanInsertEverywhere(?bool $can_insert_everywhere) { diff --git a/sdks/php/src/Model/ApiAppResponseOwnerAccount.php b/sdks/php/src/Model/ApiAppResponseOwnerAccount.php index ffc120960..4e09c34f7 100644 --- a/sdks/php/src/Model/ApiAppResponseOwnerAccount.php +++ b/sdks/php/src/Model/ApiAppResponseOwnerAccount.php @@ -318,7 +318,7 @@ public function getAccountId() * * @param string|null $account_id The owner account's ID * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -345,7 +345,7 @@ public function getEmailAddress() * * @param string|null $email_address The owner account's email address * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { diff --git a/sdks/php/src/Model/ApiAppResponseWhiteLabelingOptions.php b/sdks/php/src/Model/ApiAppResponseWhiteLabelingOptions.php index 95f29f5f4..bdd8b3d41 100644 --- a/sdks/php/src/Model/ApiAppResponseWhiteLabelingOptions.php +++ b/sdks/php/src/Model/ApiAppResponseWhiteLabelingOptions.php @@ -402,7 +402,7 @@ public function getHeaderBackgroundColor() * * @param string|null $header_background_color header_background_color * - * @return self + * @return static */ public function setHeaderBackgroundColor(?string $header_background_color) { @@ -429,7 +429,7 @@ public function getLegalVersion() * * @param string|null $legal_version legal_version * - * @return self + * @return static */ public function setLegalVersion(?string $legal_version) { @@ -456,7 +456,7 @@ public function getLinkColor() * * @param string|null $link_color link_color * - * @return self + * @return static */ public function setLinkColor(?string $link_color) { @@ -483,7 +483,7 @@ public function getPageBackgroundColor() * * @param string|null $page_background_color page_background_color * - * @return self + * @return static */ public function setPageBackgroundColor(?string $page_background_color) { @@ -510,7 +510,7 @@ public function getPrimaryButtonColor() * * @param string|null $primary_button_color primary_button_color * - * @return self + * @return static */ public function setPrimaryButtonColor(?string $primary_button_color) { @@ -537,7 +537,7 @@ public function getPrimaryButtonColorHover() * * @param string|null $primary_button_color_hover primary_button_color_hover * - * @return self + * @return static */ public function setPrimaryButtonColorHover(?string $primary_button_color_hover) { @@ -564,7 +564,7 @@ public function getPrimaryButtonTextColor() * * @param string|null $primary_button_text_color primary_button_text_color * - * @return self + * @return static */ public function setPrimaryButtonTextColor(?string $primary_button_text_color) { @@ -591,7 +591,7 @@ public function getPrimaryButtonTextColorHover() * * @param string|null $primary_button_text_color_hover primary_button_text_color_hover * - * @return self + * @return static */ public function setPrimaryButtonTextColorHover(?string $primary_button_text_color_hover) { @@ -618,7 +618,7 @@ public function getSecondaryButtonColor() * * @param string|null $secondary_button_color secondary_button_color * - * @return self + * @return static */ public function setSecondaryButtonColor(?string $secondary_button_color) { @@ -645,7 +645,7 @@ public function getSecondaryButtonColorHover() * * @param string|null $secondary_button_color_hover secondary_button_color_hover * - * @return self + * @return static */ public function setSecondaryButtonColorHover(?string $secondary_button_color_hover) { @@ -672,7 +672,7 @@ public function getSecondaryButtonTextColor() * * @param string|null $secondary_button_text_color secondary_button_text_color * - * @return self + * @return static */ public function setSecondaryButtonTextColor(?string $secondary_button_text_color) { @@ -699,7 +699,7 @@ public function getSecondaryButtonTextColorHover() * * @param string|null $secondary_button_text_color_hover secondary_button_text_color_hover * - * @return self + * @return static */ public function setSecondaryButtonTextColorHover(?string $secondary_button_text_color_hover) { @@ -726,7 +726,7 @@ public function getTextColor1() * * @param string|null $text_color1 text_color1 * - * @return self + * @return static */ public function setTextColor1(?string $text_color1) { @@ -753,7 +753,7 @@ public function getTextColor2() * * @param string|null $text_color2 text_color2 * - * @return self + * @return static */ public function setTextColor2(?string $text_color2) { diff --git a/sdks/php/src/Model/ApiAppUpdateRequest.php b/sdks/php/src/Model/ApiAppUpdateRequest.php index 456d143c2..22b86475f 100644 --- a/sdks/php/src/Model/ApiAppUpdateRequest.php +++ b/sdks/php/src/Model/ApiAppUpdateRequest.php @@ -359,7 +359,7 @@ public function getCallbackUrl() * * @param string|null $callback_url the URL at which the API App should receive event callbacks * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -386,7 +386,7 @@ public function getCustomLogoFile() * * @param SplFileObject|null $custom_logo_file An image file to use as a custom logo in embedded contexts. (Only applies to some API plans) * - * @return self + * @return static */ public function setCustomLogoFile(?SplFileObject $custom_logo_file) { @@ -413,7 +413,7 @@ public function getDomains() * * @param string[]|null $domains the domain names the ApiApp will be associated with * - * @return self + * @return static */ public function setDomains(?array $domains) { @@ -444,7 +444,7 @@ public function getName() * * @param string|null $name the name you want to assign to the ApiApp * - * @return self + * @return static */ public function setName(?string $name) { @@ -471,7 +471,7 @@ public function getOauth() * * @param SubOAuth|null $oauth oauth * - * @return self + * @return static */ public function setOauth(?SubOAuth $oauth) { @@ -498,7 +498,7 @@ public function getOptions() * * @param SubOptions|null $options options * - * @return self + * @return static */ public function setOptions(?SubOptions $options) { @@ -525,7 +525,7 @@ public function getWhiteLabelingOptions() * * @param SubWhiteLabelingOptions|null $white_labeling_options white_labeling_options * - * @return self + * @return static */ public function setWhiteLabelingOptions(?SubWhiteLabelingOptions $white_labeling_options) { diff --git a/sdks/php/src/Model/BulkSendJobGetResponse.php b/sdks/php/src/Model/BulkSendJobGetResponse.php index 3d97f3fe5..f4f0600ca 100644 --- a/sdks/php/src/Model/BulkSendJobGetResponse.php +++ b/sdks/php/src/Model/BulkSendJobGetResponse.php @@ -342,7 +342,7 @@ public function getBulkSendJob() * * @param BulkSendJobResponse $bulk_send_job bulk_send_job * - * @return self + * @return static */ public function setBulkSendJob(BulkSendJobResponse $bulk_send_job) { @@ -369,7 +369,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -396,7 +396,7 @@ public function getSignatureRequests() * * @param BulkSendJobGetResponseSignatureRequests[] $signature_requests contains information about the Signature Requests sent in bulk * - * @return self + * @return static */ public function setSignatureRequests(array $signature_requests) { @@ -423,7 +423,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/BulkSendJobGetResponseSignatureRequests.php b/sdks/php/src/Model/BulkSendJobGetResponseSignatureRequests.php index 0781348c0..369899258 100644 --- a/sdks/php/src/Model/BulkSendJobGetResponseSignatureRequests.php +++ b/sdks/php/src/Model/BulkSendJobGetResponseSignatureRequests.php @@ -478,7 +478,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test signature request. Test requests have no legal value. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -505,7 +505,7 @@ public function getSignatureRequestId() * * @param string|null $signature_request_id the id of the SignatureRequest * - * @return self + * @return static */ public function setSignatureRequestId(?string $signature_request_id) { @@ -532,7 +532,7 @@ public function getRequesterEmailAddress() * * @param string|null $requester_email_address the email address of the initiator of the SignatureRequest * - * @return self + * @return static */ public function setRequesterEmailAddress(?string $requester_email_address) { @@ -566,7 +566,7 @@ public function getTitle() * * @param string|null $title the title the specified Account uses for the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -593,7 +593,7 @@ public function getOriginalTitle() * * @param string|null $original_title default Label for account * - * @return self + * @return static */ public function setOriginalTitle(?string $original_title) { @@ -620,7 +620,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that was initially sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -654,7 +654,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that was initially sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -688,7 +688,7 @@ public function getMetadata() * * @param array|null $metadata the metadata attached to the signature request * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -715,7 +715,7 @@ public function getCreatedAt() * * @param int|null $created_at time the signature request was created * - * @return self + * @return static */ public function setCreatedAt(?int $created_at) { @@ -742,7 +742,7 @@ public function getExpiresAt() * * @param int|null $expires_at The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { @@ -776,7 +776,7 @@ public function getIsComplete() * * @param bool|null $is_complete whether or not the SignatureRequest has been fully executed by all signers * - * @return self + * @return static */ public function setIsComplete(?bool $is_complete) { @@ -803,7 +803,7 @@ public function getIsDeclined() * * @param bool|null $is_declined whether or not the SignatureRequest has been declined by a signer * - * @return self + * @return static */ public function setIsDeclined(?bool $is_declined) { @@ -830,7 +830,7 @@ public function getHasError() * * @param bool|null $has_error whether or not an error occurred (either during the creation of the SignatureRequest or during one of the signings) * - * @return self + * @return static */ public function setHasError(?bool $has_error) { @@ -857,7 +857,7 @@ public function getFilesUrl() * * @param string|null $files_url the URL where a copy of the request's documents can be downloaded * - * @return self + * @return static */ public function setFilesUrl(?string $files_url) { @@ -884,7 +884,7 @@ public function getSigningUrl() * * @param string|null $signing_url The URL where a signer, after authenticating, can sign the documents. This should only be used by users with existing Dropbox Sign accounts as they will be required to log in before signing. * - * @return self + * @return static */ public function setSigningUrl(?string $signing_url) { @@ -918,7 +918,7 @@ public function getDetailsUrl() * * @param string|null $details_url the URL where the requester and the signers can view the current status of the SignatureRequest * - * @return self + * @return static */ public function setDetailsUrl(?string $details_url) { @@ -945,7 +945,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses A list of email addresses that were CCed on the SignatureRequest. They will receive a copy of the final PDF once all the signers have signed. * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -972,7 +972,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want the signer redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1006,7 +1006,7 @@ public function getFinalCopyUri() * * @param string|null $final_copy_uri The path where the completed document can be downloaded * - * @return self + * @return static */ public function setFinalCopyUri(?string $final_copy_uri) { @@ -1040,7 +1040,7 @@ public function getTemplateIds() * * @param string[]|null $template_ids templates IDs used in this SignatureRequest (if any) * - * @return self + * @return static */ public function setTemplateIds(?array $template_ids) { @@ -1074,7 +1074,7 @@ public function getCustomFields() * * @param SignatureRequestResponseCustomFieldBase[]|null $custom_fields An array of Custom Field objects containing the name and type of each custom field. * Text Field uses `SignatureRequestResponseCustomFieldText` * Checkbox Field uses `SignatureRequestResponseCustomFieldCheckbox` * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -1108,7 +1108,7 @@ public function getAttachments() * * @param SignatureRequestResponseAttachment[]|null $attachments signer attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -1142,7 +1142,7 @@ public function getResponseData() * * @param SignatureRequestResponseDataBase[]|null $response_data an array of form field objects containing the name, value, and type of each textbox or checkmark field filled in by the signers * - * @return self + * @return static */ public function setResponseData(?array $response_data) { @@ -1176,7 +1176,7 @@ public function getSignatures() * * @param SignatureRequestResponseSignatures[]|null $signatures an array of signature objects, 1 for each signer * - * @return self + * @return static */ public function setSignatures(?array $signatures) { @@ -1203,7 +1203,7 @@ public function getBulkSendJobId() * * @param string|null $bulk_send_job_id the id of the BulkSendJob * - * @return self + * @return static */ public function setBulkSendJobId(?string $bulk_send_job_id) { diff --git a/sdks/php/src/Model/BulkSendJobListResponse.php b/sdks/php/src/Model/BulkSendJobListResponse.php index 8420c469f..a65254ac8 100644 --- a/sdks/php/src/Model/BulkSendJobListResponse.php +++ b/sdks/php/src/Model/BulkSendJobListResponse.php @@ -332,7 +332,7 @@ public function getBulkSendJobs() * * @param BulkSendJobResponse[] $bulk_send_jobs contains a list of BulkSendJobs that the API caller has access to * - * @return self + * @return static */ public function setBulkSendJobs(array $bulk_send_jobs) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/BulkSendJobResponse.php b/sdks/php/src/Model/BulkSendJobResponse.php index fcd66e120..9383d1ba2 100644 --- a/sdks/php/src/Model/BulkSendJobResponse.php +++ b/sdks/php/src/Model/BulkSendJobResponse.php @@ -332,7 +332,7 @@ public function getBulkSendJobId() * * @param string|null $bulk_send_job_id the id of the BulkSendJob * - * @return self + * @return static */ public function setBulkSendJobId(?string $bulk_send_job_id) { @@ -366,7 +366,7 @@ public function getTotal() * * @param int|null $total the total amount of Signature Requests queued for sending * - * @return self + * @return static */ public function setTotal(?int $total) { @@ -393,7 +393,7 @@ public function getIsCreator() * * @param bool|null $is_creator true if you are the owner of this BulkSendJob, false if it's been shared with you by a team member * - * @return self + * @return static */ public function setIsCreator(?bool $is_creator) { @@ -420,7 +420,7 @@ public function getCreatedAt() * * @param int|null $created_at time that the BulkSendJob was created * - * @return self + * @return static */ public function setCreatedAt(?int $created_at) { diff --git a/sdks/php/src/Model/BulkSendJobSendResponse.php b/sdks/php/src/Model/BulkSendJobSendResponse.php index 7797e84c7..f5f58c6dd 100644 --- a/sdks/php/src/Model/BulkSendJobSendResponse.php +++ b/sdks/php/src/Model/BulkSendJobSendResponse.php @@ -322,7 +322,7 @@ public function getBulkSendJob() * * @param BulkSendJobResponse $bulk_send_job bulk_send_job * - * @return self + * @return static */ public function setBulkSendJob(BulkSendJobResponse $bulk_send_job) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/EmbeddedEditUrlRequest.php b/sdks/php/src/Model/EmbeddedEditUrlRequest.php index b4992a4c8..7b4f49737 100644 --- a/sdks/php/src/Model/EmbeddedEditUrlRequest.php +++ b/sdks/php/src/Model/EmbeddedEditUrlRequest.php @@ -373,7 +373,7 @@ public function getAllowEditCcs() * * @param bool|null $allow_edit_ccs this allows the requester to enable/disable to add or change CC roles when editing the template * - * @return self + * @return static */ public function setAllowEditCcs(?bool $allow_edit_ccs) { @@ -400,7 +400,7 @@ public function getCcRoles() * * @param string[]|null $cc_roles The CC roles that must be assigned when using the template to send a signature request. To remove all CC roles, pass in a single role with no name. For use in a POST request. * - * @return self + * @return static */ public function setCcRoles(?array $cc_roles) { @@ -427,7 +427,7 @@ public function getEditorOptions() * * @param SubEditorOptions|null $editor_options editor_options * - * @return self + * @return static */ public function setEditorOptions(?SubEditorOptions $editor_options) { @@ -454,7 +454,7 @@ public function getForceSignerRoles() * * @param bool|null $force_signer_roles provide users the ability to review/edit the template signer roles * - * @return self + * @return static */ public function setForceSignerRoles(?bool $force_signer_roles) { @@ -481,7 +481,7 @@ public function getForceSubjectMessage() * * @param bool|null $force_subject_message provide users the ability to review/edit the template subject and message * - * @return self + * @return static */ public function setForceSubjectMessage(?bool $force_subject_message) { @@ -508,7 +508,7 @@ public function getMergeFields() * * @param SubMergeField[]|null $merge_fields Add additional merge fields to the template, which can be used used to pre-fill data by passing values into signature requests made with that template. Remove all merge fields on the template by passing an empty array `[]`. * - * @return self + * @return static */ public function setMergeFields(?array $merge_fields) { @@ -535,7 +535,7 @@ public function getPreviewOnly() * * @param bool|null $preview_only This allows the requester to enable the preview experience (i.e. does not allow the requester's end user to add any additional fields via the editor). **NOTE:** This parameter overwrites `show_preview=true` (if set). * - * @return self + * @return static */ public function setPreviewOnly(?bool $preview_only) { @@ -562,7 +562,7 @@ public function getShowPreview() * * @param bool|null $show_preview this allows the requester to enable the editor/preview experience * - * @return self + * @return static */ public function setShowPreview(?bool $show_preview) { @@ -589,7 +589,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -616,7 +616,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, locked templates will only be available for editing if this is set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { diff --git a/sdks/php/src/Model/EmbeddedEditUrlResponse.php b/sdks/php/src/Model/EmbeddedEditUrlResponse.php index 88320ef63..d60b967ff 100644 --- a/sdks/php/src/Model/EmbeddedEditUrlResponse.php +++ b/sdks/php/src/Model/EmbeddedEditUrlResponse.php @@ -322,7 +322,7 @@ public function getEmbedded() * * @param EmbeddedEditUrlResponseEmbedded $embedded embedded * - * @return self + * @return static */ public function setEmbedded(EmbeddedEditUrlResponseEmbedded $embedded) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/EmbeddedEditUrlResponseEmbedded.php b/sdks/php/src/Model/EmbeddedEditUrlResponseEmbedded.php index 0ef35374f..d3d8f8455 100644 --- a/sdks/php/src/Model/EmbeddedEditUrlResponseEmbedded.php +++ b/sdks/php/src/Model/EmbeddedEditUrlResponseEmbedded.php @@ -318,7 +318,7 @@ public function getEditUrl() * * @param string|null $edit_url a template url that can be opened in an iFrame * - * @return self + * @return static */ public function setEditUrl(?string $edit_url) { @@ -345,7 +345,7 @@ public function getExpiresAt() * * @param int|null $expires_at the specific time that the the `edit_url` link expires, in epoch * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/EmbeddedSignUrlResponse.php b/sdks/php/src/Model/EmbeddedSignUrlResponse.php index 4f91647aa..fc130dab2 100644 --- a/sdks/php/src/Model/EmbeddedSignUrlResponse.php +++ b/sdks/php/src/Model/EmbeddedSignUrlResponse.php @@ -322,7 +322,7 @@ public function getEmbedded() * * @param EmbeddedSignUrlResponseEmbedded $embedded embedded * - * @return self + * @return static */ public function setEmbedded(EmbeddedSignUrlResponseEmbedded $embedded) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/EmbeddedSignUrlResponseEmbedded.php b/sdks/php/src/Model/EmbeddedSignUrlResponseEmbedded.php index f8b6619ba..133707823 100644 --- a/sdks/php/src/Model/EmbeddedSignUrlResponseEmbedded.php +++ b/sdks/php/src/Model/EmbeddedSignUrlResponseEmbedded.php @@ -318,7 +318,7 @@ public function getSignUrl() * * @param string|null $sign_url a signature url that can be opened in an iFrame * - * @return self + * @return static */ public function setSignUrl(?string $sign_url) { @@ -345,7 +345,7 @@ public function getExpiresAt() * * @param int|null $expires_at the specific time that the the `sign_url` link expires, in epoch * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/ErrorResponse.php b/sdks/php/src/Model/ErrorResponse.php index 081ed78c0..d7665cbb9 100644 --- a/sdks/php/src/Model/ErrorResponse.php +++ b/sdks/php/src/Model/ErrorResponse.php @@ -315,7 +315,7 @@ public function getError() * * @param ErrorResponseError $error error * - * @return self + * @return static */ public function setError(ErrorResponseError $error) { diff --git a/sdks/php/src/Model/ErrorResponseError.php b/sdks/php/src/Model/ErrorResponseError.php index 60981920d..a1f61d26e 100644 --- a/sdks/php/src/Model/ErrorResponseError.php +++ b/sdks/php/src/Model/ErrorResponseError.php @@ -333,7 +333,7 @@ public function getErrorMsg() * * @param string $error_msg message describing an error * - * @return self + * @return static */ public function setErrorMsg(string $error_msg) { @@ -360,7 +360,7 @@ public function getErrorName() * * @param string $error_name name of the error * - * @return self + * @return static */ public function setErrorName(string $error_name) { @@ -387,7 +387,7 @@ public function getErrorPath() * * @param string|null $error_path path at which an error occurred * - * @return self + * @return static */ public function setErrorPath(?string $error_path) { diff --git a/sdks/php/src/Model/EventCallbackRequest.php b/sdks/php/src/Model/EventCallbackRequest.php index 35c806b2d..dd3420ab5 100644 --- a/sdks/php/src/Model/EventCallbackRequest.php +++ b/sdks/php/src/Model/EventCallbackRequest.php @@ -336,7 +336,7 @@ public function getEvent() * * @param EventCallbackRequestEvent $event event * - * @return self + * @return static */ public function setEvent(EventCallbackRequestEvent $event) { @@ -363,7 +363,7 @@ public function getAccount() * * @param AccountResponse|null $account account * - * @return self + * @return static */ public function setAccount(?AccountResponse $account) { @@ -390,7 +390,7 @@ public function getSignatureRequest() * * @param SignatureRequestResponse|null $signature_request signature_request * - * @return self + * @return static */ public function setSignatureRequest(?SignatureRequestResponse $signature_request) { @@ -417,7 +417,7 @@ public function getTemplate() * * @param TemplateResponse|null $template template * - * @return self + * @return static */ public function setTemplate(?TemplateResponse $template) { diff --git a/sdks/php/src/Model/EventCallbackRequestEvent.php b/sdks/php/src/Model/EventCallbackRequestEvent.php index 36d99c767..1afc1b3fd 100644 --- a/sdks/php/src/Model/EventCallbackRequestEvent.php +++ b/sdks/php/src/Model/EventCallbackRequestEvent.php @@ -410,7 +410,7 @@ public function getEventTime() * * @param string $event_time time the event was created (using Unix time) * - * @return self + * @return static */ public function setEventTime(string $event_time) { @@ -437,7 +437,7 @@ public function getEventType() * * @param string $event_type type of callback event that was triggered * - * @return self + * @return static */ public function setEventType(string $event_type) { @@ -474,7 +474,7 @@ public function getEventHash() * * @param string $event_hash generated hash used to verify source of event data * - * @return self + * @return static */ public function setEventHash(string $event_hash) { @@ -501,7 +501,7 @@ public function getEventMetadata() * * @param EventCallbackRequestEventMetadata|null $event_metadata event_metadata * - * @return self + * @return static */ public function setEventMetadata(?EventCallbackRequestEventMetadata $event_metadata) { diff --git a/sdks/php/src/Model/EventCallbackRequestEventMetadata.php b/sdks/php/src/Model/EventCallbackRequestEventMetadata.php index c0d665c8c..fa7047eca 100644 --- a/sdks/php/src/Model/EventCallbackRequestEventMetadata.php +++ b/sdks/php/src/Model/EventCallbackRequestEventMetadata.php @@ -331,7 +331,7 @@ public function getRelatedSignatureId() * * @param string|null $related_signature_id Signature ID for a specific signer. Applicable to `signature_request_signed` and `signature_request_viewed` events. * - * @return self + * @return static */ public function setRelatedSignatureId(?string $related_signature_id) { @@ -365,7 +365,7 @@ public function getReportedForAccountId() * * @param string|null $reported_for_account_id account ID the event was reported for * - * @return self + * @return static */ public function setReportedForAccountId(?string $reported_for_account_id) { @@ -399,7 +399,7 @@ public function getReportedForAppId() * * @param string|null $reported_for_app_id app ID the event was reported for * - * @return self + * @return static */ public function setReportedForAppId(?string $reported_for_app_id) { @@ -433,7 +433,7 @@ public function getEventMessage() * * @param string|null $event_message message about a declined or failed (due to error) signature flow * - * @return self + * @return static */ public function setEventMessage(?string $event_message) { diff --git a/sdks/php/src/Model/FaxGetResponse.php b/sdks/php/src/Model/FaxGetResponse.php index 232943492..f5ef926a6 100644 --- a/sdks/php/src/Model/FaxGetResponse.php +++ b/sdks/php/src/Model/FaxGetResponse.php @@ -322,7 +322,7 @@ public function getFax() * * @param FaxResponse $fax fax * - * @return self + * @return static */ public function setFax(FaxResponse $fax) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/FaxLineAddUserRequest.php b/sdks/php/src/Model/FaxLineAddUserRequest.php index b7e2c849a..e25d6423e 100644 --- a/sdks/php/src/Model/FaxLineAddUserRequest.php +++ b/sdks/php/src/Model/FaxLineAddUserRequest.php @@ -329,7 +329,7 @@ public function getNumber() * * @param string $number the Fax Line number * - * @return self + * @return static */ public function setNumber(string $number) { @@ -356,7 +356,7 @@ public function getAccountId() * * @param string|null $account_id Account ID * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -383,7 +383,7 @@ public function getEmailAddress() * * @param string|null $email_address Email address * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { diff --git a/sdks/php/src/Model/FaxLineAreaCodeGetResponse.php b/sdks/php/src/Model/FaxLineAreaCodeGetResponse.php index 085e8a8e3..491aa08df 100644 --- a/sdks/php/src/Model/FaxLineAreaCodeGetResponse.php +++ b/sdks/php/src/Model/FaxLineAreaCodeGetResponse.php @@ -315,7 +315,7 @@ public function getAreaCodes() * * @param int[] $area_codes area_codes * - * @return self + * @return static */ public function setAreaCodes(array $area_codes) { diff --git a/sdks/php/src/Model/FaxLineCreateRequest.php b/sdks/php/src/Model/FaxLineCreateRequest.php index a898fef9d..7c2605880 100644 --- a/sdks/php/src/Model/FaxLineCreateRequest.php +++ b/sdks/php/src/Model/FaxLineCreateRequest.php @@ -366,7 +366,7 @@ public function getAreaCode() * * @param int $area_code Area code * - * @return self + * @return static */ public function setAreaCode(int $area_code) { @@ -393,7 +393,7 @@ public function getCountry() * * @param string $country Country * - * @return self + * @return static */ public function setCountry(string $country) { @@ -430,7 +430,7 @@ public function getCity() * * @param string|null $city City * - * @return self + * @return static */ public function setCity(?string $city) { @@ -457,7 +457,7 @@ public function getAccountId() * * @param string|null $account_id Account ID * - * @return self + * @return static */ public function setAccountId(?string $account_id) { diff --git a/sdks/php/src/Model/FaxLineDeleteRequest.php b/sdks/php/src/Model/FaxLineDeleteRequest.php index 1fc4fa4a6..a8c565158 100644 --- a/sdks/php/src/Model/FaxLineDeleteRequest.php +++ b/sdks/php/src/Model/FaxLineDeleteRequest.php @@ -315,7 +315,7 @@ public function getNumber() * * @param string $number the Fax Line number * - * @return self + * @return static */ public function setNumber(string $number) { diff --git a/sdks/php/src/Model/FaxLineListResponse.php b/sdks/php/src/Model/FaxLineListResponse.php index 1b32ad49c..37df24f16 100644 --- a/sdks/php/src/Model/FaxLineListResponse.php +++ b/sdks/php/src/Model/FaxLineListResponse.php @@ -332,7 +332,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -359,7 +359,7 @@ public function getFaxLines() * * @param FaxLineResponseFaxLine[] $fax_lines fax_lines * - * @return self + * @return static */ public function setFaxLines(array $fax_lines) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse|null $warnings warnings * - * @return self + * @return static */ public function setWarnings(?WarningResponse $warnings) { diff --git a/sdks/php/src/Model/FaxLineRemoveUserRequest.php b/sdks/php/src/Model/FaxLineRemoveUserRequest.php index 5bec49060..9df445cac 100644 --- a/sdks/php/src/Model/FaxLineRemoveUserRequest.php +++ b/sdks/php/src/Model/FaxLineRemoveUserRequest.php @@ -329,7 +329,7 @@ public function getNumber() * * @param string $number the Fax Line number * - * @return self + * @return static */ public function setNumber(string $number) { @@ -356,7 +356,7 @@ public function getAccountId() * * @param string|null $account_id Account ID * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -383,7 +383,7 @@ public function getEmailAddress() * * @param string|null $email_address Email address * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { diff --git a/sdks/php/src/Model/FaxLineResponse.php b/sdks/php/src/Model/FaxLineResponse.php index c30616f6c..7f9e5f994 100644 --- a/sdks/php/src/Model/FaxLineResponse.php +++ b/sdks/php/src/Model/FaxLineResponse.php @@ -322,7 +322,7 @@ public function getFaxLine() * * @param FaxLineResponseFaxLine $fax_line fax_line * - * @return self + * @return static */ public function setFaxLine(FaxLineResponseFaxLine $fax_line) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse|null $warnings warnings * - * @return self + * @return static */ public function setWarnings(?WarningResponse $warnings) { diff --git a/sdks/php/src/Model/FaxLineResponseFaxLine.php b/sdks/php/src/Model/FaxLineResponseFaxLine.php index 4a3fe8fa7..53af774aa 100644 --- a/sdks/php/src/Model/FaxLineResponseFaxLine.php +++ b/sdks/php/src/Model/FaxLineResponseFaxLine.php @@ -331,7 +331,7 @@ public function getNumber() * * @param string|null $number Number * - * @return self + * @return static */ public function setNumber(?string $number) { @@ -358,7 +358,7 @@ public function getCreatedAt() * * @param int|null $created_at Created at * - * @return self + * @return static */ public function setCreatedAt(?int $created_at) { @@ -385,7 +385,7 @@ public function getUpdatedAt() * * @param int|null $updated_at Updated at * - * @return self + * @return static */ public function setUpdatedAt(?int $updated_at) { @@ -412,7 +412,7 @@ public function getAccounts() * * @param AccountResponse[]|null $accounts accounts * - * @return self + * @return static */ public function setAccounts(?array $accounts) { diff --git a/sdks/php/src/Model/FaxListResponse.php b/sdks/php/src/Model/FaxListResponse.php index 21e89d342..a04003570 100644 --- a/sdks/php/src/Model/FaxListResponse.php +++ b/sdks/php/src/Model/FaxListResponse.php @@ -325,7 +325,7 @@ public function getFaxes() * * @param FaxResponse[] $faxes faxes * - * @return self + * @return static */ public function setFaxes(array $faxes) { @@ -352,7 +352,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { diff --git a/sdks/php/src/Model/FaxResponse.php b/sdks/php/src/Model/FaxResponse.php index 9471ccc8a..3387048e5 100644 --- a/sdks/php/src/Model/FaxResponse.php +++ b/sdks/php/src/Model/FaxResponse.php @@ -406,7 +406,7 @@ public function getFaxId() * * @param string $fax_id Fax ID * - * @return self + * @return static */ public function setFaxId(string $fax_id) { @@ -433,7 +433,7 @@ public function getTitle() * * @param string $title Fax Title * - * @return self + * @return static */ public function setTitle(string $title) { @@ -460,7 +460,7 @@ public function getOriginalTitle() * * @param string $original_title Fax Original Title * - * @return self + * @return static */ public function setOriginalTitle(string $original_title) { @@ -487,7 +487,7 @@ public function getMetadata() * * @param array $metadata Fax Metadata * - * @return self + * @return static */ public function setMetadata(array $metadata) { @@ -514,7 +514,7 @@ public function getCreatedAt() * * @param int $created_at Fax Created At Timestamp * - * @return self + * @return static */ public function setCreatedAt(int $created_at) { @@ -541,7 +541,7 @@ public function getSender() * * @param string $sender Fax Sender Email * - * @return self + * @return static */ public function setSender(string $sender) { @@ -568,7 +568,7 @@ public function getFilesUrl() * * @param string $files_url Fax Files URL * - * @return self + * @return static */ public function setFilesUrl(string $files_url) { @@ -595,7 +595,7 @@ public function getTransmissions() * * @param FaxResponseTransmission[] $transmissions Fax Transmissions List * - * @return self + * @return static */ public function setTransmissions(array $transmissions) { @@ -622,7 +622,7 @@ public function getSubject() * * @param string|null $subject Fax Subject * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -656,7 +656,7 @@ public function getMessage() * * @param string|null $message Fax Message * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -690,7 +690,7 @@ public function getFinalCopyUri() * * @param string|null $final_copy_uri The path where the completed document can be downloaded * - * @return self + * @return static */ public function setFinalCopyUri(?string $final_copy_uri) { diff --git a/sdks/php/src/Model/FaxResponseTransmission.php b/sdks/php/src/Model/FaxResponseTransmission.php index 8c30b8ad5..fb96022aa 100644 --- a/sdks/php/src/Model/FaxResponseTransmission.php +++ b/sdks/php/src/Model/FaxResponseTransmission.php @@ -369,7 +369,7 @@ public function getRecipient() * * @param string $recipient Fax Transmission Recipient * - * @return self + * @return static */ public function setRecipient(string $recipient) { @@ -396,7 +396,7 @@ public function getStatusCode() * * @param string $status_code Fax Transmission Status Code * - * @return self + * @return static */ public function setStatusCode(string $status_code) { @@ -433,7 +433,7 @@ public function getSentAt() * * @param int|null $sent_at Fax Transmission Sent Timestamp * - * @return self + * @return static */ public function setSentAt(?int $sent_at) { diff --git a/sdks/php/src/Model/FaxSendRequest.php b/sdks/php/src/Model/FaxSendRequest.php index d09573478..db01a268a 100644 --- a/sdks/php/src/Model/FaxSendRequest.php +++ b/sdks/php/src/Model/FaxSendRequest.php @@ -372,7 +372,7 @@ public function getRecipient() * * @param string $recipient Fax Send To Recipient * - * @return self + * @return static */ public function setRecipient(string $recipient) { @@ -399,7 +399,7 @@ public function getSender() * * @param string|null $sender Fax Send From Sender (used only with fax number) * - * @return self + * @return static */ public function setSender(?string $sender) { @@ -426,7 +426,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Fax File to Send * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -453,7 +453,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Fax File URL to Send * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -480,7 +480,7 @@ public function getTestMode() * * @param bool|null $test_mode API Test Mode Setting * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -507,7 +507,7 @@ public function getCoverPageTo() * * @param string|null $cover_page_to Fax Cover Page for Recipient * - * @return self + * @return static */ public function setCoverPageTo(?string $cover_page_to) { @@ -534,7 +534,7 @@ public function getCoverPageFrom() * * @param string|null $cover_page_from Fax Cover Page for Sender * - * @return self + * @return static */ public function setCoverPageFrom(?string $cover_page_from) { @@ -561,7 +561,7 @@ public function getCoverPageMessage() * * @param string|null $cover_page_message Fax Cover Page Message * - * @return self + * @return static */ public function setCoverPageMessage(?string $cover_page_message) { @@ -588,7 +588,7 @@ public function getTitle() * * @param string|null $title Fax Title * - * @return self + * @return static */ public function setTitle(?string $title) { diff --git a/sdks/php/src/Model/FileResponse.php b/sdks/php/src/Model/FileResponse.php index 3ebdc3378..000e78dc8 100644 --- a/sdks/php/src/Model/FileResponse.php +++ b/sdks/php/src/Model/FileResponse.php @@ -325,7 +325,7 @@ public function getFileUrl() * * @param string $file_url URL to the file * - * @return self + * @return static */ public function setFileUrl(string $file_url) { @@ -352,7 +352,7 @@ public function getExpiresAt() * * @param int $expires_at when the link expires * - * @return self + * @return static */ public function setExpiresAt(int $expires_at) { diff --git a/sdks/php/src/Model/FileResponseDataUri.php b/sdks/php/src/Model/FileResponseDataUri.php index 474e8a73d..f98f2642c 100644 --- a/sdks/php/src/Model/FileResponseDataUri.php +++ b/sdks/php/src/Model/FileResponseDataUri.php @@ -315,7 +315,7 @@ public function getDataUri() * * @param string $data_uri file as base64 encoded string * - * @return self + * @return static */ public function setDataUri(string $data_uri) { diff --git a/sdks/php/src/Model/ListInfoResponse.php b/sdks/php/src/Model/ListInfoResponse.php index 623284e41..0eb91bdeb 100644 --- a/sdks/php/src/Model/ListInfoResponse.php +++ b/sdks/php/src/Model/ListInfoResponse.php @@ -332,7 +332,7 @@ public function getNumPages() * * @param int|null $num_pages total number of pages available * - * @return self + * @return static */ public function setNumPages(?int $num_pages) { @@ -359,7 +359,7 @@ public function getNumResults() * * @param int|null $num_results total number of objects available * - * @return self + * @return static */ public function setNumResults(?int $num_results) { @@ -393,7 +393,7 @@ public function getPage() * * @param int|null $page number of the page being returned * - * @return self + * @return static */ public function setPage(?int $page) { @@ -420,7 +420,7 @@ public function getPageSize() * * @param int|null $page_size objects returned per page * - * @return self + * @return static */ public function setPageSize(?int $page_size) { diff --git a/sdks/php/src/Model/OAuthTokenGenerateRequest.php b/sdks/php/src/Model/OAuthTokenGenerateRequest.php index 38a0395d1..e8bc7a215 100644 --- a/sdks/php/src/Model/OAuthTokenGenerateRequest.php +++ b/sdks/php/src/Model/OAuthTokenGenerateRequest.php @@ -355,7 +355,7 @@ public function getClientId() * * @param string $client_id the client id of the app requesting authorization * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -382,7 +382,7 @@ public function getClientSecret() * * @param string $client_secret the secret token of your app * - * @return self + * @return static */ public function setClientSecret(string $client_secret) { @@ -409,7 +409,7 @@ public function getCode() * * @param string $code the code passed to your callback when the user granted access * - * @return self + * @return static */ public function setCode(string $code) { @@ -436,7 +436,7 @@ public function getGrantType() * * @param string $grant_type when generating a new token use `authorization_code` * - * @return self + * @return static */ public function setGrantType(string $grant_type) { @@ -463,7 +463,7 @@ public function getState() * * @param string $state same as the state you specified earlier * - * @return self + * @return static */ public function setState(string $state) { diff --git a/sdks/php/src/Model/OAuthTokenRefreshRequest.php b/sdks/php/src/Model/OAuthTokenRefreshRequest.php index 11cf05a3b..acef5ecfd 100644 --- a/sdks/php/src/Model/OAuthTokenRefreshRequest.php +++ b/sdks/php/src/Model/OAuthTokenRefreshRequest.php @@ -339,7 +339,7 @@ public function getGrantType() * * @param string $grant_type when refreshing an existing token use `refresh_token` * - * @return self + * @return static */ public function setGrantType(string $grant_type) { @@ -366,7 +366,7 @@ public function getRefreshToken() * * @param string $refresh_token the token provided when you got the expired access token * - * @return self + * @return static */ public function setRefreshToken(string $refresh_token) { @@ -393,7 +393,7 @@ public function getClientId() * * @param string|null $client_id The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -420,7 +420,7 @@ public function getClientSecret() * * @param string|null $client_secret The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled. * - * @return self + * @return static */ public function setClientSecret(?string $client_secret) { diff --git a/sdks/php/src/Model/OAuthTokenResponse.php b/sdks/php/src/Model/OAuthTokenResponse.php index 8c83de78e..a0b016e3c 100644 --- a/sdks/php/src/Model/OAuthTokenResponse.php +++ b/sdks/php/src/Model/OAuthTokenResponse.php @@ -338,7 +338,7 @@ public function getAccessToken() * * @param string|null $access_token access_token * - * @return self + * @return static */ public function setAccessToken(?string $access_token) { @@ -365,7 +365,7 @@ public function getTokenType() * * @param string|null $token_type token_type * - * @return self + * @return static */ public function setTokenType(?string $token_type) { @@ -392,7 +392,7 @@ public function getRefreshToken() * * @param string|null $refresh_token refresh_token * - * @return self + * @return static */ public function setRefreshToken(?string $refresh_token) { @@ -419,7 +419,7 @@ public function getExpiresIn() * * @param int|null $expires_in Number of seconds until the `access_token` expires. Uses epoch time. * - * @return self + * @return static */ public function setExpiresIn(?int $expires_in) { @@ -446,7 +446,7 @@ public function getState() * * @param string|null $state state * - * @return self + * @return static */ public function setState(?string $state) { diff --git a/sdks/php/src/Model/ReportCreateRequest.php b/sdks/php/src/Model/ReportCreateRequest.php index 58029634b..1e97d7e5b 100644 --- a/sdks/php/src/Model/ReportCreateRequest.php +++ b/sdks/php/src/Model/ReportCreateRequest.php @@ -359,7 +359,7 @@ public function getEndDate() * * @param string $end_date the (inclusive) end date for the report data in `MM/DD/YYYY` format * - * @return self + * @return static */ public function setEndDate(string $end_date) { @@ -386,7 +386,7 @@ public function getReportType() * * @param string[] $report_type The type(s) of the report you are requesting. Allowed values are `user_activity` and `document_status`. User activity reports contain list of all users and their activity during the specified date range. Document status report contain a list of signature requests created in the specified time range (and their status). * - * @return self + * @return static */ public function setReportType(array $report_type) { @@ -429,7 +429,7 @@ public function getStartDate() * * @param string $start_date the (inclusive) start date for the report data in `MM/DD/YYYY` format * - * @return self + * @return static */ public function setStartDate(string $start_date) { diff --git a/sdks/php/src/Model/ReportCreateResponse.php b/sdks/php/src/Model/ReportCreateResponse.php index 415406e3c..aa0dd308f 100644 --- a/sdks/php/src/Model/ReportCreateResponse.php +++ b/sdks/php/src/Model/ReportCreateResponse.php @@ -322,7 +322,7 @@ public function getReport() * * @param ReportResponse $report report * - * @return self + * @return static */ public function setReport(ReportResponse $report) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/ReportResponse.php b/sdks/php/src/Model/ReportResponse.php index c2d024ca1..dd6407a47 100644 --- a/sdks/php/src/Model/ReportResponse.php +++ b/sdks/php/src/Model/ReportResponse.php @@ -348,7 +348,7 @@ public function getSuccess() * * @param string|null $success A message indicating the requested operation's success * - * @return self + * @return static */ public function setSuccess(?string $success) { @@ -375,7 +375,7 @@ public function getStartDate() * * @param string|null $start_date the (inclusive) start date for the report data in MM/DD/YYYY format * - * @return self + * @return static */ public function setStartDate(?string $start_date) { @@ -402,7 +402,7 @@ public function getEndDate() * * @param string|null $end_date the (inclusive) end date for the report data in MM/DD/YYYY format * - * @return self + * @return static */ public function setEndDate(?string $end_date) { @@ -429,7 +429,7 @@ public function getReportType() * * @param string[]|null $report_type The type(s) of the report you are requesting. Allowed values are \"user_activity\" and \"document_status\". User activity reports contain list of all users and their activity during the specified date range. Document status report contain a list of signature requests created in the specified time range (and their status). * - * @return self + * @return static */ public function setReportType(?array $report_type) { diff --git a/sdks/php/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php b/sdks/php/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php index 9c5947fec..c12811ee1 100644 --- a/sdks/php/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php +++ b/sdks/php/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php @@ -415,7 +415,7 @@ public function getTemplateIds() * * @param string[] $template_ids use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used * - * @return self + * @return static */ public function setTemplateIds(array $template_ids) { @@ -442,7 +442,7 @@ public function getClientId() * * @param string $client_id Client id of the app you're using to create this embedded signature request. Used for security purposes. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -469,7 +469,7 @@ public function getSignerFile() * * @param SplFileObject|null $signer_file `signer_file` is a CSV file defining values and options for signer fields. Required unless a `signer_list` is used, you may not use both. The CSV can have the following columns: - `name`: the name of the signer filling the role of RoleName - `email_address`: email address of the signer filling the role of RoleName - `pin`: the 4- to 12-character access code that will secure this signer's signature page (optional) - `sms_phone_number`: An E.164 formatted phone number that will receive a code via SMS to access this signer's signature page. (optional) By using the feature, you agree you are responsible for obtaining a signer's consent to receive text messages from Dropbox Sign related to this signature request and confirm you have obtained such consent from all signers prior to enabling SMS delivery for this signature request. [Learn more](https://faq.hellosign.com/hc/en-us/articles/15815316468877-Dropbox-Sign-SMS-tools-add-on). **NOTE:** Not available in test mode and requires a Standard plan or higher. - `*_field`: any column with a _field\" suffix will be treated as a custom field (optional) You may only specify field values here, any other options should be set in the custom_fields request parameter. Example CSV: ``` name, email_address, pin, company_field George, george@example.com, d79a3td, ABC Corp Mary, mary@example.com, gd9as5b, 123 LLC ``` * - * @return self + * @return static */ public function setSignerFile(?SplFileObject $signer_file) { @@ -496,7 +496,7 @@ public function getSignerList() * * @param SubBulkSignerList[]|null $signer_list `signer_list` is an array defining values and options for signer fields. Required unless a `signer_file` is used, you may not use both. * - * @return self + * @return static */ public function setSignerList(?array $signer_list) { @@ -523,7 +523,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -550,7 +550,7 @@ public function getCcs() * * @param SubCC[]|null $ccs Add CC email recipients. Required when a CC role exists for the Template. * - * @return self + * @return static */ public function setCcs(?array $ccs) { @@ -577,7 +577,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -604,7 +604,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -635,7 +635,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -663,7 +663,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -690,7 +690,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -721,7 +721,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -748,7 +748,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { diff --git a/sdks/php/src/Model/SignatureRequestBulkSendWithTemplateRequest.php b/sdks/php/src/Model/SignatureRequestBulkSendWithTemplateRequest.php index 26092eb3f..f37c02ff2 100644 --- a/sdks/php/src/Model/SignatureRequestBulkSendWithTemplateRequest.php +++ b/sdks/php/src/Model/SignatureRequestBulkSendWithTemplateRequest.php @@ -412,7 +412,7 @@ public function getTemplateIds() * * @param string[] $template_ids use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used * - * @return self + * @return static */ public function setTemplateIds(array $template_ids) { @@ -439,7 +439,7 @@ public function getSignerFile() * * @param SplFileObject|null $signer_file `signer_file` is a CSV file defining values and options for signer fields. Required unless a `signer_list` is used, you may not use both. The CSV can have the following columns: - `name`: the name of the signer filling the role of RoleName - `email_address`: email address of the signer filling the role of RoleName - `pin`: the 4- to 12-character access code that will secure this signer's signature page (optional) - `sms_phone_number`: An E.164 formatted phone number that will receive a code via SMS to access this signer's signature page. (optional) By using the feature, you agree you are responsible for obtaining a signer's consent to receive text messages from Dropbox Sign related to this signature request and confirm you have obtained such consent from all signers prior to enabling SMS delivery for this signature request. [Learn more](https://faq.hellosign.com/hc/en-us/articles/15815316468877-Dropbox-Sign-SMS-tools-add-on). **NOTE:** Not available in test mode and requires a Standard plan or higher. - `*_field`: any column with a _field\" suffix will be treated as a custom field (optional) You may only specify field values here, any other options should be set in the custom_fields request parameter. Example CSV: ``` name, email_address, pin, company_field George, george@example.com, d79a3td, ABC Corp Mary, mary@example.com, gd9as5b, 123 LLC ``` * - * @return self + * @return static */ public function setSignerFile(?SplFileObject $signer_file) { @@ -466,7 +466,7 @@ public function getSignerList() * * @param SubBulkSignerList[]|null $signer_list `signer_list` is an array defining values and options for signer fields. Required unless a `signer_file` is used, you may not use both. * - * @return self + * @return static */ public function setSignerList(?array $signer_list) { @@ -493,7 +493,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -520,7 +520,7 @@ public function getCcs() * * @param SubCC[]|null $ccs Add CC email recipients. Required when a CC role exists for the Template. * - * @return self + * @return static */ public function setCcs(?array $ccs) { @@ -547,7 +547,7 @@ public function getClientId() * * @param string|null $client_id The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -574,7 +574,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -601,7 +601,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -632,7 +632,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -660,7 +660,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -687,7 +687,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -718,7 +718,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -745,7 +745,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { diff --git a/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php b/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php index 7d14b823c..1ca946d33 100644 --- a/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php +++ b/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php @@ -489,7 +489,7 @@ public function getClientId() * * @param string $client_id Client id of the app you're using to create this embedded signature request. Used for security purposes. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -516,7 +516,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -543,7 +543,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -570,7 +570,7 @@ public function getSigners() * * @param SubSignatureRequestSigner[]|null $signers Add Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both. * - * @return self + * @return static */ public function setSigners(?array $signers) { @@ -597,7 +597,7 @@ public function getGroupedSigners() * * @param SubSignatureRequestGroupedSigners[]|null $grouped_signers Add Grouped Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both. * - * @return self + * @return static */ public function setGroupedSigners(?array $grouped_signers) { @@ -624,7 +624,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -651,7 +651,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -678,7 +678,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -705,7 +705,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses the email addresses that should be CCed * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -732,7 +732,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -759,7 +759,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -786,7 +786,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -813,7 +813,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -840,7 +840,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[]|null $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(?array $form_fields_per_document) { @@ -867,7 +867,7 @@ public function getHideTextTags() * * @param bool|null $hide_text_tags Enables automatic Text Tag removal when set to true. **NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. * - * @return self + * @return static */ public function setHideTextTags(?bool $hide_text_tags) { @@ -894,7 +894,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -925,7 +925,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -953,7 +953,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -980,7 +980,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1011,7 +1011,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1038,7 +1038,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -1069,7 +1069,7 @@ public function getUseTextTags() * * @param bool|null $use_text_tags Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. * - * @return self + * @return static */ public function setUseTextTags(?bool $use_text_tags) { @@ -1096,7 +1096,7 @@ public function getPopulateAutoFillFields() * * @param bool|null $populate_auto_fill_fields Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. * - * @return self + * @return static */ public function setPopulateAutoFillFields(?bool $populate_auto_fill_fields) { @@ -1123,7 +1123,7 @@ public function getExpiresAt() * * @param int|null $expires_at When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php b/sdks/php/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php index b98f7b8b7..5b99034eb 100644 --- a/sdks/php/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php +++ b/sdks/php/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php @@ -432,7 +432,7 @@ public function getTemplateIds() * * @param string[] $template_ids use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used * - * @return self + * @return static */ public function setTemplateIds(array $template_ids) { @@ -459,7 +459,7 @@ public function getClientId() * * @param string $client_id Client id of the app you're using to create this embedded signature request. Used for security purposes. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -486,7 +486,7 @@ public function getSigners() * * @param SubSignatureRequestTemplateSigner[] $signers add Signers to your Templated-based Signature Request * - * @return self + * @return static */ public function setSigners(array $signers) { @@ -513,7 +513,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -540,7 +540,7 @@ public function getCcs() * * @param SubCC[]|null $ccs Add CC email recipients. Required when a CC role exists for the Template. * - * @return self + * @return static */ public function setCcs(?array $ccs) { @@ -567,7 +567,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields An array defining values and options for custom fields. Required when a custom field exists in the Template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -594,7 +594,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -621,7 +621,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -648,7 +648,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -679,7 +679,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -707,7 +707,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -734,7 +734,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -765,7 +765,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -792,7 +792,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -823,7 +823,7 @@ public function getPopulateAutoFillFields() * * @param bool|null $populate_auto_fill_fields Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. * - * @return self + * @return static */ public function setPopulateAutoFillFields(?bool $populate_auto_fill_fields) { diff --git a/sdks/php/src/Model/SignatureRequestGetResponse.php b/sdks/php/src/Model/SignatureRequestGetResponse.php index 97f5f7c9f..757f7f332 100644 --- a/sdks/php/src/Model/SignatureRequestGetResponse.php +++ b/sdks/php/src/Model/SignatureRequestGetResponse.php @@ -322,7 +322,7 @@ public function getSignatureRequest() * * @param SignatureRequestResponse $signature_request signature_request * - * @return self + * @return static */ public function setSignatureRequest(SignatureRequestResponse $signature_request) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/SignatureRequestListResponse.php b/sdks/php/src/Model/SignatureRequestListResponse.php index 659908071..b15ab75f6 100644 --- a/sdks/php/src/Model/SignatureRequestListResponse.php +++ b/sdks/php/src/Model/SignatureRequestListResponse.php @@ -332,7 +332,7 @@ public function getSignatureRequests() * * @param SignatureRequestResponse[] $signature_requests contains information about signature requests * - * @return self + * @return static */ public function setSignatureRequests(array $signature_requests) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/SignatureRequestRemindRequest.php b/sdks/php/src/Model/SignatureRequestRemindRequest.php index 5662351ef..23ea16ffc 100644 --- a/sdks/php/src/Model/SignatureRequestRemindRequest.php +++ b/sdks/php/src/Model/SignatureRequestRemindRequest.php @@ -322,7 +322,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the signer to send a reminder to * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { @@ -349,7 +349,7 @@ public function getName() * * @param string|null $name The name of the signer to send a reminder to. Include if two or more signers share an email address. * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/SignatureRequestResponse.php b/sdks/php/src/Model/SignatureRequestResponse.php index 08442f436..aecb410ce 100644 --- a/sdks/php/src/Model/SignatureRequestResponse.php +++ b/sdks/php/src/Model/SignatureRequestResponse.php @@ -479,7 +479,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test signature request. Test requests have no legal value. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -506,7 +506,7 @@ public function getSignatureRequestId() * * @param string|null $signature_request_id the id of the SignatureRequest * - * @return self + * @return static */ public function setSignatureRequestId(?string $signature_request_id) { @@ -533,7 +533,7 @@ public function getRequesterEmailAddress() * * @param string|null $requester_email_address the email address of the initiator of the SignatureRequest * - * @return self + * @return static */ public function setRequesterEmailAddress(?string $requester_email_address) { @@ -567,7 +567,7 @@ public function getTitle() * * @param string|null $title the title the specified Account uses for the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -594,7 +594,7 @@ public function getOriginalTitle() * * @param string|null $original_title default Label for account * - * @return self + * @return static */ public function setOriginalTitle(?string $original_title) { @@ -621,7 +621,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that was initially sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -655,7 +655,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that was initially sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -689,7 +689,7 @@ public function getMetadata() * * @param array|null $metadata the metadata attached to the signature request * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -716,7 +716,7 @@ public function getCreatedAt() * * @param int|null $created_at time the signature request was created * - * @return self + * @return static */ public function setCreatedAt(?int $created_at) { @@ -743,7 +743,7 @@ public function getExpiresAt() * * @param int|null $expires_at The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { @@ -777,7 +777,7 @@ public function getIsComplete() * * @param bool|null $is_complete whether or not the SignatureRequest has been fully executed by all signers * - * @return self + * @return static */ public function setIsComplete(?bool $is_complete) { @@ -804,7 +804,7 @@ public function getIsDeclined() * * @param bool|null $is_declined whether or not the SignatureRequest has been declined by a signer * - * @return self + * @return static */ public function setIsDeclined(?bool $is_declined) { @@ -831,7 +831,7 @@ public function getHasError() * * @param bool|null $has_error whether or not an error occurred (either during the creation of the SignatureRequest or during one of the signings) * - * @return self + * @return static */ public function setHasError(?bool $has_error) { @@ -858,7 +858,7 @@ public function getFilesUrl() * * @param string|null $files_url the URL where a copy of the request's documents can be downloaded * - * @return self + * @return static */ public function setFilesUrl(?string $files_url) { @@ -885,7 +885,7 @@ public function getSigningUrl() * * @param string|null $signing_url The URL where a signer, after authenticating, can sign the documents. This should only be used by users with existing Dropbox Sign accounts as they will be required to log in before signing. * - * @return self + * @return static */ public function setSigningUrl(?string $signing_url) { @@ -919,7 +919,7 @@ public function getDetailsUrl() * * @param string|null $details_url the URL where the requester and the signers can view the current status of the SignatureRequest * - * @return self + * @return static */ public function setDetailsUrl(?string $details_url) { @@ -946,7 +946,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses A list of email addresses that were CCed on the SignatureRequest. They will receive a copy of the final PDF once all the signers have signed. * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -973,7 +973,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want the signer redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1007,7 +1007,7 @@ public function getFinalCopyUri() * * @param string|null $final_copy_uri The path where the completed document can be downloaded * - * @return self + * @return static */ public function setFinalCopyUri(?string $final_copy_uri) { @@ -1041,7 +1041,7 @@ public function getTemplateIds() * * @param string[]|null $template_ids templates IDs used in this SignatureRequest (if any) * - * @return self + * @return static */ public function setTemplateIds(?array $template_ids) { @@ -1075,7 +1075,7 @@ public function getCustomFields() * * @param SignatureRequestResponseCustomFieldBase[]|null $custom_fields An array of Custom Field objects containing the name and type of each custom field. * Text Field uses `SignatureRequestResponseCustomFieldText` * Checkbox Field uses `SignatureRequestResponseCustomFieldCheckbox` * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -1109,7 +1109,7 @@ public function getAttachments() * * @param SignatureRequestResponseAttachment[]|null $attachments signer attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -1143,7 +1143,7 @@ public function getResponseData() * * @param SignatureRequestResponseDataBase[]|null $response_data an array of form field objects containing the name, value, and type of each textbox or checkmark field filled in by the signers * - * @return self + * @return static */ public function setResponseData(?array $response_data) { @@ -1177,7 +1177,7 @@ public function getSignatures() * * @param SignatureRequestResponseSignatures[]|null $signatures an array of signature objects, 1 for each signer * - * @return self + * @return static */ public function setSignatures(?array $signatures) { @@ -1204,7 +1204,7 @@ public function getBulkSendJobId() * * @param string|null $bulk_send_job_id the ID of the Bulk Send job which sent the signature request, if applicable * - * @return self + * @return static */ public function setBulkSendJobId(?string $bulk_send_job_id) { diff --git a/sdks/php/src/Model/SignatureRequestResponseAttachment.php b/sdks/php/src/Model/SignatureRequestResponseAttachment.php index 245930a52..a00e097df 100644 --- a/sdks/php/src/Model/SignatureRequestResponseAttachment.php +++ b/sdks/php/src/Model/SignatureRequestResponseAttachment.php @@ -360,7 +360,7 @@ public function getId() * * @param string $id the unique ID for this attachment * - * @return self + * @return static */ public function setId(string $id) { @@ -387,7 +387,7 @@ public function getSigner() * * @param string $signer the Signer this attachment is assigned to * - * @return self + * @return static */ public function setSigner(string $signer) { @@ -414,7 +414,7 @@ public function getName() * * @param string $name the name of this attachment * - * @return self + * @return static */ public function setName(string $name) { @@ -441,7 +441,7 @@ public function getRequired() * * @param bool $required a boolean value denoting if this attachment is required * - * @return self + * @return static */ public function setRequired(bool $required) { @@ -468,7 +468,7 @@ public function getInstructions() * * @param string|null $instructions instructions for Signer * - * @return self + * @return static */ public function setInstructions(?string $instructions) { @@ -502,7 +502,7 @@ public function getUploadedAt() * * @param int|null $uploaded_at timestamp when attachment was uploaded by Signer * - * @return self + * @return static */ public function setUploadedAt(?int $uploaded_at) { diff --git a/sdks/php/src/Model/SignatureRequestResponseCustomFieldBase.php b/sdks/php/src/Model/SignatureRequestResponseCustomFieldBase.php index bfa753e11..87c09f1c6 100644 --- a/sdks/php/src/Model/SignatureRequestResponseCustomFieldBase.php +++ b/sdks/php/src/Model/SignatureRequestResponseCustomFieldBase.php @@ -346,7 +346,7 @@ public function getType() * * @param string $type The type of this Custom Field. Only 'text' and 'checkbox' are currently supported. * - * @return self + * @return static */ public function setType(string $type) { @@ -373,7 +373,7 @@ public function getName() * * @param string $name the name of the Custom Field * - * @return self + * @return static */ public function setName(string $name) { @@ -400,7 +400,7 @@ public function getRequired() * * @param bool|null $required a boolean value denoting if this field is required * - * @return self + * @return static */ public function setRequired(?bool $required) { @@ -427,7 +427,7 @@ public function getApiId() * * @param string|null $api_id the unique ID for this field * - * @return self + * @return static */ public function setApiId(?string $api_id) { @@ -454,7 +454,7 @@ public function getEditor() * * @param string|null $editor the name of the Role that is able to edit this field * - * @return self + * @return static */ public function setEditor(?string $editor) { diff --git a/sdks/php/src/Model/SignatureRequestResponseCustomFieldCheckbox.php b/sdks/php/src/Model/SignatureRequestResponseCustomFieldCheckbox.php index d16c804e7..a9bae9128 100644 --- a/sdks/php/src/Model/SignatureRequestResponseCustomFieldCheckbox.php +++ b/sdks/php/src/Model/SignatureRequestResponseCustomFieldCheckbox.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this Custom Field. Only 'text' and 'checkbox' are currently supported. * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getValue() * * @param bool|null $value A true/false for checkbox fields * - * @return self + * @return static */ public function setValue(?bool $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseCustomFieldText.php b/sdks/php/src/Model/SignatureRequestResponseCustomFieldText.php index 4115fc171..9c89075d0 100644 --- a/sdks/php/src/Model/SignatureRequestResponseCustomFieldText.php +++ b/sdks/php/src/Model/SignatureRequestResponseCustomFieldText.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this Custom Field. Only 'text' and 'checkbox' are currently supported. * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getValue() * * @param string|null $value A text string for text fields * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataBase.php b/sdks/php/src/Model/SignatureRequestResponseDataBase.php index 5f473fe7f..e0213504d 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataBase.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataBase.php @@ -359,7 +359,7 @@ public function getApiId() * * @param string|null $api_id the unique ID for this field * - * @return self + * @return static */ public function setApiId(?string $api_id) { @@ -386,7 +386,7 @@ public function getSignatureId() * * @param string|null $signature_id the ID of the signature to which this response is linked * - * @return self + * @return static */ public function setSignatureId(?string $signature_id) { @@ -413,7 +413,7 @@ public function getName() * * @param string|null $name the name of the form field * - * @return self + * @return static */ public function setName(?string $name) { @@ -440,7 +440,7 @@ public function getRequired() * * @param bool|null $required a boolean value denoting if this field is required * - * @return self + * @return static */ public function setRequired(?bool $required) { @@ -467,7 +467,7 @@ public function getType() * * @param string|null $type type * - * @return self + * @return static */ public function setType(?string $type) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueCheckbox.php b/sdks/php/src/Model/SignatureRequestResponseDataValueCheckbox.php index c64a1fbc7..e266d29a2 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueCheckbox.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueCheckbox.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A yes/no checkbox * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param bool|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?bool $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php b/sdks/php/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php index 96ac1dd3e..feb9e1c33 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A checkbox field that has default value set by the api * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueDateSigned.php b/sdks/php/src/Model/SignatureRequestResponseDataValueDateSigned.php index 78c8794e0..64bfc6b1e 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueDateSigned.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueDateSigned.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A date * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueDropdown.php b/sdks/php/src/Model/SignatureRequestResponseDataValueDropdown.php index 4171a5860..3676dc322 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueDropdown.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueDropdown.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type An input field for dropdowns * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueInitials.php b/sdks/php/src/Model/SignatureRequestResponseDataValueInitials.php index 30ab1f375..c54715373 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueInitials.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueInitials.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type An input field for initials * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueRadio.php b/sdks/php/src/Model/SignatureRequestResponseDataValueRadio.php index 0c05b0bc9..22e7d29cc 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueRadio.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueRadio.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type An input field for radios * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param bool|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?bool $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueSignature.php b/sdks/php/src/Model/SignatureRequestResponseDataValueSignature.php index 458a052a7..74ff9ddac 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueSignature.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueSignature.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A signature input field * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueText.php b/sdks/php/src/Model/SignatureRequestResponseDataValueText.php index f4ddd0ff3..5dec529b9 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueText.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueText.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A text input field * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseDataValueTextMerge.php b/sdks/php/src/Model/SignatureRequestResponseDataValueTextMerge.php index ef64d4b8e..bcf2493ff 100644 --- a/sdks/php/src/Model/SignatureRequestResponseDataValueTextMerge.php +++ b/sdks/php/src/Model/SignatureRequestResponseDataValueTextMerge.php @@ -310,7 +310,7 @@ public function getType() * * @param string|null $type A text field that has default text set by the api * - * @return self + * @return static */ public function setType(?string $type) { @@ -337,7 +337,7 @@ public function getValue() * * @param string|null $value the value of the form field * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SignatureRequestResponseSignatures.php b/sdks/php/src/Model/SignatureRequestResponseSignatures.php index 081ebb6d3..09e8774a4 100644 --- a/sdks/php/src/Model/SignatureRequestResponseSignatures.php +++ b/sdks/php/src/Model/SignatureRequestResponseSignatures.php @@ -437,7 +437,7 @@ public function getSignatureId() * * @param string|null $signature_id signature identifier * - * @return self + * @return static */ public function setSignatureId(?string $signature_id) { @@ -464,7 +464,7 @@ public function getSignerGroupGuid() * * @param string|null $signer_group_guid Signer Group GUID * - * @return self + * @return static */ public function setSignerGroupGuid(?string $signer_group_guid) { @@ -498,7 +498,7 @@ public function getSignerEmailAddress() * * @param string|null $signer_email_address the email address of the signer * - * @return self + * @return static */ public function setSignerEmailAddress(?string $signer_email_address) { @@ -525,7 +525,7 @@ public function getSignerName() * * @param string|null $signer_name the name of the signer * - * @return self + * @return static */ public function setSignerName(?string $signer_name) { @@ -559,7 +559,7 @@ public function getSignerRole() * * @param string|null $signer_role the role of the signer * - * @return self + * @return static */ public function setSignerRole(?string $signer_role) { @@ -593,7 +593,7 @@ public function getOrder() * * @param int|null $order if signer order is assigned this is the 0-based index for this signer * - * @return self + * @return static */ public function setOrder(?int $order) { @@ -627,7 +627,7 @@ public function getStatusCode() * * @param string|null $status_code The current status of the signature. eg: awaiting_signature, signed, declined. * - * @return self + * @return static */ public function setStatusCode(?string $status_code) { @@ -654,7 +654,7 @@ public function getDeclineReason() * * @param string|null $decline_reason the reason provided by the signer for declining the request * - * @return self + * @return static */ public function setDeclineReason(?string $decline_reason) { @@ -688,7 +688,7 @@ public function getSignedAt() * * @param int|null $signed_at time that the document was signed or null * - * @return self + * @return static */ public function setSignedAt(?int $signed_at) { @@ -722,7 +722,7 @@ public function getLastViewedAt() * * @param int|null $last_viewed_at the time that the document was last viewed by this signer or null * - * @return self + * @return static */ public function setLastViewedAt(?int $last_viewed_at) { @@ -756,7 +756,7 @@ public function getLastRemindedAt() * * @param int|null $last_reminded_at the time the last reminder email was sent to the signer or null * - * @return self + * @return static */ public function setLastRemindedAt(?int $last_reminded_at) { @@ -790,7 +790,7 @@ public function getHasPin() * * @param bool|null $has_pin boolean to indicate whether this signature requires a PIN to access * - * @return self + * @return static */ public function setHasPin(?bool $has_pin) { @@ -817,7 +817,7 @@ public function getHasSmsAuth() * * @param bool|null $has_sms_auth boolean to indicate whether this signature has SMS authentication enabled * - * @return self + * @return static */ public function setHasSmsAuth(?bool $has_sms_auth) { @@ -851,7 +851,7 @@ public function getHasSmsDelivery() * * @param bool|null $has_sms_delivery boolean to indicate whether this signature has SMS delivery enabled * - * @return self + * @return static */ public function setHasSmsDelivery(?bool $has_sms_delivery) { @@ -885,7 +885,7 @@ public function getSmsPhoneNumber() * * @param string|null $sms_phone_number the SMS phone number used for authentication or signature request delivery * - * @return self + * @return static */ public function setSmsPhoneNumber(?string $sms_phone_number) { @@ -919,7 +919,7 @@ public function getReassignedBy() * * @param string|null $reassigned_by email address of original signer who reassigned to this signer * - * @return self + * @return static */ public function setReassignedBy(?string $reassigned_by) { @@ -953,7 +953,7 @@ public function getReassignmentReason() * * @param string|null $reassignment_reason reason provided by original signer who reassigned to this signer * - * @return self + * @return static */ public function setReassignmentReason(?string $reassignment_reason) { @@ -987,7 +987,7 @@ public function getReassignedFrom() * * @param string|null $reassigned_from previous signature identifier * - * @return self + * @return static */ public function setReassignedFrom(?string $reassigned_from) { @@ -1021,7 +1021,7 @@ public function getError() * * @param string|null $error error message pertaining to this signer, or null * - * @return self + * @return static */ public function setError(?string $error) { diff --git a/sdks/php/src/Model/SignatureRequestSendRequest.php b/sdks/php/src/Model/SignatureRequestSendRequest.php index 600ee133e..4e90e38d9 100644 --- a/sdks/php/src/Model/SignatureRequestSendRequest.php +++ b/sdks/php/src/Model/SignatureRequestSendRequest.php @@ -500,7 +500,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -527,7 +527,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -554,7 +554,7 @@ public function getSigners() * * @param SubSignatureRequestSigner[]|null $signers Add Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both. * - * @return self + * @return static */ public function setSigners(?array $signers) { @@ -581,7 +581,7 @@ public function getGroupedSigners() * * @param SubSignatureRequestGroupedSigners[]|null $grouped_signers Add Grouped Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both. * - * @return self + * @return static */ public function setGroupedSigners(?array $grouped_signers) { @@ -608,7 +608,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -635,7 +635,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan and higher. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -662,7 +662,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -689,7 +689,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses the email addresses that should be CCed * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -716,7 +716,7 @@ public function getClientId() * * @param string|null $client_id The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -743,7 +743,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -770,7 +770,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -797,7 +797,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -824,7 +824,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -851,7 +851,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[]|null $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(?array $form_fields_per_document) { @@ -878,7 +878,7 @@ public function getHideTextTags() * * @param bool|null $hide_text_tags Enables automatic Text Tag removal when set to true. **NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. * - * @return self + * @return static */ public function setHideTextTags(?bool $hide_text_tags) { @@ -906,7 +906,7 @@ public function getIsQualifiedSignature() * * @param bool|null $is_qualified_signature Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.
**NOTE:** QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer. * - * @return self + * @return static * @deprecated */ public function setIsQualifiedSignature(?bool $is_qualified_signature) @@ -934,7 +934,7 @@ public function getIsEid() * * @param bool|null $is_eid Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.
**NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer. * - * @return self + * @return static */ public function setIsEid(?bool $is_eid) { @@ -961,7 +961,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -992,7 +992,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -1020,7 +1020,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -1047,7 +1047,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1074,7 +1074,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1105,7 +1105,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1132,7 +1132,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -1163,7 +1163,7 @@ public function getUseTextTags() * * @param bool|null $use_text_tags Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. * - * @return self + * @return static */ public function setUseTextTags(?bool $use_text_tags) { @@ -1190,7 +1190,7 @@ public function getExpiresAt() * * @param int|null $expires_at When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/SignatureRequestSendWithTemplateRequest.php b/sdks/php/src/Model/SignatureRequestSendWithTemplateRequest.php index c58096632..a055d0eb1 100644 --- a/sdks/php/src/Model/SignatureRequestSendWithTemplateRequest.php +++ b/sdks/php/src/Model/SignatureRequestSendWithTemplateRequest.php @@ -444,7 +444,7 @@ public function getTemplateIds() * * @param string[] $template_ids use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used * - * @return self + * @return static */ public function setTemplateIds(array $template_ids) { @@ -471,7 +471,7 @@ public function getSigners() * * @param SubSignatureRequestTemplateSigner[] $signers add Signers to your Templated-based Signature Request * - * @return self + * @return static */ public function setSigners(array $signers) { @@ -498,7 +498,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -525,7 +525,7 @@ public function getCcs() * * @param SubCC[]|null $ccs Add CC email recipients. Required when a CC role exists for the Template. * - * @return self + * @return static */ public function setCcs(?array $ccs) { @@ -552,7 +552,7 @@ public function getClientId() * * @param string|null $client_id Client id of the app to associate with the signature request. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -579,7 +579,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields An array defining values and options for custom fields. Required when a custom field exists in the Template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -606,7 +606,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -633,7 +633,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -661,7 +661,7 @@ public function getIsQualifiedSignature() * * @param bool|null $is_qualified_signature Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.
**NOTE:** QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer. * - * @return self + * @return static * @deprecated */ public function setIsQualifiedSignature(?bool $is_qualified_signature) @@ -689,7 +689,7 @@ public function getIsEid() * * @param bool|null $is_eid Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.
**NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer. * - * @return self + * @return static */ public function setIsEid(?bool $is_eid) { @@ -716,7 +716,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -747,7 +747,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -775,7 +775,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -802,7 +802,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -829,7 +829,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -860,7 +860,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -887,7 +887,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { diff --git a/sdks/php/src/Model/SignatureRequestUpdateRequest.php b/sdks/php/src/Model/SignatureRequestUpdateRequest.php index 2a4a33dcf..a284524ee 100644 --- a/sdks/php/src/Model/SignatureRequestUpdateRequest.php +++ b/sdks/php/src/Model/SignatureRequestUpdateRequest.php @@ -336,7 +336,7 @@ public function getSignatureId() * * @param string $signature_id the signature ID for the recipient * - * @return self + * @return static */ public function setSignatureId(string $signature_id) { @@ -363,7 +363,7 @@ public function getEmailAddress() * * @param string|null $email_address The new email address for the recipient. This will generate a new `signature_id` value. **NOTE:** Optional if `name` is provided. * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -390,7 +390,7 @@ public function getName() * * @param string|null $name The new name for the recipient. **NOTE:** Optional if `email_address` is provided. * - * @return self + * @return static */ public function setName(?string $name) { @@ -417,7 +417,7 @@ public function getExpiresAt() * * @param int|null $expires_at The new time when the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/SubAttachment.php b/sdks/php/src/Model/SubAttachment.php index d41f3459c..23d8d711b 100644 --- a/sdks/php/src/Model/SubAttachment.php +++ b/sdks/php/src/Model/SubAttachment.php @@ -339,7 +339,7 @@ public function getName() * * @param string $name the name of attachment * - * @return self + * @return static */ public function setName(string $name) { @@ -366,7 +366,7 @@ public function getSignerIndex() * * @param int $signer_index The signer's index in the `signers` parameter (0-based indexing). **NOTE:** Only one signer can be assigned per attachment. * - * @return self + * @return static */ public function setSignerIndex(int $signer_index) { @@ -393,7 +393,7 @@ public function getInstructions() * * @param string|null $instructions the instructions for uploading the attachment * - * @return self + * @return static */ public function setInstructions(?string $instructions) { @@ -420,7 +420,7 @@ public function getRequired() * * @param bool|null $required determines if the attachment must be uploaded * - * @return self + * @return static */ public function setRequired(?bool $required) { diff --git a/sdks/php/src/Model/SubBulkSignerList.php b/sdks/php/src/Model/SubBulkSignerList.php index d9702bb7d..72798804a 100644 --- a/sdks/php/src/Model/SubBulkSignerList.php +++ b/sdks/php/src/Model/SubBulkSignerList.php @@ -317,7 +317,7 @@ public function getCustomFields() * * @param SubBulkSignerListCustomField[]|null $custom_fields an array of custom field values * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -344,7 +344,7 @@ public function getSigners() * * @param SubSignatureRequestTemplateSigner[]|null $signers Add Signers to your Templated-based Signature Request. Allows the requester to specify editor options when a preparing a document. Currently only templates with a single role are supported. All signers must have the same `role` value. * - * @return self + * @return static */ public function setSigners(?array $signers) { diff --git a/sdks/php/src/Model/SubBulkSignerListCustomField.php b/sdks/php/src/Model/SubBulkSignerListCustomField.php index 17f67ac95..b32b97f95 100644 --- a/sdks/php/src/Model/SubBulkSignerListCustomField.php +++ b/sdks/php/src/Model/SubBulkSignerListCustomField.php @@ -325,7 +325,7 @@ public function getName() * * @param string $name The name of the custom field. Must be the field's `name` or `api_id`. * - * @return self + * @return static */ public function setName(string $name) { @@ -352,7 +352,7 @@ public function getValue() * * @param string $value the value of the custom field * - * @return self + * @return static */ public function setValue(string $value) { diff --git a/sdks/php/src/Model/SubCC.php b/sdks/php/src/Model/SubCC.php index 0380a3889..046611e18 100644 --- a/sdks/php/src/Model/SubCC.php +++ b/sdks/php/src/Model/SubCC.php @@ -325,7 +325,7 @@ public function getRole() * * @param string $role Must match an existing CC role in chosen Template(s). Multiple CC recipients cannot share the same CC role. * - * @return self + * @return static */ public function setRole(string $role) { @@ -352,7 +352,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the CC recipient * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { diff --git a/sdks/php/src/Model/SubCustomField.php b/sdks/php/src/Model/SubCustomField.php index e853f9eb1..6e3510274 100644 --- a/sdks/php/src/Model/SubCustomField.php +++ b/sdks/php/src/Model/SubCustomField.php @@ -337,7 +337,7 @@ public function getName() * * @param string $name The name of a custom field. When working with pre-filled data, the custom field's name must have a matching merge field name or the field will remain empty on the document during signing. * - * @return self + * @return static */ public function setName(string $name) { @@ -364,7 +364,7 @@ public function getEditor() * * @param string|null $editor Used to create editable merge fields. When the value matches a role passed in with `signers`, that role can edit the data that was pre-filled to that field. This field is optional, but required when this custom field object is set to `required = true`. **NOTE:** Editable merge fields are only supported for single signer requests (or the first signer in ordered signature requests). If used when there are multiple signers in an unordered signature request, the editor value is ignored and the field won't be editable. * - * @return self + * @return static */ public function setEditor(?string $editor) { @@ -391,7 +391,7 @@ public function getRequired() * * @param bool|null $required Used to set an editable merge field when working with pre-filled data. When `true`, the custom field must specify a signer role in `editor`. * - * @return self + * @return static */ public function setRequired(?bool $required) { @@ -418,7 +418,7 @@ public function getValue() * * @param string|null $value the string that resolves (aka \"pre-fills\") to the merge field on the final document(s) used for signing * - * @return self + * @return static */ public function setValue(?string $value) { diff --git a/sdks/php/src/Model/SubEditorOptions.php b/sdks/php/src/Model/SubEditorOptions.php index cd15d5965..1a798b36b 100644 --- a/sdks/php/src/Model/SubEditorOptions.php +++ b/sdks/php/src/Model/SubEditorOptions.php @@ -318,7 +318,7 @@ public function getAllowEditSigners() * * @param bool|null $allow_edit_signers Allows requesters to edit the list of signers * - * @return self + * @return static */ public function setAllowEditSigners(?bool $allow_edit_signers) { @@ -345,7 +345,7 @@ public function getAllowEditDocuments() * * @param bool|null $allow_edit_documents Allows requesters to edit documents, including delete and add * - * @return self + * @return static */ public function setAllowEditDocuments(?bool $allow_edit_documents) { diff --git a/sdks/php/src/Model/SubFieldOptions.php b/sdks/php/src/Model/SubFieldOptions.php index 974daa4a9..bce5fc8a7 100644 --- a/sdks/php/src/Model/SubFieldOptions.php +++ b/sdks/php/src/Model/SubFieldOptions.php @@ -349,7 +349,7 @@ public function getDateFormat() * * @param string $date_format allows requester to specify the date format (see list of allowed [formats](/api/reference/constants/#date-formats)) **NOTE:** Only available for Premium and higher * - * @return self + * @return static */ public function setDateFormat(string $date_format) { diff --git a/sdks/php/src/Model/SubFormFieldGroup.php b/sdks/php/src/Model/SubFormFieldGroup.php index 2ff53e101..fb83310df 100644 --- a/sdks/php/src/Model/SubFormFieldGroup.php +++ b/sdks/php/src/Model/SubFormFieldGroup.php @@ -335,7 +335,7 @@ public function getGroupId() * * @param string $group_id ID of group. Use this to reference a specific group from the `group` value in `form_fields_per_document`. * - * @return self + * @return static */ public function setGroupId(string $group_id) { @@ -362,7 +362,7 @@ public function getGroupLabel() * * @param string $group_label Name of the group * - * @return self + * @return static */ public function setGroupLabel(string $group_label) { @@ -389,7 +389,7 @@ public function getRequirement() * * @param string $requirement Examples: `require_0-1` `require_1` `require_1-ormore` - Check out the list of [acceptable `requirement` checkbox type values](/api/reference/constants/#checkbox-field-grouping). - Check out the list of [acceptable `requirement` radio type fields](/api/reference/constants/#radio-field-grouping). - Radio groups require **at least** two fields per group. * - * @return self + * @return static */ public function setRequirement(string $requirement) { diff --git a/sdks/php/src/Model/SubFormFieldRule.php b/sdks/php/src/Model/SubFormFieldRule.php index 094d8217c..4f31dcbed 100644 --- a/sdks/php/src/Model/SubFormFieldRule.php +++ b/sdks/php/src/Model/SubFormFieldRule.php @@ -357,7 +357,7 @@ public function getId() * * @param string $id must be unique across all defined rules * - * @return self + * @return static */ public function setId(string $id) { @@ -384,7 +384,7 @@ public function getTriggerOperator() * * @param string $trigger_operator Currently only `AND` is supported. Support for `OR` is being worked on. * - * @return self + * @return static */ public function setTriggerOperator(string $trigger_operator) { @@ -411,7 +411,7 @@ public function getTriggers() * * @param SubFormFieldRuleTrigger[] $triggers An array of trigger definitions, the \"if this\" part of \"**if this**, then that\". Currently only a single trigger per rule is allowed. * - * @return self + * @return static */ public function setTriggers(array $triggers) { @@ -445,7 +445,7 @@ public function getActions() * * @param SubFormFieldRuleAction[] $actions An array of action definitions, the \"then that\" part of \"if this, **then that**\". Any number of actions may be attached to a single rule. * - * @return self + * @return static */ public function setActions(array $actions) { diff --git a/sdks/php/src/Model/SubFormFieldRuleAction.php b/sdks/php/src/Model/SubFormFieldRuleAction.php index 458b5822f..92140c413 100644 --- a/sdks/php/src/Model/SubFormFieldRuleAction.php +++ b/sdks/php/src/Model/SubFormFieldRuleAction.php @@ -364,7 +364,7 @@ public function getHidden() * * @param bool $hidden `true` to hide the target field when rule is satisfied, otherwise `false` * - * @return self + * @return static */ public function setHidden(bool $hidden) { @@ -391,7 +391,7 @@ public function getType() * * @param string $type type * - * @return self + * @return static */ public function setType(string $type) { @@ -428,7 +428,7 @@ public function getFieldId() * * @param string|null $field_id **field_id** or **group_id** is required, but not both. Must reference the `api_id` of an existing field defined within `form_fields_per_document`. Cannot use with `group_id`. Trigger and action fields must belong to the same signer. * - * @return self + * @return static */ public function setFieldId(?string $field_id) { @@ -455,7 +455,7 @@ public function getGroupId() * * @param string|null $group_id **group_id** or **field_id** is required, but not both. Must reference the ID of an existing group defined within `form_field_groups`. Cannot use with `field_id`. Trigger and action fields and groups must belong to the same signer. * - * @return self + * @return static */ public function setGroupId(?string $group_id) { diff --git a/sdks/php/src/Model/SubFormFieldRuleTrigger.php b/sdks/php/src/Model/SubFormFieldRuleTrigger.php index 0ab5768e0..e1920fa4c 100644 --- a/sdks/php/src/Model/SubFormFieldRuleTrigger.php +++ b/sdks/php/src/Model/SubFormFieldRuleTrigger.php @@ -370,7 +370,7 @@ public function getId() * * @param string $id Must reference the `api_id` of an existing field defined within `form_fields_per_document`. Trigger and action fields and groups must belong to the same signer. * - * @return self + * @return static */ public function setId(string $id) { @@ -397,7 +397,7 @@ public function getOperator() * * @param string $operator Different field types allow different `operator` values: - Field type of **text**: - **is**: exact match - **not**: not exact match - **match**: regular expression, without /. Example: - OK `[a-zA-Z0-9]` - Not OK `/[a-zA-Z0-9]/` - Field type of **dropdown**: - **is**: exact match, single value - **not**: not exact match, single value - **any**: exact match, array of values. - **none**: not exact match, array of values. - Field type of **checkbox**: - **is**: exact match, single value - **not**: not exact match, single value - Field type of **radio**: - **is**: exact match, single value - **not**: not exact match, single value * - * @return self + * @return static */ public function setOperator(string $operator) { @@ -434,7 +434,7 @@ public function getValue() * * @param string|null $value **value** or **values** is required, but not both. The value to match against **operator**. - When **operator** is one of the following, **value** must be `String`: - `is` - `not` - `match` Otherwise, - **checkbox**: When **type** of trigger is **checkbox**, **value** must be `0` or `1` - **radio**: When **type** of trigger is **radio**, **value** must be `1` * - * @return self + * @return static */ public function setValue(?string $value) { @@ -461,7 +461,7 @@ public function getValues() * * @param string[]|null $values **values** or **value** is required, but not both. The values to match against **operator** when it is one of the following: - `any` - `none` * - * @return self + * @return static */ public function setValues(?array $values) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentBase.php b/sdks/php/src/Model/SubFormFieldsPerDocumentBase.php index 68158bf5a..9f9e216be 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentBase.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentBase.php @@ -433,7 +433,7 @@ public function getDocumentIndex() * * @param int $document_index represents the integer index of the `file` or `file_url` document the field should be attached to * - * @return self + * @return static */ public function setDocumentIndex(int $document_index) { @@ -460,7 +460,7 @@ public function getApiId() * * @param string $api_id an identifier for the field that is unique across all documents in the request * - * @return self + * @return static */ public function setApiId(string $api_id) { @@ -487,7 +487,7 @@ public function getHeight() * * @param int $height size of the field in pixels * - * @return self + * @return static */ public function setHeight(int $height) { @@ -514,7 +514,7 @@ public function getRequired() * * @param bool $required whether this field is required * - * @return self + * @return static */ public function setRequired(bool $required) { @@ -541,7 +541,7 @@ public function getSigner() * * @param string $signer Signer index identified by the offset in the signers parameter (0-based indexing), indicating which signer should fill out the field. **NOTE:** To set the value of the field as the preparer you must set this to `me_now` **NOTE:** If type is `text-merge` or `checkbox-merge`, you must set this to sender in order to use pre-filled data. * - * @return self + * @return static */ public function setSigner(string $signer) { @@ -568,7 +568,7 @@ public function getType() * * @param string $type type * - * @return self + * @return static */ public function setType(string $type) { @@ -595,7 +595,7 @@ public function getWidth() * * @param int $width size of the field in pixels * - * @return self + * @return static */ public function setWidth(int $width) { @@ -622,7 +622,7 @@ public function getX() * * @param int $x location coordinates of the field in pixels * - * @return self + * @return static */ public function setX(int $x) { @@ -649,7 +649,7 @@ public function getY() * * @param int $y location coordinates of the field in pixels * - * @return self + * @return static */ public function setY(int $y) { @@ -676,7 +676,7 @@ public function getName() * * @param string|null $name display name for the field * - * @return self + * @return static */ public function setName(?string $name) { @@ -703,7 +703,7 @@ public function getPage() * * @param int|null $page Page in the document where the field should be placed (requires documents be PDF files). - When the page number parameter is supplied, the API will use the new coordinate system. - Check out the differences between both [coordinate systems](https://faq.hellosign.com/hc/en-us/articles/217115577) and how to use them. * - * @return self + * @return static */ public function setPage(?int $page) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentCheckbox.php b/sdks/php/src/Model/SubFormFieldsPerDocumentCheckbox.php index c023916c7..ab2214f83 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentCheckbox.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentCheckbox.php @@ -326,7 +326,7 @@ public function getType() * * @param string $type A yes/no checkbox. Use the `SubFormFieldsPerDocumentCheckbox` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -353,7 +353,7 @@ public function getIsChecked() * * @param bool $is_checked `true` for checking the checkbox field by default, otherwise `false` * - * @return self + * @return static */ public function setIsChecked(bool $is_checked) { @@ -380,7 +380,7 @@ public function getGroup() * * @param string|null $group string referencing group defined in `form_field_groups` parameter * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php b/sdks/php/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php index c3924079b..7f56ea238 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type A checkbox field that has default value set using pre-filled data. Use the `SubFormFieldsPerDocumentCheckboxMerge` class. * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentDateSigned.php b/sdks/php/src/Model/SubFormFieldsPerDocumentDateSigned.php index 5902025ad..95cc91469 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentDateSigned.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentDateSigned.php @@ -376,7 +376,7 @@ public function getType() * * @param string $type A date. Use the `SubFormFieldsPerDocumentDateSigned` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -403,7 +403,7 @@ public function getFontFamily() * * @param string|null $font_family font family for the field * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -440,7 +440,7 @@ public function getFontSize() * * @param int|null $font_size The initial px font size for the field contents. Can be any integer value between `7` and `49`. **NOTE:** Font size may be reduced during processing in order to fit the contents within the dimensions of the field. * - * @return self + * @return static */ public function setFontSize(?int $font_size) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentDropdown.php b/sdks/php/src/Model/SubFormFieldsPerDocumentDropdown.php index 121c3eb48..a991d6462 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentDropdown.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentDropdown.php @@ -397,7 +397,7 @@ public function getType() * * @param string $type An input field for dropdowns. Use the `SubFormFieldsPerDocumentDropdown` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -424,7 +424,7 @@ public function getOptions() * * @param string[] $options array of string values representing dropdown values * - * @return self + * @return static */ public function setOptions(array $options) { @@ -455,7 +455,7 @@ public function getContent() * * @param string|null $content Selected value in `options` array. Value must exist in array. * - * @return self + * @return static */ public function setContent(?string $content) { @@ -482,7 +482,7 @@ public function getFontFamily() * * @param string|null $font_family font family for the field * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -519,7 +519,7 @@ public function getFontSize() * * @param int|null $font_size The initial px font size for the field contents. Can be any integer value between `7` and `49`. **NOTE:** Font size may be reduced during processing in order to fit the contents within the dimensions of the field. * - * @return self + * @return static */ public function setFontSize(?int $font_size) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentHyperlink.php b/sdks/php/src/Model/SubFormFieldsPerDocumentHyperlink.php index 924429f26..5734ddca1 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentHyperlink.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentHyperlink.php @@ -396,7 +396,7 @@ public function getType() * * @param string $type A hyperlink field. Use the `SubFormFieldsPerDocumentHyperlink` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -423,7 +423,7 @@ public function getContent() * * @param string $content link Text * - * @return self + * @return static */ public function setContent(string $content) { @@ -450,7 +450,7 @@ public function getContentUrl() * * @param string $content_url link URL * - * @return self + * @return static */ public function setContentUrl(string $content_url) { @@ -477,7 +477,7 @@ public function getFontFamily() * * @param string|null $font_family font family for the field * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -514,7 +514,7 @@ public function getFontSize() * * @param int|null $font_size The initial px font size for the field contents. Can be any integer value between `7` and `49`. **NOTE:** Font size may be reduced during processing in order to fit the contents within the dimensions of the field. * - * @return self + * @return static */ public function setFontSize(?int $font_size) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentInitials.php b/sdks/php/src/Model/SubFormFieldsPerDocumentInitials.php index cfddb0495..02548c8bb 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentInitials.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentInitials.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type An input field for initials. Use the `SubFormFieldsPerDocumentInitials` class. * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentRadio.php b/sdks/php/src/Model/SubFormFieldsPerDocumentRadio.php index b506baa56..3f6f514d2 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentRadio.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentRadio.php @@ -329,7 +329,7 @@ public function getType() * * @param string $type An input field for radios. Use the `SubFormFieldsPerDocumentRadio` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -356,7 +356,7 @@ public function getGroup() * * @param string $group string referencing group defined in `form_field_groups` parameter * - * @return self + * @return static */ public function setGroup(string $group) { @@ -383,7 +383,7 @@ public function getIsChecked() * * @param bool $is_checked `true` for checking the radio field by default, otherwise `false`. Only one radio field per group can be `true`. * - * @return self + * @return static */ public function setIsChecked(bool $is_checked) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentSignature.php b/sdks/php/src/Model/SubFormFieldsPerDocumentSignature.php index 37c6e7a15..1326c8a0e 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentSignature.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentSignature.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type A signature input field. Use the `SubFormFieldsPerDocumentSignature` class. * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentText.php b/sdks/php/src/Model/SubFormFieldsPerDocumentText.php index fa048a12b..22e82d30a 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentText.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentText.php @@ -472,7 +472,7 @@ public function getType() * * @param string $type A text input field. Use the `SubFormFieldsPerDocumentText` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -499,7 +499,7 @@ public function getPlaceholder() * * @param string|null $placeholder placeholder value for text field * - * @return self + * @return static */ public function setPlaceholder(?string $placeholder) { @@ -526,7 +526,7 @@ public function getAutoFillType() * * @param string|null $auto_fill_type Auto fill type for populating fields automatically. Check out the list of [auto fill types](/api/reference/constants/#auto-fill-types) to learn more about the possible values. * - * @return self + * @return static */ public function setAutoFillType(?string $auto_fill_type) { @@ -553,7 +553,7 @@ public function getLinkId() * * @param string|null $link_id Link two or more text fields. Enter data into one linked text field, which automatically fill all other linked text fields. * - * @return self + * @return static */ public function setLinkId(?string $link_id) { @@ -580,7 +580,7 @@ public function getMasked() * * @param bool|null $masked Masks entered data. For more information see [Masking sensitive information](https://faq.hellosign.com/hc/en-us/articles/360040742811-Masking-sensitive-information). `true` for masking the data in a text field, otherwise `false`. * - * @return self + * @return static */ public function setMasked(?bool $masked) { @@ -607,7 +607,7 @@ public function getValidationType() * * @param string|null $validation_type Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. **NOTE:** When using `custom_regex` you are required to pass a second parameter `validation_custom_regex` and you can optionally provide `validation_custom_regex_format_label` for the error message the user will see in case of an invalid value. * - * @return self + * @return static */ public function setValidationType(?string $validation_type) { @@ -644,7 +644,7 @@ public function getValidationCustomRegex() * * @param string|null $validation_custom_regex validation_custom_regex * - * @return self + * @return static */ public function setValidationCustomRegex(?string $validation_custom_regex) { @@ -671,7 +671,7 @@ public function getValidationCustomRegexFormatLabel() * * @param string|null $validation_custom_regex_format_label validation_custom_regex_format_label * - * @return self + * @return static */ public function setValidationCustomRegexFormatLabel(?string $validation_custom_regex_format_label) { @@ -698,7 +698,7 @@ public function getContent() * * @param string|null $content Content of a `me_now` text field * - * @return self + * @return static */ public function setContent(?string $content) { @@ -725,7 +725,7 @@ public function getFontFamily() * * @param string|null $font_family font family for the field * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -762,7 +762,7 @@ public function getFontSize() * * @param int|null $font_size The initial px font size for the field contents. Can be any integer value between `7` and `49`. **NOTE:** Font size may be reduced during processing in order to fit the contents within the dimensions of the field. * - * @return self + * @return static */ public function setFontSize(?int $font_size) { diff --git a/sdks/php/src/Model/SubFormFieldsPerDocumentTextMerge.php b/sdks/php/src/Model/SubFormFieldsPerDocumentTextMerge.php index bfe22420e..dbd7ab18f 100644 --- a/sdks/php/src/Model/SubFormFieldsPerDocumentTextMerge.php +++ b/sdks/php/src/Model/SubFormFieldsPerDocumentTextMerge.php @@ -376,7 +376,7 @@ public function getType() * * @param string $type A text field that has default text set using pre-filled data. Use the `SubFormFieldsPerDocumentTextMerge` class. * - * @return self + * @return static */ public function setType(string $type) { @@ -403,7 +403,7 @@ public function getFontFamily() * * @param string|null $font_family font family for the field * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -440,7 +440,7 @@ public function getFontSize() * * @param int|null $font_size The initial px font size for the field contents. Can be any integer value between `7` and `49`. **NOTE:** Font size may be reduced during processing in order to fit the contents within the dimensions of the field. * - * @return self + * @return static */ public function setFontSize(?int $font_size) { diff --git a/sdks/php/src/Model/SubMergeField.php b/sdks/php/src/Model/SubMergeField.php index 8631a07e4..89eb6386c 100644 --- a/sdks/php/src/Model/SubMergeField.php +++ b/sdks/php/src/Model/SubMergeField.php @@ -350,7 +350,7 @@ public function getName() * * @param string $name The name of the merge field. Must be unique. * - * @return self + * @return static */ public function setName(string $name) { @@ -377,7 +377,7 @@ public function getType() * * @param string $type the type of merge field * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/SubOAuth.php b/sdks/php/src/Model/SubOAuth.php index 2bbf85547..252f4c0b0 100644 --- a/sdks/php/src/Model/SubOAuth.php +++ b/sdks/php/src/Model/SubOAuth.php @@ -346,7 +346,7 @@ public function getCallbackUrl() * * @param string|null $callback_url The callback URL to be used for OAuth flows. (Required if `oauth[scopes]` is provided) * - * @return self + * @return static */ public function setCallbackUrl(?string $callback_url) { @@ -373,7 +373,7 @@ public function getScopes() * * @param string[]|null $scopes A list of [OAuth scopes](/api/reference/tag/OAuth) to be granted to the app. (Required if `oauth[callback_url]` is provided). * - * @return self + * @return static */ public function setScopes(?array $scopes) { diff --git a/sdks/php/src/Model/SubOptions.php b/sdks/php/src/Model/SubOptions.php index b86fa5b7f..2f81ebe99 100644 --- a/sdks/php/src/Model/SubOptions.php +++ b/sdks/php/src/Model/SubOptions.php @@ -311,7 +311,7 @@ public function getCanInsertEverywhere() * * @param bool|null $can_insert_everywhere determines if signers can use \"Insert Everywhere\" when signing a document * - * @return self + * @return static */ public function setCanInsertEverywhere(?bool $can_insert_everywhere) { diff --git a/sdks/php/src/Model/SubSignatureRequestGroupedSigners.php b/sdks/php/src/Model/SubSignatureRequestGroupedSigners.php index 2d15bc241..04e448bf7 100644 --- a/sdks/php/src/Model/SubSignatureRequestGroupedSigners.php +++ b/sdks/php/src/Model/SubSignatureRequestGroupedSigners.php @@ -332,7 +332,7 @@ public function getGroup() * * @param string $group the name of the group * - * @return self + * @return static */ public function setGroup(string $group) { @@ -359,7 +359,7 @@ public function getSigners() * * @param SubSignatureRequestSigner[] $signers Signers belonging to this Group. **NOTE:** Only `name`, `email_address`, and `pin` are available to Grouped Signers. We will ignore all other properties, even though they are listed below. * - * @return self + * @return static */ public function setSigners(array $signers) { @@ -386,7 +386,7 @@ public function getOrder() * * @param int|null $order The order the group is required to sign in. Use this instead of Signer-level `order`. * - * @return self + * @return static */ public function setOrder(?int $order) { diff --git a/sdks/php/src/Model/SubSignatureRequestSigner.php b/sdks/php/src/Model/SubSignatureRequestSigner.php index 64133e165..603af5bc6 100644 --- a/sdks/php/src/Model/SubSignatureRequestSigner.php +++ b/sdks/php/src/Model/SubSignatureRequestSigner.php @@ -386,7 +386,7 @@ public function getName() * * @param string $name the name of the signer * - * @return self + * @return static */ public function setName(string $name) { @@ -413,7 +413,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the signer * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { @@ -440,7 +440,7 @@ public function getOrder() * * @param int|null $order the order the signer is required to sign in * - * @return self + * @return static */ public function setOrder(?int $order) { @@ -474,7 +474,7 @@ public function getPin() * * @param string|null $pin the 4- to 12-character access code that will secure this signer's signature page * - * @return self + * @return static */ public function setPin(?string $pin) { @@ -508,7 +508,7 @@ public function getSmsPhoneNumber() * * @param string|null $sms_phone_number An E.164 formatted phone number. By using the feature, you agree you are responsible for obtaining a signer's consent to receive text messages from Dropbox Sign related to this signature request and confirm you have obtained such consent from all signers prior to enabling SMS delivery for this signature request. [Learn more](https://faq.hellosign.com/hc/en-us/articles/15815316468877-Dropbox-Sign-SMS-tools-add-on). **NOTE:** Not available in test mode and requires a Standard plan or higher. * - * @return self + * @return static */ public function setSmsPhoneNumber(?string $sms_phone_number) { @@ -535,7 +535,7 @@ public function getSmsPhoneNumberType() * * @param string|null $sms_phone_number_type Specifies the feature used with the `sms_phone_number`. Default `authentication`. If `authentication`, signer is sent a verification code via SMS that is required to access the document. If `delivery`, a link to complete the signature request is delivered via SMS (_and_ email). * - * @return self + * @return static */ public function setSmsPhoneNumberType(?string $sms_phone_number_type) { diff --git a/sdks/php/src/Model/SubSignatureRequestTemplateSigner.php b/sdks/php/src/Model/SubSignatureRequestTemplateSigner.php index 15070e31f..5fd180c42 100644 --- a/sdks/php/src/Model/SubSignatureRequestTemplateSigner.php +++ b/sdks/php/src/Model/SubSignatureRequestTemplateSigner.php @@ -389,7 +389,7 @@ public function getRole() * * @param string $role Must match an existing role in chosen Template(s). It's case-sensitive. * - * @return self + * @return static */ public function setRole(string $role) { @@ -416,7 +416,7 @@ public function getName() * * @param string $name the name of the signer * - * @return self + * @return static */ public function setName(string $name) { @@ -443,7 +443,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the signer * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { @@ -470,7 +470,7 @@ public function getPin() * * @param string|null $pin the 4- to 12-character access code that will secure this signer's signature page * - * @return self + * @return static */ public function setPin(?string $pin) { @@ -504,7 +504,7 @@ public function getSmsPhoneNumber() * * @param string|null $sms_phone_number An E.164 formatted phone number. By using the feature, you agree you are responsible for obtaining a signer's consent to receive text messages from Dropbox Sign related to this signature request and confirm you have obtained such consent from all signers prior to enabling SMS delivery for this signature request. [Learn more](https://faq.hellosign.com/hc/en-us/articles/15815316468877-Dropbox-Sign-SMS-tools-add-on). **NOTE:** Not available in test mode and requires a Standard plan or higher. * - * @return self + * @return static */ public function setSmsPhoneNumber(?string $sms_phone_number) { @@ -531,7 +531,7 @@ public function getSmsPhoneNumberType() * * @param string|null $sms_phone_number_type Specifies the feature used with the `sms_phone_number`. Default `authentication`. If `authentication`, signer is sent a verification code via SMS that is required to access the document. If `delivery`, a link to complete the signature request is delivered via SMS (_and_ email). * - * @return self + * @return static */ public function setSmsPhoneNumberType(?string $sms_phone_number_type) { diff --git a/sdks/php/src/Model/SubSigningOptions.php b/sdks/php/src/Model/SubSigningOptions.php index 8cbaff0f0..77dccbc92 100644 --- a/sdks/php/src/Model/SubSigningOptions.php +++ b/sdks/php/src/Model/SubSigningOptions.php @@ -373,7 +373,7 @@ public function getDefaultType() * * @param string $default_type The default type shown (limited to the listed types) * - * @return self + * @return static */ public function setDefaultType(string $default_type) { @@ -410,7 +410,7 @@ public function getDraw() * * @param bool|null $draw Allows drawing the signature * - * @return self + * @return static */ public function setDraw(?bool $draw) { @@ -437,7 +437,7 @@ public function getPhone() * * @param bool|null $phone Allows using a smartphone to email the signature * - * @return self + * @return static */ public function setPhone(?bool $phone) { @@ -464,7 +464,7 @@ public function getType() * * @param bool|null $type Allows typing the signature * - * @return self + * @return static */ public function setType(?bool $type) { @@ -491,7 +491,7 @@ public function getUpload() * * @param bool|null $upload Allows uploading the signature * - * @return self + * @return static */ public function setUpload(?bool $upload) { diff --git a/sdks/php/src/Model/SubTeamResponse.php b/sdks/php/src/Model/SubTeamResponse.php index 60ecc442a..997c7949e 100644 --- a/sdks/php/src/Model/SubTeamResponse.php +++ b/sdks/php/src/Model/SubTeamResponse.php @@ -317,7 +317,7 @@ public function getTeamId() * * @param string|null $team_id The id of a team * - * @return self + * @return static */ public function setTeamId(?string $team_id) { @@ -344,7 +344,7 @@ public function getName() * * @param string|null $name The name of a team * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/SubTemplateRole.php b/sdks/php/src/Model/SubTemplateRole.php index 2678da93a..a1bba6de0 100644 --- a/sdks/php/src/Model/SubTemplateRole.php +++ b/sdks/php/src/Model/SubTemplateRole.php @@ -317,7 +317,7 @@ public function getName() * * @param string|null $name the role name of the signer that will be displayed when the template is used to create a signature request * - * @return self + * @return static */ public function setName(?string $name) { @@ -344,7 +344,7 @@ public function getOrder() * * @param int|null $order the order in which this signer role is required to sign * - * @return self + * @return static */ public function setOrder(?int $order) { diff --git a/sdks/php/src/Model/SubUnclaimedDraftSigner.php b/sdks/php/src/Model/SubUnclaimedDraftSigner.php index acc466356..73b9bf3fe 100644 --- a/sdks/php/src/Model/SubUnclaimedDraftSigner.php +++ b/sdks/php/src/Model/SubUnclaimedDraftSigner.php @@ -332,7 +332,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the signer * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { @@ -359,7 +359,7 @@ public function getName() * * @param string $name the name of the signer * - * @return self + * @return static */ public function setName(string $name) { @@ -386,7 +386,7 @@ public function getOrder() * * @param int|null $order the order the signer is required to sign in * - * @return self + * @return static */ public function setOrder(?int $order) { diff --git a/sdks/php/src/Model/SubUnclaimedDraftTemplateSigner.php b/sdks/php/src/Model/SubUnclaimedDraftTemplateSigner.php index 9daffb1e4..fff3724e7 100644 --- a/sdks/php/src/Model/SubUnclaimedDraftTemplateSigner.php +++ b/sdks/php/src/Model/SubUnclaimedDraftTemplateSigner.php @@ -335,7 +335,7 @@ public function getRole() * * @param string $role must match an existing role in chosen Template(s) * - * @return self + * @return static */ public function setRole(string $role) { @@ -362,7 +362,7 @@ public function getName() * * @param string $name the name of the signer filling the role of `role` * - * @return self + * @return static */ public function setName(string $name) { @@ -389,7 +389,7 @@ public function getEmailAddress() * * @param string $email_address the email address of the signer filling the role of `role` * - * @return self + * @return static */ public function setEmailAddress(string $email_address) { diff --git a/sdks/php/src/Model/SubWhiteLabelingOptions.php b/sdks/php/src/Model/SubWhiteLabelingOptions.php index 0abcbd111..28e416c14 100644 --- a/sdks/php/src/Model/SubWhiteLabelingOptions.php +++ b/sdks/php/src/Model/SubWhiteLabelingOptions.php @@ -436,7 +436,7 @@ public function getHeaderBackgroundColor() * * @param string|null $header_background_color header_background_color * - * @return self + * @return static */ public function setHeaderBackgroundColor(?string $header_background_color) { @@ -463,7 +463,7 @@ public function getLegalVersion() * * @param string|null $legal_version legal_version * - * @return self + * @return static */ public function setLegalVersion(?string $legal_version) { @@ -500,7 +500,7 @@ public function getLinkColor() * * @param string|null $link_color link_color * - * @return self + * @return static */ public function setLinkColor(?string $link_color) { @@ -527,7 +527,7 @@ public function getPageBackgroundColor() * * @param string|null $page_background_color page_background_color * - * @return self + * @return static */ public function setPageBackgroundColor(?string $page_background_color) { @@ -554,7 +554,7 @@ public function getPrimaryButtonColor() * * @param string|null $primary_button_color primary_button_color * - * @return self + * @return static */ public function setPrimaryButtonColor(?string $primary_button_color) { @@ -581,7 +581,7 @@ public function getPrimaryButtonColorHover() * * @param string|null $primary_button_color_hover primary_button_color_hover * - * @return self + * @return static */ public function setPrimaryButtonColorHover(?string $primary_button_color_hover) { @@ -608,7 +608,7 @@ public function getPrimaryButtonTextColor() * * @param string|null $primary_button_text_color primary_button_text_color * - * @return self + * @return static */ public function setPrimaryButtonTextColor(?string $primary_button_text_color) { @@ -635,7 +635,7 @@ public function getPrimaryButtonTextColorHover() * * @param string|null $primary_button_text_color_hover primary_button_text_color_hover * - * @return self + * @return static */ public function setPrimaryButtonTextColorHover(?string $primary_button_text_color_hover) { @@ -662,7 +662,7 @@ public function getSecondaryButtonColor() * * @param string|null $secondary_button_color secondary_button_color * - * @return self + * @return static */ public function setSecondaryButtonColor(?string $secondary_button_color) { @@ -689,7 +689,7 @@ public function getSecondaryButtonColorHover() * * @param string|null $secondary_button_color_hover secondary_button_color_hover * - * @return self + * @return static */ public function setSecondaryButtonColorHover(?string $secondary_button_color_hover) { @@ -716,7 +716,7 @@ public function getSecondaryButtonTextColor() * * @param string|null $secondary_button_text_color secondary_button_text_color * - * @return self + * @return static */ public function setSecondaryButtonTextColor(?string $secondary_button_text_color) { @@ -743,7 +743,7 @@ public function getSecondaryButtonTextColorHover() * * @param string|null $secondary_button_text_color_hover secondary_button_text_color_hover * - * @return self + * @return static */ public function setSecondaryButtonTextColorHover(?string $secondary_button_text_color_hover) { @@ -770,7 +770,7 @@ public function getTextColor1() * * @param string|null $text_color1 text_color1 * - * @return self + * @return static */ public function setTextColor1(?string $text_color1) { @@ -797,7 +797,7 @@ public function getTextColor2() * * @param string|null $text_color2 text_color2 * - * @return self + * @return static */ public function setTextColor2(?string $text_color2) { @@ -824,7 +824,7 @@ public function getResetToDefault() * * @param bool|null $reset_to_default Resets white labeling options to defaults. Only useful when updating an API App. * - * @return self + * @return static */ public function setResetToDefault(?bool $reset_to_default) { diff --git a/sdks/php/src/Model/TeamAddMemberRequest.php b/sdks/php/src/Model/TeamAddMemberRequest.php index e38abb02f..6c4750244 100644 --- a/sdks/php/src/Model/TeamAddMemberRequest.php +++ b/sdks/php/src/Model/TeamAddMemberRequest.php @@ -355,7 +355,7 @@ public function getAccountId() * * @param string|null $account_id `account_id` or `email_address` is required. If both are provided, the account id prevails. Account id of the user to invite to your Team. * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -382,7 +382,7 @@ public function getEmailAddress() * * @param string|null $email_address `account_id` or `email_address` is required, If both are provided, the account id prevails. Email address of the user to invite to your Team. * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -409,7 +409,7 @@ public function getRole() * * @param string|null $role A role member will take in a new Team. **NOTE:** This parameter is used only if `team_id` is provided. * - * @return self + * @return static */ public function setRole(?string $role) { diff --git a/sdks/php/src/Model/TeamCreateRequest.php b/sdks/php/src/Model/TeamCreateRequest.php index 6ba37cc71..a6e1b1075 100644 --- a/sdks/php/src/Model/TeamCreateRequest.php +++ b/sdks/php/src/Model/TeamCreateRequest.php @@ -310,7 +310,7 @@ public function getName() * * @param string|null $name the name of your Team * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/TeamGetInfoResponse.php b/sdks/php/src/Model/TeamGetInfoResponse.php index cfac0efbb..210b185a1 100644 --- a/sdks/php/src/Model/TeamGetInfoResponse.php +++ b/sdks/php/src/Model/TeamGetInfoResponse.php @@ -322,7 +322,7 @@ public function getTeam() * * @param TeamInfoResponse $team team * - * @return self + * @return static */ public function setTeam(TeamInfoResponse $team) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TeamGetResponse.php b/sdks/php/src/Model/TeamGetResponse.php index 6d23ddc3b..19c163391 100644 --- a/sdks/php/src/Model/TeamGetResponse.php +++ b/sdks/php/src/Model/TeamGetResponse.php @@ -322,7 +322,7 @@ public function getTeam() * * @param TeamResponse $team team * - * @return self + * @return static */ public function setTeam(TeamResponse $team) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TeamInfoResponse.php b/sdks/php/src/Model/TeamInfoResponse.php index 3d5ad124a..407e9683a 100644 --- a/sdks/php/src/Model/TeamInfoResponse.php +++ b/sdks/php/src/Model/TeamInfoResponse.php @@ -338,7 +338,7 @@ public function getTeamId() * * @param string|null $team_id The id of a team * - * @return self + * @return static */ public function setTeamId(?string $team_id) { @@ -365,7 +365,7 @@ public function getTeamParent() * * @param TeamParentResponse|null $team_parent team_parent * - * @return self + * @return static */ public function setTeamParent(?TeamParentResponse $team_parent) { @@ -399,7 +399,7 @@ public function getName() * * @param string|null $name The name of a team * - * @return self + * @return static */ public function setName(?string $name) { @@ -426,7 +426,7 @@ public function getNumMembers() * * @param int|null $num_members Number of members within a team * - * @return self + * @return static */ public function setNumMembers(?int $num_members) { @@ -453,7 +453,7 @@ public function getNumSubTeams() * * @param int|null $num_sub_teams Number of sub teams within a team * - * @return self + * @return static */ public function setNumSubTeams(?int $num_sub_teams) { diff --git a/sdks/php/src/Model/TeamInviteResponse.php b/sdks/php/src/Model/TeamInviteResponse.php index d37dae050..4791c0b94 100644 --- a/sdks/php/src/Model/TeamInviteResponse.php +++ b/sdks/php/src/Model/TeamInviteResponse.php @@ -345,7 +345,7 @@ public function getEmailAddress() * * @param string|null $email_address email address of the user invited to this team * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -372,7 +372,7 @@ public function getTeamId() * * @param string|null $team_id id of the team * - * @return self + * @return static */ public function setTeamId(?string $team_id) { @@ -399,7 +399,7 @@ public function getRole() * * @param string|null $role role of the user invited to this team * - * @return self + * @return static */ public function setRole(?string $role) { @@ -426,7 +426,7 @@ public function getSentAt() * * @param int|null $sent_at timestamp when the invitation was sent * - * @return self + * @return static */ public function setSentAt(?int $sent_at) { @@ -453,7 +453,7 @@ public function getRedeemedAt() * * @param int|null $redeemed_at timestamp when the invitation was redeemed * - * @return self + * @return static */ public function setRedeemedAt(?int $redeemed_at) { @@ -480,7 +480,7 @@ public function getExpiresAt() * * @param int|null $expires_at timestamp when the invitation is expiring * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/TeamInvitesResponse.php b/sdks/php/src/Model/TeamInvitesResponse.php index 31b58b939..48e99e9db 100644 --- a/sdks/php/src/Model/TeamInvitesResponse.php +++ b/sdks/php/src/Model/TeamInvitesResponse.php @@ -322,7 +322,7 @@ public function getTeamInvites() * * @param TeamInviteResponse[] $team_invites contains a list of team invites and their roles * - * @return self + * @return static */ public function setTeamInvites(array $team_invites) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TeamMemberResponse.php b/sdks/php/src/Model/TeamMemberResponse.php index ee61fbdd3..b5492ec44 100644 --- a/sdks/php/src/Model/TeamMemberResponse.php +++ b/sdks/php/src/Model/TeamMemberResponse.php @@ -324,7 +324,7 @@ public function getAccountId() * * @param string|null $account_id account id of the team member * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -351,7 +351,7 @@ public function getEmailAddress() * * @param string|null $email_address email address of the team member * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -378,7 +378,7 @@ public function getRole() * * @param string|null $role the specific role a member has on the team * - * @return self + * @return static */ public function setRole(?string $role) { diff --git a/sdks/php/src/Model/TeamMembersResponse.php b/sdks/php/src/Model/TeamMembersResponse.php index 681ad9af1..921210ede 100644 --- a/sdks/php/src/Model/TeamMembersResponse.php +++ b/sdks/php/src/Model/TeamMembersResponse.php @@ -332,7 +332,7 @@ public function getTeamMembers() * * @param TeamMemberResponse[] $team_members contains a list of team members and their roles for a specific team * - * @return self + * @return static */ public function setTeamMembers(array $team_members) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TeamParentResponse.php b/sdks/php/src/Model/TeamParentResponse.php index d0d447285..3a6efc050 100644 --- a/sdks/php/src/Model/TeamParentResponse.php +++ b/sdks/php/src/Model/TeamParentResponse.php @@ -318,7 +318,7 @@ public function getTeamId() * * @param string|null $team_id The id of a team * - * @return self + * @return static */ public function setTeamId(?string $team_id) { @@ -345,7 +345,7 @@ public function getName() * * @param string|null $name The name of a team * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/TeamRemoveMemberRequest.php b/sdks/php/src/Model/TeamRemoveMemberRequest.php index 6d7413255..6002ea038 100644 --- a/sdks/php/src/Model/TeamRemoveMemberRequest.php +++ b/sdks/php/src/Model/TeamRemoveMemberRequest.php @@ -369,7 +369,7 @@ public function getAccountId() * * @param string|null $account_id **account_id** or **email_address** is required. If both are provided, the account id prevails. Account id to remove from your Team. * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -396,7 +396,7 @@ public function getEmailAddress() * * @param string|null $email_address **account_id** or **email_address** is required. If both are provided, the account id prevails. Email address of the Account to remove from your Team. * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -423,7 +423,7 @@ public function getNewOwnerEmailAddress() * * @param string|null $new_owner_email_address The email address of an Account on this Team to receive all documents, templates, and API apps (if applicable) from the removed Account. If not provided, and on an Enterprise plan, this data will remain with the removed Account. **NOTE:** Only available for Enterprise plans. * - * @return self + * @return static */ public function setNewOwnerEmailAddress(?string $new_owner_email_address) { @@ -450,7 +450,7 @@ public function getNewTeamId() * * @param string|null $new_team_id id of the new Team * - * @return self + * @return static */ public function setNewTeamId(?string $new_team_id) { @@ -477,7 +477,7 @@ public function getNewRole() * * @param string|null $new_role A new role member will take in a new Team. **NOTE:** This parameter is used only if `new_team_id` is provided. * - * @return self + * @return static */ public function setNewRole(?string $new_role) { diff --git a/sdks/php/src/Model/TeamResponse.php b/sdks/php/src/Model/TeamResponse.php index 402916a49..9c064553f 100644 --- a/sdks/php/src/Model/TeamResponse.php +++ b/sdks/php/src/Model/TeamResponse.php @@ -332,7 +332,7 @@ public function getName() * * @param string|null $name The name of your Team * - * @return self + * @return static */ public function setName(?string $name) { @@ -359,7 +359,7 @@ public function getAccounts() * * @param AccountResponse[]|null $accounts accounts * - * @return self + * @return static */ public function setAccounts(?array $accounts) { @@ -386,7 +386,7 @@ public function getInvitedAccounts() * * @param AccountResponse[]|null $invited_accounts A list of all Accounts that have an outstanding invitation to join your Team. Note that this response is a subset of the response parameters found in `GET /account`. * - * @return self + * @return static */ public function setInvitedAccounts(?array $invited_accounts) { @@ -413,7 +413,7 @@ public function getInvitedEmails() * * @param string[]|null $invited_emails a list of email addresses that have an outstanding invitation to join your Team and do not yet have a Dropbox Sign account * - * @return self + * @return static */ public function setInvitedEmails(?array $invited_emails) { diff --git a/sdks/php/src/Model/TeamSubTeamsResponse.php b/sdks/php/src/Model/TeamSubTeamsResponse.php index e3e9206c2..0f1889ba8 100644 --- a/sdks/php/src/Model/TeamSubTeamsResponse.php +++ b/sdks/php/src/Model/TeamSubTeamsResponse.php @@ -332,7 +332,7 @@ public function getSubTeams() * * @param SubTeamResponse[] $sub_teams contains a list with sub teams * - * @return self + * @return static */ public function setSubTeams(array $sub_teams) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TeamUpdateRequest.php b/sdks/php/src/Model/TeamUpdateRequest.php index 6606b7676..c49b1d90c 100644 --- a/sdks/php/src/Model/TeamUpdateRequest.php +++ b/sdks/php/src/Model/TeamUpdateRequest.php @@ -310,7 +310,7 @@ public function getName() * * @param string|null $name the name of your Team * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/TemplateAddUserRequest.php b/sdks/php/src/Model/TemplateAddUserRequest.php index ea87103ad..6e089e998 100644 --- a/sdks/php/src/Model/TemplateAddUserRequest.php +++ b/sdks/php/src/Model/TemplateAddUserRequest.php @@ -324,7 +324,7 @@ public function getAccountId() * * @param string|null $account_id The id of the Account to give access to the Template. **NOTE:** The account id prevails if email address is also provided. * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -351,7 +351,7 @@ public function getEmailAddress() * * @param string|null $email_address The email address of the Account to give access to the Template. **NOTE:** The account id prevails if it is also provided. * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -378,7 +378,7 @@ public function getSkipNotification() * * @param bool|null $skip_notification If set to `true`, the user does not receive an email notification when a template has been shared with them. Defaults to `false`. * - * @return self + * @return static */ public function setSkipNotification(?bool $skip_notification) { diff --git a/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php b/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php index fe626a83a..851d9c732 100644 --- a/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php +++ b/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php @@ -492,7 +492,7 @@ public function getClientId() * * @param string $client_id Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -519,7 +519,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -546,7 +546,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -573,7 +573,7 @@ public function getAllowCcs() * * @param bool|null $allow_ccs this allows the requester to specify whether the user is allowed to provide email addresses to CC when creating a template * - * @return self + * @return static */ public function setAllowCcs(?bool $allow_ccs) { @@ -600,7 +600,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan and higher. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -627,7 +627,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -654,7 +654,7 @@ public function getCcRoles() * * @param string[]|null $cc_roles The CC roles that must be assigned when using the template to send a signature request * - * @return self + * @return static */ public function setCcRoles(?array $cc_roles) { @@ -681,7 +681,7 @@ public function getEditorOptions() * * @param SubEditorOptions|null $editor_options editor_options * - * @return self + * @return static */ public function setEditorOptions(?SubEditorOptions $editor_options) { @@ -708,7 +708,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -735,7 +735,7 @@ public function getForceSignerRoles() * * @param bool|null $force_signer_roles provide users the ability to review/edit the template signer roles * - * @return self + * @return static */ public function setForceSignerRoles(?bool $force_signer_roles) { @@ -762,7 +762,7 @@ public function getForceSubjectMessage() * * @param bool|null $force_subject_message provide users the ability to review/edit the template subject and message * - * @return self + * @return static */ public function setForceSubjectMessage(?bool $force_subject_message) { @@ -789,7 +789,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -816,7 +816,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -843,7 +843,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[]|null $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(?array $form_fields_per_document) { @@ -870,7 +870,7 @@ public function getMergeFields() * * @param SubMergeField[]|null $merge_fields Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. * - * @return self + * @return static */ public function setMergeFields(?array $merge_fields) { @@ -897,7 +897,7 @@ public function getMessage() * * @param string|null $message the default template email message * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -928,7 +928,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -956,7 +956,7 @@ public function getShowPreview() * * @param bool|null $show_preview This allows the requester to enable the editor/preview experience. - `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. * - * @return self + * @return static */ public function setShowPreview(?bool $show_preview) { @@ -983,7 +983,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -1010,7 +1010,7 @@ public function getSignerRoles() * * @param SubTemplateRole[]|null $signer_roles an array of the designated signer roles that must be specified when sending a SignatureRequest using this Template * - * @return self + * @return static */ public function setSignerRoles(?array $signer_roles) { @@ -1037,7 +1037,7 @@ public function getSkipMeNow() * * @param bool|null $skip_me_now Disables the \"Me (Now)\" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. * - * @return self + * @return static */ public function setSkipMeNow(?bool $skip_me_now) { @@ -1064,7 +1064,7 @@ public function getSubject() * * @param string|null $subject the template title (alias) * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1095,7 +1095,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1122,7 +1122,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -1149,7 +1149,7 @@ public function getUsePreexistingFields() * * @param bool|null $use_preexisting_fields enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`) * - * @return self + * @return static */ public function setUsePreexistingFields(?bool $use_preexisting_fields) { diff --git a/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponse.php b/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponse.php index 49266a669..2331a89af 100644 --- a/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponse.php +++ b/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponse.php @@ -322,7 +322,7 @@ public function getTemplate() * * @param TemplateCreateEmbeddedDraftResponseTemplate $template template * - * @return self + * @return static */ public function setTemplate(TemplateCreateEmbeddedDraftResponseTemplate $template) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php b/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php index 44031ce16..e86da9adb 100644 --- a/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php +++ b/sdks/php/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php @@ -332,7 +332,7 @@ public function getTemplateId() * * @param string|null $template_id the id of the Template * - * @return self + * @return static */ public function setTemplateId(?string $template_id) { @@ -359,7 +359,7 @@ public function getEditUrl() * * @param string|null $edit_url link to edit the template * - * @return self + * @return static */ public function setEditUrl(?string $edit_url) { @@ -386,7 +386,7 @@ public function getExpiresAt() * * @param int|null $expires_at when the link expires * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { @@ -414,7 +414,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static * @deprecated */ public function setWarnings(?array $warnings) diff --git a/sdks/php/src/Model/TemplateCreateRequest.php b/sdks/php/src/Model/TemplateCreateRequest.php index ec6890622..eaf2782c1 100644 --- a/sdks/php/src/Model/TemplateCreateRequest.php +++ b/sdks/php/src/Model/TemplateCreateRequest.php @@ -446,7 +446,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[] $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(array $form_fields_per_document) { @@ -473,7 +473,7 @@ public function getSignerRoles() * * @param SubTemplateRole[] $signer_roles an array of the designated signer roles that must be specified when sending a SignatureRequest using this Template * - * @return self + * @return static */ public function setSignerRoles(array $signer_roles) { @@ -500,7 +500,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -527,7 +527,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -554,7 +554,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan and higher. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -581,7 +581,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -608,7 +608,7 @@ public function getCcRoles() * * @param string[]|null $cc_roles The CC roles that must be assigned when using the template to send a signature request * - * @return self + * @return static */ public function setCcRoles(?array $cc_roles) { @@ -635,7 +635,7 @@ public function getClientId() * * @param string|null $client_id Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -662,7 +662,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -689,7 +689,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -716,7 +716,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -743,7 +743,7 @@ public function getMergeFields() * * @param SubMergeField[]|null $merge_fields Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. * - * @return self + * @return static */ public function setMergeFields(?array $merge_fields) { @@ -770,7 +770,7 @@ public function getMessage() * * @param string|null $message the default template email message * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -801,7 +801,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -829,7 +829,7 @@ public function getSubject() * * @param string|null $subject the template title (alias) * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -860,7 +860,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -887,7 +887,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -914,7 +914,7 @@ public function getUsePreexistingFields() * * @param bool|null $use_preexisting_fields enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`) * - * @return self + * @return static */ public function setUsePreexistingFields(?bool $use_preexisting_fields) { diff --git a/sdks/php/src/Model/TemplateCreateResponse.php b/sdks/php/src/Model/TemplateCreateResponse.php index e17ce910a..832ed617e 100644 --- a/sdks/php/src/Model/TemplateCreateResponse.php +++ b/sdks/php/src/Model/TemplateCreateResponse.php @@ -322,7 +322,7 @@ public function getTemplate() * * @param TemplateCreateResponseTemplate $template template * - * @return self + * @return static */ public function setTemplate(TemplateCreateResponseTemplate $template) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TemplateCreateResponseTemplate.php b/sdks/php/src/Model/TemplateCreateResponseTemplate.php index 199aa3f74..4c8b7f35a 100644 --- a/sdks/php/src/Model/TemplateCreateResponseTemplate.php +++ b/sdks/php/src/Model/TemplateCreateResponseTemplate.php @@ -311,7 +311,7 @@ public function getTemplateId() * * @param string|null $template_id the id of the Template * - * @return self + * @return static */ public function setTemplateId(?string $template_id) { diff --git a/sdks/php/src/Model/TemplateEditResponse.php b/sdks/php/src/Model/TemplateEditResponse.php index 0ef5462cf..89a68c3bd 100644 --- a/sdks/php/src/Model/TemplateEditResponse.php +++ b/sdks/php/src/Model/TemplateEditResponse.php @@ -315,7 +315,7 @@ public function getTemplateId() * * @param string $template_id the id of the Template * - * @return self + * @return static */ public function setTemplateId(string $template_id) { diff --git a/sdks/php/src/Model/TemplateGetResponse.php b/sdks/php/src/Model/TemplateGetResponse.php index 45b89ba15..bc102a4af 100644 --- a/sdks/php/src/Model/TemplateGetResponse.php +++ b/sdks/php/src/Model/TemplateGetResponse.php @@ -322,7 +322,7 @@ public function getTemplate() * * @param TemplateResponse $template template * - * @return self + * @return static */ public function setTemplate(TemplateResponse $template) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TemplateListResponse.php b/sdks/php/src/Model/TemplateListResponse.php index 49974663e..55af6153a 100644 --- a/sdks/php/src/Model/TemplateListResponse.php +++ b/sdks/php/src/Model/TemplateListResponse.php @@ -332,7 +332,7 @@ public function getTemplates() * * @param TemplateResponse[] $templates list of templates that the API caller has access to * - * @return self + * @return static */ public function setTemplates(array $templates) { @@ -359,7 +359,7 @@ public function getListInfo() * * @param ListInfoResponse $list_info list_info * - * @return self + * @return static */ public function setListInfo(ListInfoResponse $list_info) { @@ -386,7 +386,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/TemplateRemoveUserRequest.php b/sdks/php/src/Model/TemplateRemoveUserRequest.php index d7a8582f9..5ab7ed470 100644 --- a/sdks/php/src/Model/TemplateRemoveUserRequest.php +++ b/sdks/php/src/Model/TemplateRemoveUserRequest.php @@ -317,7 +317,7 @@ public function getAccountId() * * @param string|null $account_id The id or email address of the Account to remove access to the Template. The account id prevails if both are provided. * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -344,7 +344,7 @@ public function getEmailAddress() * * @param string|null $email_address The id or email address of the Account to remove access to the Template. The account id prevails if both are provided. * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { diff --git a/sdks/php/src/Model/TemplateResponse.php b/sdks/php/src/Model/TemplateResponse.php index 6bc51cfb9..bee0a5b2a 100644 --- a/sdks/php/src/Model/TemplateResponse.php +++ b/sdks/php/src/Model/TemplateResponse.php @@ -416,7 +416,7 @@ public function getTemplateId() * * @param string|null $template_id the id of the Template * - * @return self + * @return static */ public function setTemplateId(?string $template_id) { @@ -443,7 +443,7 @@ public function getTitle() * * @param string|null $title The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -470,7 +470,7 @@ public function getMessage() * * @param string|null $message The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -497,7 +497,7 @@ public function getUpdatedAt() * * @param int|null $updated_at time the template was last updated * - * @return self + * @return static */ public function setUpdatedAt(?int $updated_at) { @@ -524,7 +524,7 @@ public function getIsEmbedded() * * @param bool|null $is_embedded `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template. * - * @return self + * @return static */ public function setIsEmbedded(?bool $is_embedded) { @@ -558,7 +558,7 @@ public function getIsCreator() * * @param bool|null $is_creator `true` if you are the owner of this template, `false` if it's been shared with you by a team member * - * @return self + * @return static */ public function setIsCreator(?bool $is_creator) { @@ -585,7 +585,7 @@ public function getCanEdit() * * @param bool|null $can_edit indicates whether edit rights have been granted to you by the owner (always `true` if that's you) * - * @return self + * @return static */ public function setCanEdit(?bool $can_edit) { @@ -612,7 +612,7 @@ public function getIsLocked() * * @param bool|null $is_locked Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. * - * @return self + * @return static */ public function setIsLocked(?bool $is_locked) { @@ -639,7 +639,7 @@ public function getMetadata() * * @param array|null $metadata the metadata attached to the template * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -666,7 +666,7 @@ public function getSignerRoles() * * @param TemplateResponseSignerRole[]|null $signer_roles an array of the designated signer roles that must be specified when sending a SignatureRequest using this Template * - * @return self + * @return static */ public function setSignerRoles(?array $signer_roles) { @@ -693,7 +693,7 @@ public function getCcRoles() * * @param TemplateResponseCCRole[]|null $cc_roles an array of the designated CC roles that must be specified when sending a SignatureRequest using this Template * - * @return self + * @return static */ public function setCcRoles(?array $cc_roles) { @@ -720,7 +720,7 @@ public function getDocuments() * * @param TemplateResponseDocument[]|null $documents An array describing each document associated with this Template. Includes form field data for each document. * - * @return self + * @return static */ public function setDocuments(?array $documents) { @@ -748,7 +748,7 @@ public function getCustomFields() * * @param TemplateResponseDocumentCustomFieldBase[]|null $custom_fields Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. * - * @return self + * @return static * @deprecated */ public function setCustomFields(?array $custom_fields) @@ -784,7 +784,7 @@ public function getNamedFormFields() * * @param TemplateResponseDocumentFormFieldBase[]|null $named_form_fields Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. * - * @return self + * @return static * @deprecated */ public function setNamedFormFields(?array $named_form_fields) @@ -819,7 +819,7 @@ public function getAccounts() * * @param TemplateResponseAccount[]|null $accounts an array of the Accounts that can use this Template * - * @return self + * @return static */ public function setAccounts(?array $accounts) { @@ -846,7 +846,7 @@ public function getAttachments() * * @param SignatureRequestResponseAttachment[]|null $attachments signer attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { diff --git a/sdks/php/src/Model/TemplateResponseAccount.php b/sdks/php/src/Model/TemplateResponseAccount.php index 47ddefabe..60bf5db71 100644 --- a/sdks/php/src/Model/TemplateResponseAccount.php +++ b/sdks/php/src/Model/TemplateResponseAccount.php @@ -345,7 +345,7 @@ public function getAccountId() * * @param string|null $account_id the id of the Account * - * @return self + * @return static */ public function setAccountId(?string $account_id) { @@ -372,7 +372,7 @@ public function getEmailAddress() * * @param string|null $email_address the email address associated with the Account * - * @return self + * @return static */ public function setEmailAddress(?string $email_address) { @@ -399,7 +399,7 @@ public function getIsLocked() * * @param bool|null $is_locked returns `true` if the user has been locked out of their account by a team admin * - * @return self + * @return static */ public function setIsLocked(?bool $is_locked) { @@ -426,7 +426,7 @@ public function getIsPaidHs() * * @param bool|null $is_paid_hs returns `true` if the user has a paid Dropbox Sign account * - * @return self + * @return static */ public function setIsPaidHs(?bool $is_paid_hs) { @@ -453,7 +453,7 @@ public function getIsPaidHf() * * @param bool|null $is_paid_hf returns `true` if the user has a paid HelloFax account * - * @return self + * @return static */ public function setIsPaidHf(?bool $is_paid_hf) { @@ -480,7 +480,7 @@ public function getQuotas() * * @param TemplateResponseAccountQuota|null $quotas quotas * - * @return self + * @return static */ public function setQuotas(?TemplateResponseAccountQuota $quotas) { diff --git a/sdks/php/src/Model/TemplateResponseAccountQuota.php b/sdks/php/src/Model/TemplateResponseAccountQuota.php index 46386d6ec..c39f957fa 100644 --- a/sdks/php/src/Model/TemplateResponseAccountQuota.php +++ b/sdks/php/src/Model/TemplateResponseAccountQuota.php @@ -332,7 +332,7 @@ public function getTemplatesLeft() * * @param int|null $templates_left API templates remaining * - * @return self + * @return static */ public function setTemplatesLeft(?int $templates_left) { @@ -359,7 +359,7 @@ public function getApiSignatureRequestsLeft() * * @param int|null $api_signature_requests_left API signature requests remaining * - * @return self + * @return static */ public function setApiSignatureRequestsLeft(?int $api_signature_requests_left) { @@ -386,7 +386,7 @@ public function getDocumentsLeft() * * @param int|null $documents_left signature requests remaining * - * @return self + * @return static */ public function setDocumentsLeft(?int $documents_left) { @@ -413,7 +413,7 @@ public function getSmsVerificationsLeft() * * @param int|null $sms_verifications_left SMS verifications remaining * - * @return self + * @return static */ public function setSmsVerificationsLeft(?int $sms_verifications_left) { diff --git a/sdks/php/src/Model/TemplateResponseCCRole.php b/sdks/php/src/Model/TemplateResponseCCRole.php index 06ee33219..a6caf1fb7 100644 --- a/sdks/php/src/Model/TemplateResponseCCRole.php +++ b/sdks/php/src/Model/TemplateResponseCCRole.php @@ -310,7 +310,7 @@ public function getName() * * @param string|null $name the name of the Role * - * @return self + * @return static */ public function setName(?string $name) { diff --git a/sdks/php/src/Model/TemplateResponseDocument.php b/sdks/php/src/Model/TemplateResponseDocument.php index 02a88387d..4f1a9ddb4 100644 --- a/sdks/php/src/Model/TemplateResponseDocument.php +++ b/sdks/php/src/Model/TemplateResponseDocument.php @@ -345,7 +345,7 @@ public function getName() * * @param string|null $name name of the associated file * - * @return self + * @return static */ public function setName(?string $name) { @@ -372,7 +372,7 @@ public function getIndex() * * @param int|null $index document ordering, the lowest index is displayed first and the highest last (0-based indexing) * - * @return self + * @return static */ public function setIndex(?int $index) { @@ -399,7 +399,7 @@ public function getFieldGroups() * * @param TemplateResponseDocumentFieldGroup[]|null $field_groups an array of Form Field Group objects * - * @return self + * @return static */ public function setFieldGroups(?array $field_groups) { @@ -426,7 +426,7 @@ public function getFormFields() * * @param TemplateResponseDocumentFormFieldBase[]|null $form_fields an array of Form Field objects containing the name and type of each named field * - * @return self + * @return static */ public function setFormFields(?array $form_fields) { @@ -453,7 +453,7 @@ public function getCustomFields() * * @param TemplateResponseDocumentCustomFieldBase[]|null $custom_fields an array of Form Field objects containing the name and type of each named field * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -480,7 +480,7 @@ public function getStaticFields() * * @param TemplateResponseDocumentStaticFieldBase[]|null $static_fields An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. * - * @return self + * @return static */ public function setStaticFields(?array $static_fields) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldBase.php b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldBase.php index 011502522..daf7722b3 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldBase.php +++ b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldBase.php @@ -378,7 +378,7 @@ public function getType() * * @param string $type type * - * @return self + * @return static */ public function setType(string $type) { @@ -405,7 +405,7 @@ public function getApiId() * * @param string|null $api_id the unique ID for this field * - * @return self + * @return static */ public function setApiId(?string $api_id) { @@ -432,7 +432,7 @@ public function getName() * * @param string|null $name the name of the Custom Field * - * @return self + * @return static */ public function setName(?string $name) { @@ -459,7 +459,7 @@ public function getSigner() * * @param string|null $signer The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). * - * @return self + * @return static */ public function setSigner(?string $signer) { @@ -493,7 +493,7 @@ public function getX() * * @param int|null $x the horizontal offset in pixels for this form field * - * @return self + * @return static */ public function setX(?int $x) { @@ -520,7 +520,7 @@ public function getY() * * @param int|null $y the vertical offset in pixels for this form field * - * @return self + * @return static */ public function setY(?int $y) { @@ -547,7 +547,7 @@ public function getWidth() * * @param int|null $width the width in pixels of this form field * - * @return self + * @return static */ public function setWidth(?int $width) { @@ -574,7 +574,7 @@ public function getHeight() * * @param int|null $height the height in pixels of this form field * - * @return self + * @return static */ public function setHeight(?int $height) { @@ -601,7 +601,7 @@ public function getRequired() * * @param bool|null $required boolean showing whether or not this field is required * - * @return self + * @return static */ public function setRequired(?bool $required) { @@ -628,7 +628,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null`. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php index 7ec8dc018..3ec02677e 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php +++ b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this Custom Field. Only `text` and `checkbox` are currently supported. * Text uses `TemplateResponseDocumentCustomFieldText` * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldText.php b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldText.php index e63a73978..a13ebb465 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentCustomFieldText.php +++ b/sdks/php/src/Model/TemplateResponseDocumentCustomFieldText.php @@ -337,7 +337,7 @@ public function getType() * * @param string $type The type of this Custom Field. Only `text` and `checkbox` are currently supported. * Text uses `TemplateResponseDocumentCustomFieldText` * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` * - * @return self + * @return static */ public function setType(string $type) { @@ -364,7 +364,7 @@ public function getAvgTextLength() * * @param TemplateResponseFieldAvgTextLength|null $avg_text_length avg_text_length * - * @return self + * @return static */ public function setAvgTextLength(?TemplateResponseFieldAvgTextLength $avg_text_length) { @@ -391,7 +391,7 @@ public function getIsMultiline() * * @param bool|null $is_multiline whether this form field is multiline text * - * @return self + * @return static */ public function setIsMultiline(?bool $is_multiline) { @@ -418,7 +418,7 @@ public function getOriginalFontSize() * * @param int|null $original_font_size original font size used in this form field's text * - * @return self + * @return static */ public function setOriginalFontSize(?int $original_font_size) { @@ -445,7 +445,7 @@ public function getFontFamily() * * @param string|null $font_family font family used in this form field's text * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFieldGroup.php b/sdks/php/src/Model/TemplateResponseDocumentFieldGroup.php index 541714841..583852fca 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFieldGroup.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFieldGroup.php @@ -317,7 +317,7 @@ public function getName() * * @param string|null $name the name of the form field group * - * @return self + * @return static */ public function setName(?string $name) { @@ -344,7 +344,7 @@ public function getRule() * * @param TemplateResponseDocumentFieldGroupRule|null $rule rule * - * @return self + * @return static */ public function setRule(?TemplateResponseDocumentFieldGroupRule $rule) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFieldGroupRule.php b/sdks/php/src/Model/TemplateResponseDocumentFieldGroupRule.php index 1bd31bde9..c6c8412c6 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFieldGroupRule.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFieldGroupRule.php @@ -318,7 +318,7 @@ public function getRequirement() * * @param string|null $requirement Examples: `require_0-1` `require_1` `require_1-ormore` - Check out the list of [acceptable `requirement` checkbox type values](/api/reference/constants/#checkbox-field-grouping). - Check out the list of [acceptable `requirement` radio type fields](/api/reference/constants/#radio-field-grouping). - Radio groups require **at least** two fields per group. * - * @return self + * @return static */ public function setRequirement(?string $requirement) { @@ -345,7 +345,7 @@ public function getGroupLabel() * * @param string|null $group_label Name of the group * - * @return self + * @return static */ public function setGroupLabel(?string $group_label) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldBase.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldBase.php index ecc03a7db..3e68aeaf1 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldBase.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldBase.php @@ -389,7 +389,7 @@ public function getType() * * @param string $type type * - * @return self + * @return static */ public function setType(string $type) { @@ -416,7 +416,7 @@ public function getApiId() * * @param string|null $api_id a unique id for the form field * - * @return self + * @return static */ public function setApiId(?string $api_id) { @@ -443,7 +443,7 @@ public function getName() * * @param string|null $name the name of the form field * - * @return self + * @return static */ public function setName(?string $name) { @@ -470,7 +470,7 @@ public function getSigner() * * @param string|null $signer the signer of the Form Field * - * @return self + * @return static */ public function setSigner(?string $signer) { @@ -497,7 +497,7 @@ public function getX() * * @param int|null $x the horizontal offset in pixels for this form field * - * @return self + * @return static */ public function setX(?int $x) { @@ -524,7 +524,7 @@ public function getY() * * @param int|null $y the vertical offset in pixels for this form field * - * @return self + * @return static */ public function setY(?int $y) { @@ -551,7 +551,7 @@ public function getWidth() * * @param int|null $width the width in pixels of this form field * - * @return self + * @return static */ public function setWidth(?int $width) { @@ -578,7 +578,7 @@ public function getHeight() * * @param int|null $height the height in pixels of this form field * - * @return self + * @return static */ public function setHeight(?int $height) { @@ -605,7 +605,7 @@ public function getRequired() * * @param bool|null $required boolean showing whether or not this field is required * - * @return self + * @return static */ public function setRequired(?bool $required) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldCheckbox.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldCheckbox.php index a30010fc1..dfb011b63 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldCheckbox.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldCheckbox.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldDateSigned.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldDateSigned.php index bd6072350..7e6918702 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldDateSigned.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldDateSigned.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldDropdown.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldDropdown.php index 3e4a827da..c09ff0a11 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldDropdown.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldDropdown.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldHyperlink.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldHyperlink.php index 687269f79..738e21aa5 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldHyperlink.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldHyperlink.php @@ -344,7 +344,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -371,7 +371,7 @@ public function getAvgTextLength() * * @param TemplateResponseFieldAvgTextLength|null $avg_text_length avg_text_length * - * @return self + * @return static */ public function setAvgTextLength(?TemplateResponseFieldAvgTextLength $avg_text_length) { @@ -398,7 +398,7 @@ public function getIsMultiline() * * @param bool|null $is_multiline whether this form field is multiline text * - * @return self + * @return static */ public function setIsMultiline(?bool $is_multiline) { @@ -425,7 +425,7 @@ public function getOriginalFontSize() * * @param int|null $original_font_size original font size used in this form field's text * - * @return self + * @return static */ public function setOriginalFontSize(?int $original_font_size) { @@ -452,7 +452,7 @@ public function getFontFamily() * * @param string|null $font_family font family used in this form field's text * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -479,7 +479,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldInitials.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldInitials.php index 101a6e955..046a9de67 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldInitials.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldInitials.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldRadio.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldRadio.php index 8fd494678..5743b835d 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldRadio.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldRadio.php @@ -319,7 +319,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -346,7 +346,7 @@ public function getGroup() * * @param string $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldSignature.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldSignature.php index 777777464..394fb7d8d 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldSignature.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldSignature.php @@ -316,7 +316,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -343,7 +343,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentFormFieldText.php b/sdks/php/src/Model/TemplateResponseDocumentFormFieldText.php index 42c15b9ed..73b06707e 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentFormFieldText.php +++ b/sdks/php/src/Model/TemplateResponseDocumentFormFieldText.php @@ -392,7 +392,7 @@ public function getType() * * @param string $type The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { @@ -419,7 +419,7 @@ public function getAvgTextLength() * * @param TemplateResponseFieldAvgTextLength|null $avg_text_length avg_text_length * - * @return self + * @return static */ public function setAvgTextLength(?TemplateResponseFieldAvgTextLength $avg_text_length) { @@ -446,7 +446,7 @@ public function getIsMultiline() * * @param bool|null $is_multiline whether this form field is multiline text * - * @return self + * @return static */ public function setIsMultiline(?bool $is_multiline) { @@ -473,7 +473,7 @@ public function getOriginalFontSize() * * @param int|null $original_font_size original font size used in this form field's text * - * @return self + * @return static */ public function setOriginalFontSize(?int $original_font_size) { @@ -500,7 +500,7 @@ public function getFontFamily() * * @param string|null $font_family font family used in this form field's text * - * @return self + * @return static */ public function setFontFamily(?string $font_family) { @@ -527,7 +527,7 @@ public function getValidationType() * * @param string|null $validation_type Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. * - * @return self + * @return static */ public function setValidationType(?string $validation_type) { @@ -571,7 +571,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldBase.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldBase.php index bd18e1847..fe93286fb 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldBase.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldBase.php @@ -396,7 +396,7 @@ public function getType() * * @param string $type type * - * @return self + * @return static */ public function setType(string $type) { @@ -423,7 +423,7 @@ public function getApiId() * * @param string|null $api_id a unique id for the static field * - * @return self + * @return static */ public function setApiId(?string $api_id) { @@ -450,7 +450,7 @@ public function getName() * * @param string|null $name the name of the static field * - * @return self + * @return static */ public function setName(?string $name) { @@ -477,7 +477,7 @@ public function getSigner() * * @param string|null $signer the signer of the Static Field * - * @return self + * @return static */ public function setSigner(?string $signer) { @@ -504,7 +504,7 @@ public function getX() * * @param int|null $x the horizontal offset in pixels for this static field * - * @return self + * @return static */ public function setX(?int $x) { @@ -531,7 +531,7 @@ public function getY() * * @param int|null $y the vertical offset in pixels for this static field * - * @return self + * @return static */ public function setY(?int $y) { @@ -558,7 +558,7 @@ public function getWidth() * * @param int|null $width the width in pixels of this static field * - * @return self + * @return static */ public function setWidth(?int $width) { @@ -585,7 +585,7 @@ public function getHeight() * * @param int|null $height the height in pixels of this static field * - * @return self + * @return static */ public function setHeight(?int $height) { @@ -612,7 +612,7 @@ public function getRequired() * * @param bool|null $required boolean showing whether or not this field is required * - * @return self + * @return static */ public function setRequired(?bool $required) { @@ -639,7 +639,7 @@ public function getGroup() * * @param string|null $group The name of the group this field is in. If this field is not a group, this defaults to `null`. * - * @return self + * @return static */ public function setGroup(?string $group) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php index 9739d2e05..3300ed450 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php index 911febf8d..a314f5461 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDropdown.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDropdown.php index 6022f9289..d3dadaf82 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDropdown.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldDropdown.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php index 246bea450..f8c521fce 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldInitials.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldInitials.php index 339b3a2a5..9a7ed3eeb 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldInitials.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldInitials.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldRadio.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldRadio.php index 8dc139712..564394dc8 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldRadio.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldRadio.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldSignature.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldSignature.php index c86d1c9a3..cf5260ee6 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldSignature.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldSignature.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldText.php b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldText.php index ec89541e3..a26de0d3f 100644 --- a/sdks/php/src/Model/TemplateResponseDocumentStaticFieldText.php +++ b/sdks/php/src/Model/TemplateResponseDocumentStaticFieldText.php @@ -309,7 +309,7 @@ public function getType() * * @param string $type The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` * - * @return self + * @return static */ public function setType(string $type) { diff --git a/sdks/php/src/Model/TemplateResponseFieldAvgTextLength.php b/sdks/php/src/Model/TemplateResponseFieldAvgTextLength.php index 9277db26a..aaf3d4200 100644 --- a/sdks/php/src/Model/TemplateResponseFieldAvgTextLength.php +++ b/sdks/php/src/Model/TemplateResponseFieldAvgTextLength.php @@ -318,7 +318,7 @@ public function getNumLines() * * @param int|null $num_lines number of lines * - * @return self + * @return static */ public function setNumLines(?int $num_lines) { @@ -345,7 +345,7 @@ public function getNumCharsPerLine() * * @param int|null $num_chars_per_line number of characters per line * - * @return self + * @return static */ public function setNumCharsPerLine(?int $num_chars_per_line) { diff --git a/sdks/php/src/Model/TemplateResponseSignerRole.php b/sdks/php/src/Model/TemplateResponseSignerRole.php index 98a80c6e0..7de9ace82 100644 --- a/sdks/php/src/Model/TemplateResponseSignerRole.php +++ b/sdks/php/src/Model/TemplateResponseSignerRole.php @@ -317,7 +317,7 @@ public function getName() * * @param string|null $name the name of the Role * - * @return self + * @return static */ public function setName(?string $name) { @@ -344,7 +344,7 @@ public function getOrder() * * @param int|null $order if signer order is assigned this is the 0-based index for this role * - * @return self + * @return static */ public function setOrder(?int $order) { diff --git a/sdks/php/src/Model/TemplateUpdateFilesRequest.php b/sdks/php/src/Model/TemplateUpdateFilesRequest.php index 7c165ff7d..9d699c779 100644 --- a/sdks/php/src/Model/TemplateUpdateFilesRequest.php +++ b/sdks/php/src/Model/TemplateUpdateFilesRequest.php @@ -356,7 +356,7 @@ public function getClientId() * * @param string|null $client_id client id of the app you're using to update this template * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -383,7 +383,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to use for the template. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -410,7 +410,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to use for the template. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -437,7 +437,7 @@ public function getMessage() * * @param string|null $message the new default template email message * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -468,7 +468,7 @@ public function getSubject() * * @param string|null $subject the new default template email subject * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -499,7 +499,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { diff --git a/sdks/php/src/Model/TemplateUpdateFilesResponse.php b/sdks/php/src/Model/TemplateUpdateFilesResponse.php index d8080fb74..3a6aed7b9 100644 --- a/sdks/php/src/Model/TemplateUpdateFilesResponse.php +++ b/sdks/php/src/Model/TemplateUpdateFilesResponse.php @@ -315,7 +315,7 @@ public function getTemplate() * * @param TemplateUpdateFilesResponseTemplate $template template * - * @return self + * @return static */ public function setTemplate(TemplateUpdateFilesResponseTemplate $template) { diff --git a/sdks/php/src/Model/TemplateUpdateFilesResponseTemplate.php b/sdks/php/src/Model/TemplateUpdateFilesResponseTemplate.php index 70d2e87dc..a4bddf6fd 100644 --- a/sdks/php/src/Model/TemplateUpdateFilesResponseTemplate.php +++ b/sdks/php/src/Model/TemplateUpdateFilesResponseTemplate.php @@ -318,7 +318,7 @@ public function getTemplateId() * * @param string|null $template_id the id of the Template * - * @return self + * @return static */ public function setTemplateId(?string $template_id) { @@ -346,7 +346,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static * @deprecated */ public function setWarnings(?array $warnings) diff --git a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php index 8d4a7e3e2..afb76d787 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php @@ -598,7 +598,7 @@ public function getClientId() * * @param string $client_id Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -625,7 +625,7 @@ public function getRequesterEmailAddress() * * @param string $requester_email_address the email address of the user that should be designated as the requester of this draft, if the draft type is `request_signature` * - * @return self + * @return static */ public function setRequesterEmailAddress(string $requester_email_address) { @@ -652,7 +652,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -679,7 +679,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -706,7 +706,7 @@ public function getAllowCcs() * * @param bool|null $allow_ccs this allows the requester to specify whether the user is allowed to provide email addresses to CC when claiming the draft * - * @return self + * @return static */ public function setAllowCcs(?bool $allow_ccs) { @@ -733,7 +733,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -760,7 +760,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan and higher. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -787,7 +787,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -814,7 +814,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses the email addresses that should be CCed * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -841,7 +841,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -868,7 +868,7 @@ public function getEditorOptions() * * @param SubEditorOptions|null $editor_options editor_options * - * @return self + * @return static */ public function setEditorOptions(?SubEditorOptions $editor_options) { @@ -895,7 +895,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -922,7 +922,7 @@ public function getForceSignerPage() * * @param bool|null $force_signer_page provide users the ability to review/edit the signers * - * @return self + * @return static */ public function setForceSignerPage(?bool $force_signer_page) { @@ -949,7 +949,7 @@ public function getForceSubjectMessage() * * @param bool|null $force_subject_message provide users the ability to review/edit the subject and message * - * @return self + * @return static */ public function setForceSubjectMessage(?bool $force_subject_message) { @@ -976,7 +976,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -1003,7 +1003,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -1030,7 +1030,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[]|null $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(?array $form_fields_per_document) { @@ -1057,7 +1057,7 @@ public function getHideTextTags() * * @param bool|null $hide_text_tags Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. * - * @return self + * @return static */ public function setHideTextTags(?bool $hide_text_tags) { @@ -1084,7 +1084,7 @@ public function getHoldRequest() * * @param bool|null $hold_request The request from this draft will not automatically send to signers post-claim if set to `true`. Requester must [release](/api/reference/operation/signatureRequestReleaseHold/) the request from hold when ready to send. Defaults to `false`. * - * @return self + * @return static */ public function setHoldRequest(?bool $hold_request) { @@ -1111,7 +1111,7 @@ public function getIsForEmbeddedSigning() * * @param bool|null $is_for_embedded_signing The request created from this draft will also be signable in embedded mode if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setIsForEmbeddedSigning(?bool $is_for_embedded_signing) { @@ -1138,7 +1138,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -1169,7 +1169,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -1197,7 +1197,7 @@ public function getRequestingRedirectUrl() * * @param string|null $requesting_redirect_url the URL you want signers redirected to after they successfully request a signature * - * @return self + * @return static */ public function setRequestingRedirectUrl(?string $requesting_redirect_url) { @@ -1224,7 +1224,7 @@ public function getShowPreview() * * @param bool|null $show_preview This allows the requester to enable the editor/preview experience. - `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. * - * @return self + * @return static */ public function setShowPreview(?bool $show_preview) { @@ -1251,7 +1251,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -1278,7 +1278,7 @@ public function getSigners() * * @param SubUnclaimedDraftSigner[]|null $signers add Signers to your Unclaimed Draft Signature Request * - * @return self + * @return static */ public function setSigners(?array $signers) { @@ -1305,7 +1305,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -1332,7 +1332,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1359,7 +1359,7 @@ public function getSkipMeNow() * * @param bool|null $skip_me_now Disables the \"Me (Now)\" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. * - * @return self + * @return static */ public function setSkipMeNow(?bool $skip_me_now) { @@ -1386,7 +1386,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1417,7 +1417,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1444,7 +1444,7 @@ public function getType() * * @param string|null $type The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. * - * @return self + * @return static */ public function setType(?string $type) { @@ -1481,7 +1481,7 @@ public function getUsePreexistingFields() * * @param bool|null $use_preexisting_fields Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. * - * @return self + * @return static */ public function setUsePreexistingFields(?bool $use_preexisting_fields) { @@ -1508,7 +1508,7 @@ public function getUseTextTags() * * @param bool|null $use_text_tags Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. * - * @return self + * @return static */ public function setUseTextTags(?bool $use_text_tags) { @@ -1535,7 +1535,7 @@ public function getPopulateAutoFillFields() * * @param bool|null $populate_auto_fill_fields Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. * - * @return self + * @return static */ public function setPopulateAutoFillFields(?bool $populate_auto_fill_fields) { @@ -1562,7 +1562,7 @@ public function getExpiresAt() * * @param int|null $expires_at When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. **NOTE:** This does not correspond to the **expires_at** returned in the response. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php index df0b1df69..bc4d9df59 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php @@ -537,7 +537,7 @@ public function getClientId() * * @param string $client_id Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -564,7 +564,7 @@ public function getRequesterEmailAddress() * * @param string $requester_email_address the email address of the user that should be designated as the requester of this draft * - * @return self + * @return static */ public function setRequesterEmailAddress(string $requester_email_address) { @@ -591,7 +591,7 @@ public function getTemplateIds() * * @param string[] $template_ids use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the templates will be used * - * @return self + * @return static */ public function setTemplateIds(array $template_ids) { @@ -618,7 +618,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -645,7 +645,7 @@ public function getAllowReassign() * * @param bool|null $allow_reassign Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **NOTE:** Only available for Premium plan and higher. * - * @return self + * @return static */ public function setAllowReassign(?bool $allow_reassign) { @@ -672,7 +672,7 @@ public function getCcs() * * @param SubCC[]|null $ccs Add CC email recipients. Required when a CC role exists for the Template. * - * @return self + * @return static */ public function setCcs(?array $ccs) { @@ -699,7 +699,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields An array defining values and options for custom fields. Required when a custom field exists in the Template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -726,7 +726,7 @@ public function getEditorOptions() * * @param SubEditorOptions|null $editor_options editor_options * - * @return self + * @return static */ public function setEditorOptions(?SubEditorOptions $editor_options) { @@ -753,7 +753,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -780,7 +780,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to append additional files to the signature request being created from the template. Dropbox Sign will parse the files for [text tags](https://app.hellosign.com/api/textTagsWalkthrough) and append it to the signature request. Text tags for signers not on the template(s) will be ignored. **files** or **file_urls[]** is required, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -807,7 +807,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use file_urls[] to append additional files to the signature request being created from the template. Dropbox Sign will download the file, then parse it for [text tags](https://app.hellosign.com/api/textTagsWalkthrough), and append to the signature request. Text tags for signers not on the template(s) will be ignored. **files** or **file_urls[]** is required, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -834,7 +834,7 @@ public function getForceSignerRoles() * * @param bool|null $force_signer_roles provide users the ability to review/edit the template signer roles * - * @return self + * @return static */ public function setForceSignerRoles(?bool $force_signer_roles) { @@ -861,7 +861,7 @@ public function getForceSubjectMessage() * * @param bool|null $force_subject_message provide users the ability to review/edit the template subject and message * - * @return self + * @return static */ public function setForceSubjectMessage(?bool $force_subject_message) { @@ -888,7 +888,7 @@ public function getHoldRequest() * * @param bool|null $hold_request The request from this draft will not automatically send to signers post-claim if set to 1. Requester must [release](/api/reference/operation/signatureRequestReleaseHold/) the request from hold when ready to send. Defaults to `false`. * - * @return self + * @return static */ public function setHoldRequest(?bool $hold_request) { @@ -915,7 +915,7 @@ public function getIsForEmbeddedSigning() * * @param bool|null $is_for_embedded_signing The request created from this draft will also be signable in embedded mode if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setIsForEmbeddedSigning(?bool $is_for_embedded_signing) { @@ -942,7 +942,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -973,7 +973,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -1001,7 +1001,7 @@ public function getPreviewOnly() * * @param bool|null $preview_only This allows the requester to enable the preview experience (i.e. does not allow the requester's end user to add any additional fields via the editor). - `preview_only=true`: Allows requesters to enable the preview only experience. - `preview_only=false`: Allows requesters to disable the preview only experience. **NOTE:** This parameter overwrites `show_preview=1` (if set). * - * @return self + * @return static */ public function setPreviewOnly(?bool $preview_only) { @@ -1028,7 +1028,7 @@ public function getRequestingRedirectUrl() * * @param string|null $requesting_redirect_url the URL you want signers redirected to after they successfully request a signature * - * @return self + * @return static */ public function setRequestingRedirectUrl(?string $requesting_redirect_url) { @@ -1055,7 +1055,7 @@ public function getShowPreview() * * @param bool|null $show_preview This allows the requester to enable the editor/preview experience. - `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. * - * @return self + * @return static */ public function setShowPreview(?bool $show_preview) { @@ -1082,7 +1082,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -1109,7 +1109,7 @@ public function getSigners() * * @param SubUnclaimedDraftTemplateSigner[]|null $signers add Signers to your Templated-based Signature Request * - * @return self + * @return static */ public function setSigners(?array $signers) { @@ -1136,7 +1136,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -1163,7 +1163,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1190,7 +1190,7 @@ public function getSkipMeNow() * * @param bool|null $skip_me_now Disables the \"Me (Now)\" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. * - * @return self + * @return static */ public function setSkipMeNow(?bool $skip_me_now) { @@ -1217,7 +1217,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1248,7 +1248,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1275,7 +1275,7 @@ public function getTitle() * * @param string|null $title the title you want to assign to the SignatureRequest * - * @return self + * @return static */ public function setTitle(?string $title) { @@ -1306,7 +1306,7 @@ public function getPopulateAutoFillFields() * * @param bool|null $populate_auto_fill_fields Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. * - * @return self + * @return static */ public function setPopulateAutoFillFields(?bool $populate_auto_fill_fields) { @@ -1333,7 +1333,7 @@ public function getAllowCcs() * * @param bool|null $allow_ccs this allows the requester to specify whether the user is allowed to provide email addresses to CC when claiming the draft * - * @return self + * @return static */ public function setAllowCcs(?bool $allow_ccs) { diff --git a/sdks/php/src/Model/UnclaimedDraftCreateRequest.php b/sdks/php/src/Model/UnclaimedDraftCreateRequest.php index 1d55c2c1b..aed12c00b 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateRequest.php @@ -511,7 +511,7 @@ public function getType() * * @param string $type The type of unclaimed draft to create. Use `send_document` to create a claimable file, and `request_signature` for a claimable signature request. If the type is `request_signature` then signers name and email_address are not optional. * - * @return self + * @return static */ public function setType(string $type) { @@ -548,7 +548,7 @@ public function getFiles() * * @param SplFileObject[]|null $files Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFiles(?array $files) { @@ -575,7 +575,7 @@ public function getFileUrls() * * @param string[]|null $file_urls Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. * - * @return self + * @return static */ public function setFileUrls(?array $file_urls) { @@ -602,7 +602,7 @@ public function getAllowDecline() * * @param bool|null $allow_decline Allows signers to decline to sign a document if `true`. Defaults to `false`. * - * @return self + * @return static */ public function setAllowDecline(?bool $allow_decline) { @@ -629,7 +629,7 @@ public function getAttachments() * * @param SubAttachment[]|null $attachments A list describing the attachments * - * @return self + * @return static */ public function setAttachments(?array $attachments) { @@ -656,7 +656,7 @@ public function getCcEmailAddresses() * * @param string[]|null $cc_email_addresses the email addresses that should be CCed * - * @return self + * @return static */ public function setCcEmailAddresses(?array $cc_email_addresses) { @@ -683,7 +683,7 @@ public function getClientId() * * @param string|null $client_id Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(?string $client_id) { @@ -710,7 +710,7 @@ public function getCustomFields() * * @param SubCustomField[]|null $custom_fields When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * - * @return self + * @return static */ public function setCustomFields(?array $custom_fields) { @@ -737,7 +737,7 @@ public function getFieldOptions() * * @param SubFieldOptions|null $field_options field_options * - * @return self + * @return static */ public function setFieldOptions(?SubFieldOptions $field_options) { @@ -764,7 +764,7 @@ public function getFormFieldGroups() * * @param SubFormFieldGroup[]|null $form_field_groups Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. * - * @return self + * @return static */ public function setFormFieldGroups(?array $form_field_groups) { @@ -791,7 +791,7 @@ public function getFormFieldRules() * * @param SubFormFieldRule[]|null $form_field_rules conditional Logic rules for fields defined in `form_fields_per_document` * - * @return self + * @return static */ public function setFormFieldRules(?array $form_field_rules) { @@ -818,7 +818,7 @@ public function getFormFieldsPerDocument() * * @param SubFormFieldsPerDocumentBase[]|null $form_fields_per_document The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * - * @return self + * @return static */ public function setFormFieldsPerDocument(?array $form_fields_per_document) { @@ -845,7 +845,7 @@ public function getHideTextTags() * * @param bool|null $hide_text_tags Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. * - * @return self + * @return static */ public function setHideTextTags(?bool $hide_text_tags) { @@ -872,7 +872,7 @@ public function getMessage() * * @param string|null $message the custom message in the email that will be sent to the signers * - * @return self + * @return static */ public function setMessage(?string $message) { @@ -903,7 +903,7 @@ public function getMetadata() * * @param array|null $metadata Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. * - * @return self + * @return static */ public function setMetadata(?array $metadata) { @@ -931,7 +931,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -958,7 +958,7 @@ public function getSigners() * * @param SubUnclaimedDraftSigner[]|null $signers add Signers to your Unclaimed Draft Signature Request * - * @return self + * @return static */ public function setSigners(?array $signers) { @@ -985,7 +985,7 @@ public function getSigningOptions() * * @param SubSigningOptions|null $signing_options signing_options * - * @return self + * @return static */ public function setSigningOptions(?SubSigningOptions $signing_options) { @@ -1012,7 +1012,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -1039,7 +1039,7 @@ public function getSubject() * * @param string|null $subject the subject in the email that will be sent to the signers * - * @return self + * @return static */ public function setSubject(?string $subject) { @@ -1070,7 +1070,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { @@ -1097,7 +1097,7 @@ public function getUsePreexistingFields() * * @param bool|null $use_preexisting_fields Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. * - * @return self + * @return static */ public function setUsePreexistingFields(?bool $use_preexisting_fields) { @@ -1124,7 +1124,7 @@ public function getUseTextTags() * * @param bool|null $use_text_tags Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. * - * @return self + * @return static */ public function setUseTextTags(?bool $use_text_tags) { @@ -1151,7 +1151,7 @@ public function getExpiresAt() * * @param int|null $expires_at When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. **NOTE:** This does not correspond to the **expires_at** returned in the response. * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { diff --git a/sdks/php/src/Model/UnclaimedDraftCreateResponse.php b/sdks/php/src/Model/UnclaimedDraftCreateResponse.php index fb93528ef..8b3b63f54 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateResponse.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateResponse.php @@ -322,7 +322,7 @@ public function getUnclaimedDraft() * * @param UnclaimedDraftResponse $unclaimed_draft unclaimed_draft * - * @return self + * @return static */ public function setUnclaimedDraft(UnclaimedDraftResponse $unclaimed_draft) { @@ -349,7 +349,7 @@ public function getWarnings() * * @param WarningResponse[]|null $warnings a list of warnings * - * @return self + * @return static */ public function setWarnings(?array $warnings) { diff --git a/sdks/php/src/Model/UnclaimedDraftEditAndResendRequest.php b/sdks/php/src/Model/UnclaimedDraftEditAndResendRequest.php index 5669e4848..b95ba9a08 100644 --- a/sdks/php/src/Model/UnclaimedDraftEditAndResendRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftEditAndResendRequest.php @@ -364,7 +364,7 @@ public function getClientId() * * @param string $client_id Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. * - * @return self + * @return static */ public function setClientId(string $client_id) { @@ -391,7 +391,7 @@ public function getEditorOptions() * * @param SubEditorOptions|null $editor_options editor_options * - * @return self + * @return static */ public function setEditorOptions(?SubEditorOptions $editor_options) { @@ -418,7 +418,7 @@ public function getIsForEmbeddedSigning() * * @param bool|null $is_for_embedded_signing the request created from this draft will also be signable in embedded mode if set to `true` * - * @return self + * @return static */ public function setIsForEmbeddedSigning(?bool $is_for_embedded_signing) { @@ -445,7 +445,7 @@ public function getRequesterEmailAddress() * * @param string|null $requester_email_address The email address of the user that should be designated as the requester of this draft. If not set, original requester's email address will be used. * - * @return self + * @return static */ public function setRequesterEmailAddress(?string $requester_email_address) { @@ -472,7 +472,7 @@ public function getRequestingRedirectUrl() * * @param string|null $requesting_redirect_url the URL you want signers redirected to after they successfully request a signature * - * @return self + * @return static */ public function setRequestingRedirectUrl(?string $requesting_redirect_url) { @@ -499,7 +499,7 @@ public function getShowProgressStepper() * * @param bool|null $show_progress_stepper when only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden * - * @return self + * @return static */ public function setShowProgressStepper(?bool $show_progress_stepper) { @@ -526,7 +526,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -553,7 +553,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { diff --git a/sdks/php/src/Model/UnclaimedDraftResponse.php b/sdks/php/src/Model/UnclaimedDraftResponse.php index da1c26359..33dc0476d 100644 --- a/sdks/php/src/Model/UnclaimedDraftResponse.php +++ b/sdks/php/src/Model/UnclaimedDraftResponse.php @@ -346,7 +346,7 @@ public function getSignatureRequestId() * * @param string|null $signature_request_id the ID of the signature request that is represented by this UnclaimedDraft * - * @return self + * @return static */ public function setSignatureRequestId(?string $signature_request_id) { @@ -380,7 +380,7 @@ public function getClaimUrl() * * @param string|null $claim_url the URL to be used to claim this UnclaimedDraft * - * @return self + * @return static */ public function setClaimUrl(?string $claim_url) { @@ -407,7 +407,7 @@ public function getSigningRedirectUrl() * * @param string|null $signing_redirect_url the URL you want signers redirected to after they successfully sign * - * @return self + * @return static */ public function setSigningRedirectUrl(?string $signing_redirect_url) { @@ -441,7 +441,7 @@ public function getRequestingRedirectUrl() * * @param string|null $requesting_redirect_url The URL you want signers redirected to after they successfully request a signature (Will only be returned in the response if it is applicable to the request.). * - * @return self + * @return static */ public function setRequestingRedirectUrl(?string $requesting_redirect_url) { @@ -475,7 +475,7 @@ public function getExpiresAt() * * @param int|null $expires_at when the link expires * - * @return self + * @return static */ public function setExpiresAt(?int $expires_at) { @@ -509,7 +509,7 @@ public function getTestMode() * * @param bool|null $test_mode Whether this is a test draft. Signature requests made from test drafts have no legal value. * - * @return self + * @return static */ public function setTestMode(?bool $test_mode) { diff --git a/sdks/php/src/Model/WarningResponse.php b/sdks/php/src/Model/WarningResponse.php index 4c37010a0..775b28951 100644 --- a/sdks/php/src/Model/WarningResponse.php +++ b/sdks/php/src/Model/WarningResponse.php @@ -326,7 +326,7 @@ public function getWarningMsg() * * @param string $warning_msg Warning message * - * @return self + * @return static */ public function setWarningMsg(string $warning_msg) { @@ -353,7 +353,7 @@ public function getWarningName() * * @param string $warning_name Warning name * - * @return self + * @return static */ public function setWarningName(string $warning_name) { diff --git a/sdks/php/templates/model_generic.mustache b/sdks/php/templates/model_generic.mustache index 3b213dd3b..28ab09d75 100644 --- a/sdks/php/templates/model_generic.mustache +++ b/sdks/php/templates/model_generic.mustache @@ -424,7 +424,12 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par * * @param {{{dataType}}}{{^required}}|null{{/required}} ${{name}}{{#description}} {{{.}}}{{/description}}{{^description}} {{{name}}}{{/description}} * +{{^useCustomTemplateCode}} * @return self +{{/useCustomTemplateCode}} +{{#useCustomTemplateCode}} + * @return static +{{/useCustomTemplateCode}} {{#deprecated}} * @deprecated {{/deprecated}}