DisplaySettings
in package
implements
ModelInterface, ArrayAccess
DisplaySettings 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
- getActionButtonAlignment() : string|null
- Gets action_button_alignment
- getAllowClientOnly() : bool|null
- Gets allow_client_only
- getAllowedHosts() : array<string|int, ?string>
- Gets allowed_hosts
- getBrandId() : string|null
- Gets brand_id
- getConsentButtonText() : string|null
- Gets consent_button_text
- getConsentText() : string|null
- Gets consent_text
- getDeclineButtonText() : string|null
- Gets decline_button_text
- getDisplayName() : string|null
- Gets display_name
- getDocumentDisplay() : string|null
- Gets document_display
- getDownloadable() : bool|null
- Gets downloadable
- getFormat() : string|null
- Gets format
- getHasDeclineButton() : bool|null
- Gets has_decline_button
- getModelName() : string
- The original name of the model.
- getMustRead() : bool|null
- Gets must_read
- getMustView() : bool|null
- Gets must_view
- getRecordDeclineResponses() : bool|null
- Gets record_decline_responses
- getRequireAccept() : bool|null
- Gets require_accept
- getSendToEmail() : bool|null
- Gets send_to_email
- getStatementAlignment() : string|null
- Gets statement_alignment
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- 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.
- setActionButtonAlignment() : $this
- Sets action_button_alignment
- setAllowClientOnly() : $this
- Sets allow_client_only
- setAllowedHosts() : $this
- Sets allowed_hosts
- setBrandId() : $this
- Sets brand_id
- setConsentButtonText() : $this
- Sets consent_button_text
- setConsentText() : $this
- Sets consent_text
- setDeclineButtonText() : $this
- Sets decline_button_text
- setDisplayName() : $this
- Sets display_name
- setDocumentDisplay() : $this
- Sets document_display
- setDownloadable() : $this
- Sets downloadable
- setFormat() : $this
- Sets format
- setHasDeclineButton() : $this
- Sets has_decline_button
- setMustRead() : $this
- Sets must_read
- setMustView() : $this
- Sets must_view
- setRecordDeclineResponses() : $this
- Sets record_decline_responses
- setRequireAccept() : $this
- Sets require_accept
- setSendToEmail() : $this
- Sets send_to_email
- setStatementAlignment() : $this
- Sets statement_alignment
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- 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
= ['action_button_alignment' => 'actionButtonAlignment', 'allow_client_only' => 'allowClientOnly', 'allowed_hosts' => 'allowedHosts', 'brand_id' => 'brandId', 'consent_button_text' => 'consentButtonText', 'consent_text' => 'consentText', 'decline_button_text' => 'declineButtonText', 'display_name' => 'displayName', 'document_display' => 'documentDisplay', 'downloadable' => 'downloadable', 'format' => 'format', 'has_decline_button' => 'hasDeclineButton', 'must_read' => 'mustRead', 'must_view' => 'mustView', 'record_decline_responses' => 'recordDeclineResponses', 'require_accept' => 'requireAccept', 'send_to_email' => 'sendToEmail', 'statement_alignment' => 'statementAlignment']
$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
= ['action_button_alignment' => 'getActionButtonAlignment', 'allow_client_only' => 'getAllowClientOnly', 'allowed_hosts' => 'getAllowedHosts', 'brand_id' => 'getBrandId', 'consent_button_text' => 'getConsentButtonText', 'consent_text' => 'getConsentText', 'decline_button_text' => 'getDeclineButtonText', 'display_name' => 'getDisplayName', 'document_display' => 'getDocumentDisplay', 'downloadable' => 'getDownloadable', 'format' => 'getFormat', 'has_decline_button' => 'getHasDeclineButton', 'must_read' => 'getMustRead', 'must_view' => 'getMustView', 'record_decline_responses' => 'getRecordDeclineResponses', 'require_accept' => 'getRequireAccept', 'send_to_email' => 'getSendToEmail', 'statement_alignment' => 'getStatementAlignment']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['action_button_alignment' => 'setActionButtonAlignment', 'allow_client_only' => 'setAllowClientOnly', 'allowed_hosts' => 'setAllowedHosts', 'brand_id' => 'setBrandId', 'consent_button_text' => 'setConsentButtonText', 'consent_text' => 'setConsentText', 'decline_button_text' => 'setDeclineButtonText', 'display_name' => 'setDisplayName', 'document_display' => 'setDocumentDisplay', 'downloadable' => 'setDownloadable', 'format' => 'setFormat', 'has_decline_button' => 'setHasDeclineButton', 'must_read' => 'setMustRead', 'must_view' => 'setMustView', 'record_decline_responses' => 'setRecordDeclineResponses', 'require_accept' => 'setRequireAccept', 'send_to_email' => 'setSendToEmail', 'statement_alignment' => 'setStatementAlignment']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['action_button_alignment' => null, 'allow_client_only' => null, 'allowed_hosts' => null, 'brand_id' => null, 'consent_button_text' => null, 'consent_text' => null, 'decline_button_text' => null, 'display_name' => null, 'document_display' => null, 'downloadable' => null, 'format' => null, 'has_decline_button' => null, 'must_read' => null, 'must_view' => null, 'record_decline_responses' => null, 'require_accept' => null, 'send_to_email' => null, 'statement_alignment' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'displaySettings'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['action_button_alignment' => '?string', 'allow_client_only' => '?bool', 'allowed_hosts' => '?string[]', 'brand_id' => '?string', 'consent_button_text' => '?string', 'consent_text' => '?string', 'decline_button_text' => '?string', 'display_name' => '?string', 'document_display' => '?string', 'downloadable' => '?bool', 'format' => '?string', 'has_decline_button' => '?bool', 'must_read' => '?bool', 'must_view' => '?bool', 'record_decline_responses' => '?bool', 'require_accept' => '?bool', 'send_to_email' => '?bool', 'statement_alignment' => '?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> —getActionButtonAlignment()
Gets action_button_alignment
public
getActionButtonAlignment() : string|null
Return values
string|null —getAllowClientOnly()
Gets allow_client_only
public
getAllowClientOnly() : bool|null
Return values
bool|null —getAllowedHosts()
Gets allowed_hosts
public
getAllowedHosts() : array<string|int, ?string>
Return values
array<string|int, ?string> —getBrandId()
Gets brand_id
public
getBrandId() : string|null
Return values
string|null —getConsentButtonText()
Gets consent_button_text
public
getConsentButtonText() : string|null
Return values
string|null —getConsentText()
Gets consent_text
public
getConsentText() : string|null
Return values
string|null —getDeclineButtonText()
Gets decline_button_text
public
getDeclineButtonText() : string|null
Return values
string|null —getDisplayName()
Gets display_name
public
getDisplayName() : string|null
Return values
string|null —getDocumentDisplay()
Gets document_display
public
getDocumentDisplay() : string|null
Return values
string|null —getDownloadable()
Gets downloadable
public
getDownloadable() : bool|null
Return values
bool|null —getFormat()
Gets format
public
getFormat() : string|null
Return values
string|null —getHasDeclineButton()
Gets has_decline_button
public
getHasDeclineButton() : bool|null
Return values
bool|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getMustRead()
Gets must_read
public
getMustRead() : bool|null
Return values
bool|null —getMustView()
Gets must_view
public
getMustView() : bool|null
Return values
bool|null —getRecordDeclineResponses()
Gets record_decline_responses
public
getRecordDeclineResponses() : bool|null
Return values
bool|null —getRequireAccept()
Gets require_accept
public
getRequireAccept() : bool|null
Return values
bool|null —getSendToEmail()
Gets send_to_email
public
getSendToEmail() : bool|null
Return values
bool|null —getStatementAlignment()
Gets statement_alignment
public
getStatementAlignment() : 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> —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 —setActionButtonAlignment()
Sets action_button_alignment
public
setActionButtonAlignment(string|null $action_button_alignment) : $this
Parameters
- $action_button_alignment : string|null
-
Position of the Accept button in the agreement. One of -
right-left
Return values
$this —setAllowClientOnly()
Sets allow_client_only
public
setAllowClientOnly(bool|null $allow_client_only) : $this
Parameters
- $allow_client_only : bool|null
-
When true, this agreement can be be used in client-only integrations.
Return values
$this —setAllowedHosts()
Sets allowed_hosts
public
setAllowedHosts(array<string|int, ?string> $allowed_hosts) : $this
Parameters
- $allowed_hosts : array<string|int, ?string>
-
Hosts that can host the clickwrap. It is an error if the clickwrap didn't come from one of these hosts.
Return values
$this —setBrandId()
Sets brand_id
public
setBrandId(string|null $brand_id) : $this
Parameters
- $brand_id : string|null
-
The signing brand ID.
Return values
$this —setConsentButtonText()
Sets consent_button_text
public
setConsentButtonText(string|null $consent_button_text) : $this
Parameters
- $consent_button_text : string|null
-
Text on the agree button.
Return values
$this —setConsentText()
Sets consent_text
public
setConsentText(string|null $consent_text) : $this
Parameters
- $consent_text : string|null
-
The statement prefixing the Electronic Record and Signature Disclosure agreement.
Return values
$this —setDeclineButtonText()
Sets decline_button_text
public
setDeclineButtonText(string|null $decline_button_text) : $this
Parameters
- $decline_button_text : string|null
-
The text on the decline button.
Return values
$this —setDisplayName()
Sets display_name
public
setDisplayName(string|null $display_name) : $this
Parameters
- $display_name : string|null
-
The display name of the user agreement.
Return values
$this —setDocumentDisplay()
Sets document_display
public
setDocumentDisplay(string|null $document_display) : $this
Parameters
- $document_display : string|null
-
Display type: link, document or pdf
Return values
$this —setDownloadable()
Sets downloadable
public
setDownloadable(bool|null $downloadable) : $this
Parameters
- $downloadable : bool|null
-
True if the agreement is downloadable.
Return values
$this —setFormat()
Sets format
public
setFormat(string|null $format) : $this
Parameters
- $format : string|null
-
Display format: inline or modal.
Return values
$this —setHasDeclineButton()
Sets has_decline_button
public
setHasDeclineButton(bool|null $has_decline_button) : $this
Parameters
- $has_decline_button : bool|null
-
True if the agreement has a decline button.
Return values
$this —setMustRead()
Sets must_read
public
setMustRead(bool|null $must_read) : $this
Parameters
- $must_read : bool|null
-
True if the user needs to scroll to the end of the document.
Return values
$this —setMustView()
Sets must_view
public
setMustView(bool|null $must_view) : $this
Parameters
- $must_view : bool|null
-
True if the user must view the document.
Return values
$this —setRecordDeclineResponses()
Sets record_decline_responses
public
setRecordDeclineResponses(bool|null $record_decline_responses) : $this
Parameters
- $record_decline_responses : bool|null
-
When true, this agreement records decline actions.
Return values
$this —setRequireAccept()
Sets require_accept
public
setRequireAccept(bool|null $require_accept) : $this
Parameters
- $require_accept : bool|null
-
True if a checkbox is required to accept.
Return values
$this —setSendToEmail()
Sets send_to_email
public
setSendToEmail(bool|null $send_to_email) : $this
Parameters
- $send_to_email : bool|null
-
True if send to email is applicable.
Return values
$this —setStatementAlignment()
Sets statement_alignment
public
setStatementAlignment(string|null $statement_alignment) : $this
Parameters
- $statement_alignment : string|null
-
Position of the agreement statement. One of -
top-bottom
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> —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