UserAgreementResponse
in package
implements
ModelInterface, ArrayAccess
UserAgreementResponse Class Doc Comment
Tags
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
- getAccountId() : string|null
- Gets account_id
- getAgreedOn() : object
- Gets agreed_on
- getAgreementId() : string|null
- Gets agreement_id
- getAgreementUrl() : string|null
- Gets agreement_url
- getClickwrapId() : string|null
- Gets clickwrap_id
- getClientUserId() : string|null
- Gets client_user_id
- getConsumerDisclosureEnabled() : bool|null
- Gets consumer_disclosure_enabled
- getConsumerDisclosureHtml() : string|null
- Gets consumer_disclosure_html
- getCreatedOn() : object
- Gets created_on
- getDataFields() : array<string|int, DataField>
- Gets data_fields
- getDeclinedOn() : object
- Gets declined_on
- getDocumentData() : mixed
- Gets document_data
- getDocuments() : array<string|int, Document>
- Gets documents
- getMetadata() : string|null
- Gets metadata
- getModelName() : string
- The original name of the model.
- getReturnUrl() : string|null
- Gets return_url
- getSettings() : DisplaySettings
- Gets settings
- getStatus() : string|null
- Gets status
- getStyle() : UserAgreementResponseStyle
- Gets style
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getVersion() : string|null
- Gets version
- getVersionId() : string|null
- Gets version_id
- getVersionNumber() : int|null
- Gets version_number
- 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.
- setAccountId() : $this
- Sets account_id
- setAgreedOn() : $this
- Sets agreed_on
- setAgreementId() : $this
- Sets agreement_id
- setAgreementUrl() : $this
- Sets agreement_url
- setClickwrapId() : $this
- Sets clickwrap_id
- setClientUserId() : $this
- Sets client_user_id
- setConsumerDisclosureEnabled() : $this
- Sets consumer_disclosure_enabled
- setConsumerDisclosureHtml() : $this
- Sets consumer_disclosure_html
- setCreatedOn() : $this
- Sets created_on
- setDataFields() : $this
- Sets data_fields
- setDeclinedOn() : $this
- Sets declined_on
- setDocumentData() : $this
- Sets document_data
- setDocuments() : $this
- Sets documents
- setMetadata() : $this
- Sets metadata
- setReturnUrl() : $this
- Sets return_url
- setSettings() : $this
- Sets settings
- setStatus() : $this
- Sets status
- setStyle() : $this
- Sets style
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setVersion() : $this
- Sets version
- setVersionId() : $this
- Sets version_id
- setVersionNumber() : $this
- Sets version_number
- 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
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
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
= ['account_id' => 'accountId', 'agreed_on' => 'agreedOn', 'agreement_id' => 'agreementId', 'agreement_url' => 'agreementUrl', 'clickwrap_id' => 'clickwrapId', 'client_user_id' => 'clientUserId', 'consumer_disclosure_enabled' => 'consumerDisclosureEnabled', 'consumer_disclosure_html' => 'consumerDisclosureHtml', 'created_on' => 'createdOn', 'data_fields' => 'dataFields', 'declined_on' => 'declinedOn', 'document_data' => 'documentData', 'documents' => 'documents', 'metadata' => 'metadata', 'return_url' => 'returnUrl', 'settings' => 'settings', 'status' => 'status', 'style' => 'style', 'version' => 'version', 'version_id' => 'versionId', 'version_number' => 'versionNumber']
$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
= ['account_id' => 'getAccountId', 'agreed_on' => 'getAgreedOn', 'agreement_id' => 'getAgreementId', 'agreement_url' => 'getAgreementUrl', 'clickwrap_id' => 'getClickwrapId', 'client_user_id' => 'getClientUserId', 'consumer_disclosure_enabled' => 'getConsumerDisclosureEnabled', 'consumer_disclosure_html' => 'getConsumerDisclosureHtml', 'created_on' => 'getCreatedOn', 'data_fields' => 'getDataFields', 'declined_on' => 'getDeclinedOn', 'document_data' => 'getDocumentData', 'documents' => 'getDocuments', 'metadata' => 'getMetadata', 'return_url' => 'getReturnUrl', 'settings' => 'getSettings', 'status' => 'getStatus', 'style' => 'getStyle', 'version' => 'getVersion', 'version_id' => 'getVersionId', 'version_number' => 'getVersionNumber']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['account_id' => 'setAccountId', 'agreed_on' => 'setAgreedOn', 'agreement_id' => 'setAgreementId', 'agreement_url' => 'setAgreementUrl', 'clickwrap_id' => 'setClickwrapId', 'client_user_id' => 'setClientUserId', 'consumer_disclosure_enabled' => 'setConsumerDisclosureEnabled', 'consumer_disclosure_html' => 'setConsumerDisclosureHtml', 'created_on' => 'setCreatedOn', 'data_fields' => 'setDataFields', 'declined_on' => 'setDeclinedOn', 'document_data' => 'setDocumentData', 'documents' => 'setDocuments', 'metadata' => 'setMetadata', 'return_url' => 'setReturnUrl', 'settings' => 'setSettings', 'status' => 'setStatus', 'style' => 'setStyle', 'version' => 'setVersion', 'version_id' => 'setVersionId', 'version_number' => 'setVersionNumber']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['account_id' => null, 'agreed_on' => null, 'agreement_id' => null, 'agreement_url' => null, 'clickwrap_id' => null, 'client_user_id' => null, 'consumer_disclosure_enabled' => null, 'consumer_disclosure_html' => null, 'created_on' => null, 'data_fields' => null, 'declined_on' => null, 'document_data' => null, 'documents' => null, 'metadata' => null, 'return_url' => null, 'settings' => null, 'status' => null, 'style' => null, 'version' => null, 'version_id' => null, 'version_number' => 'int32']
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'userAgreementResponse'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['account_id' => '?string', 'agreed_on' => 'object', 'agreement_id' => '?string', 'agreement_url' => '?string', 'clickwrap_id' => '?string', 'client_user_id' => '?string', 'consumer_disclosure_enabled' => '?bool', 'consumer_disclosure_html' => '?string', 'created_on' => 'object', 'data_fields' => '\\DocuSign\\Click\\Model\\DataField[]', 'declined_on' => 'object', 'document_data' => 'map[string,?string]', 'documents' => '\\DocuSign\\Click\\Model\\Document[]', 'metadata' => '?string', 'return_url' => '?string', 'settings' => '\\DocuSign\\Click\\Model\\DisplaySettings', 'status' => '?string', 'style' => '\\DocuSign\\Click\\Model\\UserAgreementResponseStyle', 'version' => '?string', 'version_id' => '?string', 'version_number' => '?int']
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> —getAccountId()
Gets account_id
public
getAccountId() : string|null
Return values
string|null —getAgreedOn()
Gets agreed_on
public
getAgreedOn() : object
Return values
object —getAgreementId()
Gets agreement_id
public
getAgreementId() : string|null
Return values
string|null —getAgreementUrl()
Gets agreement_url
public
getAgreementUrl() : string|null
Return values
string|null —getClickwrapId()
Gets clickwrap_id
public
getClickwrapId() : string|null
Return values
string|null —getClientUserId()
Gets client_user_id
public
getClientUserId() : string|null
Return values
string|null —getConsumerDisclosureEnabled()
Gets consumer_disclosure_enabled
public
getConsumerDisclosureEnabled() : bool|null
Return values
bool|null —getConsumerDisclosureHtml()
Gets consumer_disclosure_html
public
getConsumerDisclosureHtml() : string|null
Return values
string|null —getCreatedOn()
Gets created_on
public
getCreatedOn() : object
Return values
object —getDataFields()
Gets data_fields
public
getDataFields() : array<string|int, DataField>
Return values
array<string|int, DataField> —getDeclinedOn()
Gets declined_on
public
getDeclinedOn() : object
Return values
object —getDocumentData()
Gets document_data
public
getDocumentData() : mixed
Return values
mixed —getDocuments()
Gets documents
public
getDocuments() : array<string|int, Document>
Return values
array<string|int, Document> —getMetadata()
Gets metadata
public
getMetadata() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getReturnUrl()
Gets return_url
public
getReturnUrl() : string|null
Return values
string|null —getSettings()
Gets settings
public
getSettings() : DisplaySettings
Return values
DisplaySettings —getStatus()
Gets status
public
getStatus() : string|null
Return values
string|null —getStyle()
Gets style
public
getStyle() : UserAgreementResponseStyle
Return values
UserAgreementResponseStyle —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getVersion()
Gets version
public
getVersion() : string|null
Return values
string|null —getVersionId()
Gets version_id
public
getVersionId() : string|null
Return values
string|null —getVersionNumber()
Gets version_number
public
getVersionNumber() : int|null
Return values
int|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 —setAccountId()
Sets account_id
public
setAccountId(string|null $account_id) : $this
Parameters
- $account_id : string|null
-
The external account number (int) or account ID GUID.
Return values
$this —setAgreedOn()
Sets agreed_on
public
setAgreedOn(object $agreed_on) : $this
Parameters
- $agreed_on : object
-
Date that the client last completed the agreement. This property is null if
agreementUrlis not null andstatusis notagreed.
Return values
$this —setAgreementId()
Sets agreement_id
public
setAgreementId(string|null $agreement_id) : $this
Parameters
- $agreement_id : string|null
-
The agreement ID.
Return values
$this —setAgreementUrl()
Sets agreement_url
public
setAgreementUrl(string|null $agreement_url) : $this
Parameters
- $agreement_url : string|null
-
When not null, an agreement is required for user specified by
clientUserId. When missing the user specified byclientUserIdhas already agreed and does not require a new acceptance. Use this URL to render the agreement in a web page.
Return values
$this —setClickwrapId()
Sets clickwrap_id
public
setClickwrapId(string|null $clickwrap_id) : $this
Parameters
- $clickwrap_id : string|null
-
The ID of the clickwrap.
Return values
$this —setClientUserId()
Sets client_user_id
public
setClientUserId(string|null $client_user_id) : $this
Parameters
- $client_user_id : string|null
-
A unique value that identifies a user.\nYou can use anything that your system uses\nto identify unique users, such as\nemployee IDs, email addresses, and surrogate keys as the value of
clientUserId.\n\nA clickwrap with a specificclientUserIdwill not appear again\nonce it has been accepted.\n"
Return values
$this —setConsumerDisclosureEnabled()
Sets consumer_disclosure_enabled
public
setConsumerDisclosureEnabled(bool|null $consumer_disclosure_enabled) : $this
Parameters
- $consumer_disclosure_enabled : bool|null
-
True if consumer disclosure was required by this agreement.
Return values
$this —setConsumerDisclosureHtml()
Sets consumer_disclosure_html
public
setConsumerDisclosureHtml(string|null $consumer_disclosure_html) : $this
Parameters
- $consumer_disclosure_html : string|null
-
The customer-branded HTML with the Electronic Record and Signature Disclosure information
Return values
$this —setCreatedOn()
Sets created_on
public
setCreatedOn(object $created_on) : $this
Parameters
- $created_on : object
-
The date when the clickwrap was created. May be null.
Return values
$this —setDataFields()
Sets data_fields
public
setDataFields(array<string|int, DataField> $data_fields) : $this
Parameters
- $data_fields : array<string|int, DataField>
-
The list of all the data fields available for the clickwrap (custom fields and standard fields).
Return values
$this —setDeclinedOn()
Sets declined_on
public
setDeclinedOn(object $declined_on) : $this
Parameters
- $declined_on : object
-
The date when the user declined the most recent required agreement. This property is valid only when
statusisdeclined. Otherwise it is null.
Return values
$this —setDocumentData()
Sets document_data
public
setDocumentData(mixed $document_data) : $this
Parameters
- $document_data : mixed
Return values
$this —setDocuments()
Sets documents
public
setDocuments(array<string|int, Document> $documents) : $this
Parameters
- $documents : array<string|int, Document>
-
An array of documents.
Return values
$this —setMetadata()
Sets metadata
public
setMetadata(string|null $metadata) : $this
Parameters
- $metadata : string|null
-
A customer-defined string you can use in requests. This string will appear in the corresponding response.
Return values
$this —setReturnUrl()
Sets return_url
public
setReturnUrl(string|null $return_url) : $this
Parameters
- $return_url : string|null
-
The URL redirected to after the agreement was completed.
Return values
$this —setSettings()
Sets settings
public
setSettings(DisplaySettings $settings) : $this
Parameters
- $settings : DisplaySettings
-
The display settings for this agreement.
Return values
$this —setStatus()
Sets status
public
setStatus(string|null $status) : $this
Parameters
- $status : string|null
-
User agreement status. One of: -
created-agreed-declined
Return values
$this —setStyle()
Sets style
public
setStyle(UserAgreementResponseStyle $style) : $this
Parameters
- $style : UserAgreementResponseStyle
-
style
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> —setVersion()
Sets version
public
setVersion(string|null $version) : $this
Parameters
- $version : string|null
-
The human-readable semver version string.
Return values
$this —setVersionId()
Sets version_id
public
setVersionId(string|null $version_id) : $this
Parameters
- $version_id : string|null
-
The ID of the version.
Return values
$this —setVersionNumber()
Sets version_number
public
setVersionNumber(int|null $version_number) : $this
Parameters
- $version_number : int|null
-
Version of the clickwrap.
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