Documentation

AccountsApi
in package

AccountsApi Class Doc Comment

Tags
category

Class

author

Swagger Codegen team apihelp@docusign.com

license

The DocuSign PHP Client SDK is licensed under the MIT License.

link
https://github.com/swagger-api/swagger-codegen

Table of Contents

$apiClient  : ApiClient
API Client
__construct()  : void
Constructor
createBulkClickwrapAgreements()  : mixed
Operation createBulkClickwrapAgreements
createBulkClickwrapAgreementsWithHttpInfo()  : array<string|int, mixed>
Operation createBulkClickwrapAgreementsWithHttpInfo
createClickwrap()  : ClickwrapVersionSummaryResponse
Operation createClickwrap
createClickwrapVersion()  : ClickwrapVersionSummaryResponse
Operation createClickwrapVersion
createClickwrapVersionWithHttpInfo()  : array<string|int, mixed>
Operation createClickwrapVersionWithHttpInfo
createClickwrapWithHttpInfo()  : array<string|int, mixed>
Operation createClickwrapWithHttpInfo
createHasAgreed()  : UserAgreementResponse
Operation createHasAgreed
createHasAgreedWithHttpInfo()  : array<string|int, mixed>
Operation createHasAgreedWithHttpInfo
deleteClickwrap()  : ClickwrapVersionsDeleteResponse
Operation deleteClickwrap
deleteClickwraps()  : ClickwrapsDeleteResponse
Operation deleteClickwraps
deleteClickwrapsWithHttpInfo()  : array<string|int, mixed>
Operation deleteClickwrapsWithHttpInfo
deleteClickwrapVersion()  : ClickwrapVersionDeleteResponse
Operation deleteClickwrapVersion
deleteClickwrapVersions()  : ClickwrapVersionsDeleteResponse
Operation deleteClickwrapVersions
deleteClickwrapVersionsWithHttpInfo()  : array<string|int, mixed>
Operation deleteClickwrapVersionsWithHttpInfo
deleteClickwrapVersionWithHttpInfo()  : array<string|int, mixed>
Operation deleteClickwrapVersionWithHttpInfo
deleteClickwrapWithHttpInfo()  : array<string|int, mixed>
Operation deleteClickwrapWithHttpInfo
getAgreement()  : UserAgreementResponse
Operation getAgreement
getAgreementDocument()  : Document
Operation getAgreementDocument
getAgreementDocumentWithHttpInfo()  : array<string|int, mixed>
Operation getAgreementDocumentWithHttpInfo
getAgreementPdf()  : SplFileObject
Operation getAgreementPdf
getAgreementPdfWithHttpInfo()  : array<string|int, mixed>
Operation getAgreementPdfWithHttpInfo
getAgreementWithHttpInfo()  : array<string|int, mixed>
Operation getAgreementWithHttpInfo
getApiClient()  : ApiClient
Get API client
getClickwrap()  : ClickwrapVersionResponse
Operation getClickwrap
getClickwrapAgreements()  : ClickwrapAgreementsResponse
Operation getClickwrapAgreements
getClickwrapAgreementsWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapAgreementsWithHttpInfo
getClickwraps()  : ClickwrapVersionsResponse
Operation getClickwraps
getClickwrapsWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapsWithHttpInfo
getClickwrapVersion()  : ClickwrapVersionResponse
Operation getClickwrapVersion
getClickwrapVersionAgreements()  : ClickwrapAgreementsResponse
Operation getClickwrapVersionAgreements
getClickwrapVersionAgreementsWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapVersionAgreementsWithHttpInfo
getClickwrapVersions()  : ClickwrapVersionsPagedResponse
Operation getClickwrapVersions
getClickwrapVersionsWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapVersionsWithHttpInfo
getClickwrapVersionWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapVersionWithHttpInfo
getClickwrapWithHttpInfo()  : array<string|int, mixed>
Operation getClickwrapWithHttpInfo
getServiceInformation()  : ServiceInformation
Operation getServiceInformation
getServiceInformationWithHttpInfo()  : array<string|int, mixed>
Operation getServiceInformationWithHttpInfo
setApiClient()  : self
Set the API client
updateClickwrap()  : ClickwrapVersionSummaryResponse
Operation updateClickwrap
updateClickwrapVersion()  : ClickwrapVersionSummaryResponse
Operation updateClickwrapVersion
updateClickwrapVersionWithHttpInfo()  : array<string|int, mixed>
Operation updateClickwrapVersionWithHttpInfo
updateClickwrapWithHttpInfo()  : array<string|int, mixed>
Operation updateClickwrapWithHttpInfo
updateResourcePath()  : string
Update $resourcePath with $

Properties

Methods

__construct()

Constructor

public __construct([ApiClient|null $apiClient = null ]) : void
Parameters
$apiClient : ApiClient|null = null

