_propDict)) { if (is_a($this->_propDict["expiryDateTime"], "\DateTime") || is_null($this->_propDict["expiryDateTime"])) { return $this->_propDict["expiryDateTime"]; } else { $this->_propDict["expiryDateTime"] = new \DateTime($this->_propDict["expiryDateTime"]); return $this->_propDict["expiryDateTime"]; } } return null; } /** * Sets the expiryDateTime * When the presentation request will expire and a new one will need to be generated. * * @param \DateTime $val The value to assign to the expiryDateTime * * @return VerifiableCredentialRequired The VerifiableCredentialRequired */ public function setExpiryDateTime($val) { $this->_propDict["expiryDateTime"] = $val; return $this; } /** * Gets the url * A URL that launches the digital wallet and starts the presentation process. You can present this URL to the user if they can't scan the QR code. * * @return string|null The url */ public function getUrl() { if (array_key_exists("url", $this->_propDict)) { return $this->_propDict["url"]; } else { return null; } } /** * Sets the url * A URL that launches the digital wallet and starts the presentation process. You can present this URL to the user if they can't scan the QR code. * * @param string $val The value of the url * * @return VerifiableCredentialRequired */ public function setUrl($val) { $this->_propDict["url"] = $val; return $this; } }