xxxxxxxxxx
namespace Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for DPDAppAuthenticationException Structs
* Meta information extracted from the WSDL
* - type: tns:DPDAppAuthenticationException
* @subpackage Structs
*/
class DPDAppAuthenticationException extends AbstractStructBase
{
/**
* The login
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $login;
/**
* The message
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $message;
/**
* Constructor method for DPDAppAuthenticationException
* @uses DPDAppAuthenticationException::setLogin()
* @uses DPDAppAuthenticationException::setMessage()
* @param string $login
* @param string $message
*/
public function __construct($login = null, $message = null)
{
$this
->setLogin($login)
->setMessage($message);
}
/**
* Get login value
* @return string|null
*/
public function getLogin()
{
return $this->login;
}
/**
* Set login value
* @param string $login
* @return \Structs\DPDAppAuthenticationException
*/
public function setLogin($login = null)
{
// validation for constraint: string
if (!is_null($login) && !is_string($login)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($login, true), gettype($login)), __LINE__);
}
$this->login = $login;
return $this;
}
/**
* Get message value
* @return string|null
*/
public function getMessage()
{
return $this->message;
}
/**
* Set message value
* @param string $message
* @return \Structs\DPDAppAuthenticationException
*/
public function setMessage($message = null)
{
// validation for constraint: string
if (!is_null($message) && !is_string($message)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($message, true), gettype($message)), __LINE__);
}
$this->message = $message;
return $this;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO