Documentation

ClickwrapRequest
in package
implements ModelInterface, ArrayAccess

ClickwrapRequest Class Doc Comment

Tags
category

Class

description

Request body for working with clickwrap.

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

Interfaces, Classes, Traits and Enums

ModelInterface
Interface abstracting model access.
ArrayAccess

Table of Contents

DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getClickwrapName()  : string|null
Gets clickwrap_name
getDataFields()  : array<string|int, DataField>
Gets data_fields
getDisplaySettings()  : DisplaySettings
Gets display_settings
getDocuments()  : array<string|int, Document>
Gets documents
getFieldsToNull()  : string|null
Gets fields_to_null
getIsMajorVersion()  : bool|null
Gets is_major_version
getIsShared()  : bool|null
Gets is_shared
getModelName()  : string
The original name of the model.
getName()  : string|null
Gets name
getRequireReacceptance()  : bool|null
Gets require_reacceptance
getScheduledDate()  : object
Gets scheduled_date
getScheduledReacceptance()  : ClickwrapScheduledReacceptance
Gets scheduled_reacceptance
getStatus()  : string|null
Gets status
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getTransferFromUserId()  : string|null
Gets transfer_from_user_id
getTransferToUserId()  : string|null
Gets transfer_to_user_id
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setClickwrapName()  : $this
Sets clickwrap_name
setDataFields()  : $this
Sets data_fields
setDisplaySettings()  : $this
Sets display_settings
setDocuments()  : $this
Sets documents
setFieldsToNull()  : $this
Sets fields_to_null
setIsMajorVersion()  : $this
Sets is_major_version
setIsShared()  : $this
Sets is_shared
setName()  : $this
Sets name
setRequireReacceptance()  : $this
Sets require_reacceptance
setScheduledDate()  : $this
Sets scheduled_date
setScheduledReacceptance()  : $this
Sets scheduled_reacceptance
setStatus()  : $this
Sets status
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setTransferFromUserId()  : $this
Sets transfer_from_user_id
setTransferToUserId()  : $this
Sets transfer_to_user_id
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
valid()  : bool
Validate all the properties in the model return true if all passed

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['clickwrap_name' => 'clickwrapName', 'data_fields' => 'dataFields', 'display_settings' => 'displaySettings', 'documents' => 'documents', 'fields_to_null' => 'fieldsToNull', 'is_major_version' => 'isMajorVersion', 'is_shared' => 'isShared', 'name' => 'name', 'require_reacceptance' => 'requireReacceptance', 'scheduled_date' => 'scheduledDate', 'scheduled_reacceptance' => 'scheduledReacceptance', 'status' => 'status', 'transfer_from_user_id' => 'transferFromUserId', 'transfer_to_user_id' => 'transferToUserId']

$container

Associative array for storing property values

