xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for changePassword StructType
* @subpackage Structs
*/
class ChangePassword extends AbstractStructBase
{
/**
* The newPassword
* @var string
*/
public $newPassword;
/**
* Constructor method for changePassword
* @uses ChangePassword::setNewPassword()
* @param string $newPassword
*/
public function __construct($newPassword = null)
{
$this
->setNewPassword($newPassword);
}
/**
* Get newPassword value
* @return string|null
*/
public function getNewPassword()
{
return $this->newPassword;
}
/**
* Set newPassword value
* @param string $newPassword
* @return ChangePassword
*/
public function setNewPassword($newPassword = null)
{
// validation for constraint: string
if (!is_null($newPassword) && !is_string($newPassword)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($newPassword, true), gettype($newPassword)), __LINE__);
}
$this->newPassword = $newPassword;
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