The api client to use

Return values
void —

createBulkClickwrapAgreements()

Operation createBulkClickwrapAgreements

public createBulkClickwrapAgreements(string|null $account_id, string|null $clickwrap_id[, BulkClickwrapRequest $bulk_clickwrap_request = null ]) : mixed

Starts an export of clickwrap agreements for a specified date range.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$bulk_clickwrap_request : BulkClickwrapRequest = null

Data used to start a bulk agreements export. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
mixed —

createBulkClickwrapAgreementsWithHttpInfo()

Operation createBulkClickwrapAgreementsWithHttpInfo

public createBulkClickwrapAgreementsWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, BulkClickwrapRequest $bulk_clickwrap_request = null ]) : array<string|int, mixed>

Starts an export of clickwrap agreements for a specified date range.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$bulk_clickwrap_request : BulkClickwrapRequest = null

Data used to start a bulk agreements export. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of null, HTTP status code, HTTP response headers (array of strings)

createClickwrap()

Operation createClickwrap

public createClickwrap(string|null $account_id[, ClickwrapRequest $clickwrap_request = null ]) : ClickwrapVersionSummaryResponse

Creates a clickwrap for an account.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionSummaryResponse —

createClickwrapVersion()

Operation createClickwrapVersion

public createClickwrapVersion(string|null $account_id, string|null $clickwrap_id[, ClickwrapRequest $clickwrap_request = null ]) : ClickwrapVersionSummaryResponse

Creates a new clickwrap version.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionSummaryResponse —

createClickwrapVersionWithHttpInfo()

Operation createClickwrapVersionWithHttpInfo

public createClickwrapVersionWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, ClickwrapRequest $clickwrap_request = null ]) : array<string|int, mixed>

Creates a new clickwrap version.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionSummaryResponse, HTTP status code, HTTP response headers (array of strings)

createClickwrapWithHttpInfo()

Operation createClickwrapWithHttpInfo

public createClickwrapWithHttpInfo(string|null $account_id[, ClickwrapRequest $clickwrap_request = null ]) : array<string|int, mixed>

Creates a clickwrap for an account.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionSummaryResponse, HTTP status code, HTTP response headers (array of strings)

createHasAgreed()

Operation createHasAgreed

public createHasAgreed(string|null $account_id, string|null $clickwrap_id[, UserAgreementRequest $user_agreement_request = null ]) : UserAgreementResponse

Creates a unique URL for the agreement that you can embed in your application.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$user_agreement_request : UserAgreementRequest = null

Data used to create the agreement. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
UserAgreementResponse —

createHasAgreedWithHttpInfo()

Operation createHasAgreedWithHttpInfo

public createHasAgreedWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, UserAgreementRequest $user_agreement_request = null ]) : array<string|int, mixed>

Creates a unique URL for the agreement that you can embed in your application.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$user_agreement_request : UserAgreementRequest = null

Data used to create the agreement. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\UserAgreementResponse, HTTP status code, HTTP response headers (array of strings)

deleteClickwrap()

Operation deleteClickwrap

public deleteClickwrap(string|null $account_id, string|null $clickwrap_id[, DeleteClickwrapOptions $options = null ]) : ClickwrapVersionsDeleteResponse

Deletes a clickwrap and all of its versions.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : DeleteClickwrapOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionsDeleteResponse —

deleteClickwraps()

Operation deleteClickwraps

public deleteClickwraps(string|null $account_id[, DeleteClickwrapsOptions $options = null ]) : ClickwrapsDeleteResponse

Deletes clickwraps for an account.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$options : DeleteClickwrapsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapsDeleteResponse —

deleteClickwrapsWithHttpInfo()

Operation deleteClickwrapsWithHttpInfo

public deleteClickwrapsWithHttpInfo(string|null $account_id[, DeleteClickwrapsOptions $options = null ]) : array<string|int, mixed>

Deletes clickwraps for an account.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$options : DeleteClickwrapsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapsDeleteResponse, HTTP status code, HTTP response headers (array of strings)

deleteClickwrapVersion()

Operation deleteClickwrapVersion

public deleteClickwrapVersion(string|null $account_id, string|null $clickwrap_id, string|null $version_id) : ClickwrapVersionDeleteResponse

Deletes a clickwrap version by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionDeleteResponse —

deleteClickwrapVersions()

Operation deleteClickwrapVersions

public deleteClickwrapVersions(string|null $account_id, string|null $clickwrap_id[, DeleteClickwrapVersionsOptions $options = null ]) : ClickwrapVersionsDeleteResponse

Deletes the versions of a clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : DeleteClickwrapVersionsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionsDeleteResponse —

deleteClickwrapVersionsWithHttpInfo()

Operation deleteClickwrapVersionsWithHttpInfo

public deleteClickwrapVersionsWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, DeleteClickwrapVersionsOptions $options = null ]) : array<string|int, mixed>

Deletes the versions of a clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : DeleteClickwrapVersionsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionsDeleteResponse, HTTP status code, HTTP response headers (array of strings)

deleteClickwrapVersionWithHttpInfo()

Operation deleteClickwrapVersionWithHttpInfo

public deleteClickwrapVersionWithHttpInfo(string|null $account_id, string|null $clickwrap_id, string|null $version_id) : array<string|int, mixed>

Deletes a clickwrap version by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionDeleteResponse, HTTP status code, HTTP response headers (array of strings)

deleteClickwrapWithHttpInfo()

Operation deleteClickwrapWithHttpInfo

public deleteClickwrapWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, DeleteClickwrapOptions $options = null ]) : array<string|int, mixed>

Deletes a clickwrap and all of its versions.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : DeleteClickwrapOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionsDeleteResponse, HTTP status code, HTTP response headers (array of strings)

getAgreement()

Operation getAgreement

public getAgreement(string|null $account_id, string|null $agreement_id, string|null $clickwrap_id) : UserAgreementResponse

Gets a specific agreement for a specified clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$agreement_id : string|null

The agreement ID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
UserAgreementResponse —

getAgreementDocument()

Operation getAgreementDocument

public getAgreementDocument(string|null $account_id, string|null $clickwrap_id, string|null $order_or_disclosure, string|null $version_id) : Document

Downloads a document at an order within the agreement.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$order_or_disclosure : string|null

The order of the document or consumer_disclosure.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
Document —

getAgreementDocumentWithHttpInfo()

Operation getAgreementDocumentWithHttpInfo

public getAgreementDocumentWithHttpInfo(string|null $account_id, string|null $clickwrap_id, string|null $order_or_disclosure, string|null $version_id) : array<string|int, mixed>

Downloads a document at an order within the agreement.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$order_or_disclosure : string|null

The order of the document or consumer_disclosure.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\Document, HTTP status code, HTTP response headers (array of strings)

getAgreementPdf()

Operation getAgreementPdf

public getAgreementPdf(string|null $account_id, string|null $agreement_id, string|null $clickwrap_id[, GetAgreementPdfOptions $options = null ]) : SplFileObject

Gets the completed user agreement PDF.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$agreement_id : string|null

The agreement ID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : GetAgreementPdfOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
SplFileObject —

getAgreementPdfWithHttpInfo()

Operation getAgreementPdfWithHttpInfo

public getAgreementPdfWithHttpInfo(string|null $account_id, string|null $agreement_id, string|null $clickwrap_id[, GetAgreementPdfOptions $options = null ]) : array<string|int, mixed>

Gets the completed user agreement PDF.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$agreement_id : string|null

The agreement ID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : GetAgreementPdfOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \SplFileObject, HTTP status code, HTTP response headers (array of strings)

getAgreementWithHttpInfo()

Operation getAgreementWithHttpInfo

public getAgreementWithHttpInfo(string|null $account_id, string|null $agreement_id, string|null $clickwrap_id) : array<string|int, mixed>

Gets a specific agreement for a specified clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$agreement_id : string|null

The agreement ID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\UserAgreementResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrap()

Operation getClickwrap

public getClickwrap(string|null $account_id, string|null $clickwrap_id) : ClickwrapVersionResponse

Gets a single clickwrap object.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionResponse —

getClickwrapAgreements()

Operation getClickwrapAgreements

public getClickwrapAgreements(string|null $account_id, string|null $clickwrap_id[, GetClickwrapAgreementsOptions $options = null ]) : ClickwrapAgreementsResponse

Get user agreements

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : GetClickwrapAgreementsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapAgreementsResponse —

getClickwrapAgreementsWithHttpInfo()

Operation getClickwrapAgreementsWithHttpInfo

public getClickwrapAgreementsWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, GetClickwrapAgreementsOptions $options = null ]) : array<string|int, mixed>

Get user agreements

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$options : GetClickwrapAgreementsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapAgreementsResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrapsWithHttpInfo()

Operation getClickwrapsWithHttpInfo

public getClickwrapsWithHttpInfo(string|null $account_id[, GetClickwrapsOptions $options = null ]) : array<string|int, mixed>

Gets all the clickwraps for a user.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$options : GetClickwrapsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionsResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrapVersion()

Operation getClickwrapVersion

public getClickwrapVersion(string|null $account_id, string|null $clickwrap_id, string|null $version_id) : ClickwrapVersionResponse

Gets a specific version of a clickwrap by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionResponse —

getClickwrapVersionAgreements()

Operation getClickwrapVersionAgreements

public getClickwrapVersionAgreements(string|null $account_id, string|null $clickwrap_id, string|null $version_id[, GetClickwrapVersionAgreementsOptions $options = null ]) : ClickwrapAgreementsResponse

Gets the agreement responses for a clickwrap version by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

$options : GetClickwrapVersionAgreementsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapAgreementsResponse —

getClickwrapVersionAgreementsWithHttpInfo()

Operation getClickwrapVersionAgreementsWithHttpInfo

public getClickwrapVersionAgreementsWithHttpInfo(string|null $account_id, string|null $clickwrap_id, string|null $version_id[, GetClickwrapVersionAgreementsOptions $options = null ]) : array<string|int, mixed>

Gets the agreement responses for a clickwrap version by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

$options : GetClickwrapVersionAgreementsOptions = null

for modifying the behavior of the function. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapAgreementsResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrapVersions()

Operation getClickwrapVersions

public getClickwrapVersions(string|null $account_id, string|null $clickwrap_id) : ClickwrapVersionsPagedResponse

Gets all the versions of a clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionsPagedResponse —

getClickwrapVersionsWithHttpInfo()

Operation getClickwrapVersionsWithHttpInfo

public getClickwrapVersionsWithHttpInfo(string|null $account_id, string|null $clickwrap_id) : array<string|int, mixed>

Gets all the versions of a clickwrap.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionsPagedResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrapVersionWithHttpInfo()

Operation getClickwrapVersionWithHttpInfo

public getClickwrapVersionWithHttpInfo(string|null $account_id, string|null $clickwrap_id, string|null $version_id) : array<string|int, mixed>

Gets a specific version of a clickwrap by version ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionResponse, HTTP status code, HTTP response headers (array of strings)

getClickwrapWithHttpInfo()

Operation getClickwrapWithHttpInfo

public getClickwrapWithHttpInfo(string|null $account_id, string|null $clickwrap_id) : array<string|int, mixed>

Gets a single clickwrap object.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionResponse, HTTP status code, HTTP response headers (array of strings)

getServiceInformationWithHttpInfo()

Operation getServiceInformationWithHttpInfo

public getServiceInformationWithHttpInfo() : array<string|int, mixed>

Gets the current version and other information about the Click API.

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ServiceInformation, HTTP status code, HTTP response headers (array of strings)

setApiClient()

Set the API client

public setApiClient(ApiClient $apiClient) : self
Parameters
$apiClient : ApiClient

set the API client

Return values
self —

updateClickwrap()

Operation updateClickwrap

public updateClickwrap(string|null $account_id, string|null $clickwrap_id[, ClickwrapTransferRequest $clickwrap_transfer_request = null ]) : ClickwrapVersionSummaryResponse

Update a clickwrap by ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$clickwrap_transfer_request : ClickwrapTransferRequest = null

Data used to transfer a clickwrap from one user to another. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionSummaryResponse —

updateClickwrapVersion()

Operation updateClickwrapVersion

public updateClickwrapVersion(string|null $account_id, string|null $clickwrap_id, string|null $version_id[, ClickwrapRequest $clickwrap_request = null ]) : ClickwrapVersionSummaryResponse

Updates clickwrap version status and ownership.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
ClickwrapVersionSummaryResponse —

updateClickwrapVersionWithHttpInfo()

Operation updateClickwrapVersionWithHttpInfo

public updateClickwrapVersionWithHttpInfo(string|null $account_id, string|null $clickwrap_id, string|null $version_id[, ClickwrapRequest $clickwrap_request = null ]) : array<string|int, mixed>

Updates clickwrap version status and ownership.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$version_id : string|null

The ID of the clickwrap version.

$clickwrap_request : ClickwrapRequest = null

Request body for working with clickwrap. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionSummaryResponse, HTTP status code, HTTP response headers (array of strings)

updateClickwrapWithHttpInfo()

Operation updateClickwrapWithHttpInfo

public updateClickwrapWithHttpInfo(string|null $account_id, string|null $clickwrap_id[, ClickwrapTransferRequest $clickwrap_transfer_request = null ]) : array<string|int, mixed>

Update a clickwrap by ID.

Parameters
$account_id : string|null

The external account number (int) or account ID GUID.

$clickwrap_id : string|null

The ID of the clickwrap.

$clickwrap_transfer_request : ClickwrapTransferRequest = null

Data used to transfer a clickwrap from one user to another. (optional)

Tags
throws
ApiException

on non-2xx response

Return values
array<string|int, mixed> —

of \DocuSign\Click\Model\ClickwrapVersionSummaryResponse, HTTP status code, HTTP response headers (array of strings)

updateResourcePath()

Update $resourcePath with $

public updateResourcePath(string $resourcePath, string $baseName, string $paramName) : string
Parameters
$resourcePath : string

the resource path to use

$baseName : string

the base name param

$paramName : string

the parameter name

Return values
string —

Search results