protected array<string|int, mixed> $container = []

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['clickwrap_name' => 'getClickwrapName', 'data_fields' => 'getDataFields', 'display_settings' => 'getDisplaySettings', 'documents' => 'getDocuments', 'fields_to_null' => 'getFieldsToNull', 'is_major_version' => 'getIsMajorVersion', 'is_shared' => 'getIsShared', 'name' => 'getName', 'require_reacceptance' => 'getRequireReacceptance', 'scheduled_date' => 'getScheduledDate', 'scheduled_reacceptance' => 'getScheduledReacceptance', 'status' => 'getStatus', 'transfer_from_user_id' => 'getTransferFromUserId', 'transfer_to_user_id' => 'getTransferToUserId']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['clickwrap_name' => 'setClickwrapName', 'data_fields' => 'setDataFields', 'display_settings' => 'setDisplaySettings', 'documents' => 'setDocuments', 'fields_to_null' => 'setFieldsToNull', 'is_major_version' => 'setIsMajorVersion', 'is_shared' => 'setIsShared', 'name' => 'setName', 'require_reacceptance' => 'setRequireReacceptance', 'scheduled_date' => 'setScheduledDate', 'scheduled_reacceptance' => 'setScheduledReacceptance', 'status' => 'setStatus', 'transfer_from_user_id' => 'setTransferFromUserId', 'transfer_to_user_id' => 'setTransferToUserId']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['clickwrap_name' => null, 'data_fields' => null, 'display_settings' => null, 'documents' => null, 'fields_to_null' => null, 'is_major_version' => null, 'is_shared' => null, 'name' => null, 'require_reacceptance' => null, 'scheduled_date' => null, 'scheduled_reacceptance' => null, 'status' => null, 'transfer_from_user_id' => null, 'transfer_to_user_id' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'clickwrapRequest'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['clickwrap_name' => '?string', 'data_fields' => '\\DocuSign\\Click\\Model\\DataField[]', 'display_settings' => '\\DocuSign\\Click\\Model\\DisplaySettings', 'documents' => '\\DocuSign\\Click\\Model\\Document[]', 'fields_to_null' => '?string', 'is_major_version' => '?bool', 'is_shared' => '?bool', 'name' => '?string', 'require_reacceptance' => '?bool', 'scheduled_date' => 'object', 'scheduled_reacceptance' => '\\DocuSign\\Click\\Model\\ClickwrapScheduledReacceptance', 'status' => '?string', 'transfer_from_user_id' => '?string', 'transfer_to_user_id' => '?string']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed —

__toString()

Gets the string presentation of the object

public __toString() : string
Return values
string —

attributeMap()

Array of attributes where the key is the local name, and the value is the original name

public static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getClickwrapName()

Gets clickwrap_name

public getClickwrapName() : string|null
Return values
string|null —

getFieldsToNull()

Gets fields_to_null

public getFieldsToNull() : string|null
Return values
string|null —

getIsMajorVersion()

Gets is_major_version

public getIsMajorVersion() : bool|null
Return values
bool|null —

getIsShared()

Gets is_shared

public getIsShared() : bool|null
Return values
bool|null —

getModelName()

The original name of the model.

public getModelName() : string
Return values
string —

getName()

Gets name

public getName() : string|null
Return values
string|null —

getRequireReacceptance()

Gets require_reacceptance

public getRequireReacceptance() : bool|null
Return values
bool|null —

getScheduledDate()

Gets scheduled_date

public getScheduledDate() : object
Return values
object —

getStatus()

Gets status

public getStatus() : string|null
Return values
string|null —

getters()

Array of attributes to getter functions (for serialization of requests)

public static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getTransferFromUserId()

Gets transfer_from_user_id

public getTransferFromUserId() : string|null
Return values
string|null —

getTransferToUserId()

Gets transfer_to_user_id

public getTransferToUserId() : string|null
Return values
string|null —

listInvalidProperties()

Show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —

invalid properties with reasons

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool —

offsetGet()

Gets offset.

public offsetGet(int $offset) : mixed
Parameters
$offset : int

Offset

Return values
mixed —

offsetSet()

Sets value based on offset.

public offsetSet(int $offset, mixed $value) : void
Parameters
$offset : int

Offset

$value : mixed

Value to be set

Return values
void —

offsetUnset()

Unsets offset.

public offsetUnset(int $offset) : void
Parameters
$offset : int

Offset

Return values
void —

setClickwrapName()

Sets clickwrap_name

public setClickwrapName(string|null $clickwrap_name) : $this
Parameters
$clickwrap_name : string|null

The name of the clickwrap. This field is required.

Return values
$this —

setDataFields()

Sets data_fields

public setDataFields(array<string|int, DataField> $data_fields) : $this
Parameters
$data_fields : array<string|int, DataField>

An array of data fields available to be inserted into the documents.

Return values
$this —

setDisplaySettings()

Sets display_settings

public setDisplaySettings(DisplaySettings $display_settings) : $this
Parameters
$display_settings : DisplaySettings

Display settings for the clickwrap. This object is required.

Return values
$this —

setDocuments()

Sets documents

public setDocuments(array<string|int, Document> $documents) : $this
Parameters
$documents : array<string|int, Document>

An array of documents. This object is required.

Return values
$this —

setFieldsToNull()

Sets fields_to_null

public setFieldsToNull(string|null $fields_to_null) : $this
Parameters
$fields_to_null : string|null

Specifies whether scheduledReacceptance and scheduledDate should be cleared. May be one of: - \"scheduledReacceptance\" - \"scheduledDate\" - \"scheduledReacceptance,scheduledDate\"

Return values
$this —

setIsMajorVersion()

Sets is_major_version

public setIsMajorVersion(bool|null $is_major_version) : $this
Parameters
$is_major_version : bool|null

Not used.

Return values
$this —

setIsShared()

Sets is_shared

public setIsShared(bool|null $is_shared) : $this
Parameters
$is_shared : bool|null

When true, indicates that the clickwrap is shared with one or more users in the account.

Return values
$this —

setName()

Sets name

public setName(string|null $name) : $this
Parameters
$name : string|null

Not used.

Return values
$this —

setRequireReacceptance()

Sets require_reacceptance

public setRequireReacceptance(bool|null $require_reacceptance) : $this
Parameters
$require_reacceptance : bool|null

When true, requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.

Return values
$this —

setScheduledDate()

Sets scheduled_date

public setScheduledDate(object $scheduled_date) : $this
Parameters
$scheduled_date : object

The time and date when this clickwrap is activated.

Return values
$this —

setStatus()

Sets status

public setStatus(string|null $status) : $this
Parameters
$status : string|null

Clickwrap status. This property is read-only. Possible values: - active - inactive - deleted

Return values
$this —

setters()

Array of attributes to setter functions (for deserialization of responses)

public static setters() : array<string|int, mixed>
Return values
array<string|int, mixed> —

setTransferFromUserId()

Sets transfer_from_user_id

public setTransferFromUserId(string|null $transfer_from_user_id) : $this
Parameters
$transfer_from_user_id : string|null

Not used. To update the user ID of a clickwrap, use the updateClickwrap endpoint.

Return values
$this —

setTransferToUserId()

Sets transfer_to_user_id

public setTransferToUserId(string|null $transfer_to_user_id) : $this
Parameters
$transfer_to_user_id : string|null

Not used. To update the user ID of a clickwrap, use the updateClickwrap endpoint.

Return values
$this —

swaggerFormats()

Array of property to format mappings. Used for (de)serialization

public static swaggerFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —

swaggerTypes()

Array of property to type mappings. Used for (de)serialization

public static swaggerTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —

valid()

Validate all the properties in the model return true if all passed

public valid() : bool
Return values
bool —

True if all properties are valid

Search results