xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for DomainPropertyBase StructType
* @subpackage Structs
*/
abstract class DomainPropertyBase extends Entity
{
/**
* The IsDomain
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var bool
*/
public $IsDomain;
/**
* The OptDate1
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableDateTime
*/
public $OptDate1;
/**
* The OptDate2
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableDateTime
*/
public $OptDate2;
/**
* The OptYesNo
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var bool
*/
public $OptYesNo;
/**
* The OptMoney
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableDecimal
*/
public $OptMoney;
/**
* The OptInteger
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableInt32
*/
public $OptInteger;
/**
* The OptFloat
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var NullableDouble
*/
public $OptFloat;
/**
* The DomainUsers
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* - nillable: true
* @var ArrayOfDomainUser
*/
public $DomainUsers;
/**
* The ChildDomains
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* - nillable: true
* @var ArrayOfDomain
*/
public $ChildDomains;
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* The Code
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Code;
/**
* The Name
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Name;
/**
* The Note
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Note;
/**
* The Url
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Url;
/**
* The HierarchyTypeId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $HierarchyTypeId;
/**
* The HierarchyType
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var HierarchyType
*/
public $HierarchyType;
/**
* The ParentId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $ParentId;
/**
* The Parent
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Domain
*/
public $Parent;
/**
* The AddressCity
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressCity;
/**
* The AddressCountry
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressCountry;
/**
* The AddressFax
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressFax;
/**
* The AddressPhone1
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressPhone1;
/**
* The AddressPhone2
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressPhone2;
/**
* The AddressState
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressState;
/**
* The AddressStreet1
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressStreet1;
/**
* The AddressStreet2
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressStreet2;
/**
* The AddressPostalCode
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $AddressPostalCode;
/**
* The ContactEmail
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $ContactEmail;
/**
* The ContactUserId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $ContactUserId;
/**
* The ContactUser
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var User
*/
public $ContactUser;
/**
* The OptText1
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptText1;
/**
* The OptText2
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptText2;
/**
* The OptText3
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptText3;
/**
* The OptText4
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptText4;
/**
* The OptMemo1
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptMemo1;
/**
* The OptCurrencyId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $OptCurrencyId;
/**
* The OptCurrency
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Currency
*/
public $OptCurrency;
/**
* The RootCatalog
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Catalog
*/
public $RootCatalog;
/**
* Constructor method for DomainPropertyBase
* @uses DomainPropertyBase::setIsDomain()
* @uses DomainPropertyBase::setOptDate1()
* @uses DomainPropertyBase::setOptDate2()
* @uses DomainPropertyBase::setOptYesNo()
* @uses DomainPropertyBase::setOptMoney()
* @uses DomainPropertyBase::setOptInteger()
* @uses DomainPropertyBase::setOptFloat()
* @uses DomainPropertyBase::setDomainUsers()
* @uses DomainPropertyBase::setChildDomains()
* @uses DomainPropertyBase::setId()
* @uses DomainPropertyBase::setCode()
* @uses DomainPropertyBase::setName()
* @uses DomainPropertyBase::setNote()
* @uses DomainPropertyBase::setUrl()
* @uses DomainPropertyBase::setHierarchyTypeId()
* @uses DomainPropertyBase::setHierarchyType()
* @uses DomainPropertyBase::setParentId()
* @uses DomainPropertyBase::setParent()
* @uses DomainPropertyBase::setAddressCity()
* @uses DomainPropertyBase::setAddressCountry()
* @uses DomainPropertyBase::setAddressFax()
* @uses DomainPropertyBase::setAddressPhone1()
* @uses DomainPropertyBase::setAddressPhone2()
* @uses DomainPropertyBase::setAddressState()
* @uses DomainPropertyBase::setAddressStreet1()
* @uses DomainPropertyBase::setAddressStreet2()
* @uses DomainPropertyBase::setAddressPostalCode()
* @uses DomainPropertyBase::setContactEmail()
* @uses DomainPropertyBase::setContactUserId()
* @uses DomainPropertyBase::setContactUser()
* @uses DomainPropertyBase::setOptText1()
* @uses DomainPropertyBase::setOptText2()
* @uses DomainPropertyBase::setOptText3()
* @uses DomainPropertyBase::setOptText4()
* @uses DomainPropertyBase::setOptMemo1()
* @uses DomainPropertyBase::setOptCurrencyId()
* @uses DomainPropertyBase::setOptCurrency()
* @uses DomainPropertyBase::setRootCatalog()
* @param bool $isDomain
* @param NullableDateTime $optDate1
* @param NullableDateTime $optDate2
* @param bool $optYesNo
* @param NullableDecimal $optMoney
* @param NullableInt32 $optInteger
* @param NullableDouble $optFloat
* @param ArrayOfDomainUser $domainUsers
* @param ArrayOfDomain $childDomains
* @param string $id
* @param string $code
* @param string $name
* @param string $note
* @param string $url
* @param string $hierarchyTypeId
* @param HierarchyType $hierarchyType
* @param string $parentId
* @param Domain $parent
* @param string $addressCity
* @param string $addressCountry
* @param string $addressFax
* @param string $addressPhone1
* @param string $addressPhone2
* @param string $addressState
* @param string $addressStreet1
* @param string $addressStreet2
* @param string $addressPostalCode
* @param string $contactEmail
* @param string $contactUserId
* @param User $contactUser
* @param string $optText1
* @param string $optText2
* @param string $optText3
* @param string $optText4
* @param string $optMemo1
* @param string $optCurrencyId
* @param Currency $optCurrency
* @param Catalog $rootCatalog
*/
public function __construct($isDomain = null, NullableDateTime $optDate1 = null, NullableDateTime $optDate2 = null, $optYesNo = null, NullableDecimal $optMoney = null, NullableInt32 $optInteger = null, NullableDouble $optFloat = null, ArrayOfDomainUser $domainUsers = null, ArrayOfDomain $childDomains = null, $id = null, $code = null, $name = null, $note = null, $url = null, $hierarchyTypeId = null, HierarchyType $hierarchyType = null, $parentId = null, Domain $parent = null, $addressCity = null, $addressCountry = null, $addressFax = null, $addressPhone1 = null, $addressPhone2 = null, $addressState = null, $addressStreet1 = null, $addressStreet2 = null, $addressPostalCode = null, $contactEmail = null, $contactUserId = null, User $contactUser = null, $optText1 = null, $optText2 = null, $optText3 = null, $optText4 = null, $optMemo1 = null, $optCurrencyId = null, Currency $optCurrency = null, Catalog $rootCatalog = null)
{
$this
->setIsDomain($isDomain)
->setOptDate1($optDate1)
->setOptDate2($optDate2)
->setOptYesNo($optYesNo)
->setOptMoney($optMoney)
->setOptInteger($optInteger)
->setOptFloat($optFloat)
->setDomainUsers($domainUsers)
->setChildDomains($childDomains)
->setId($id)
->setCode($code)
->setName($name)
->setNote($note)
->setUrl($url)
->setHierarchyTypeId($hierarchyTypeId)
->setHierarchyType($hierarchyType)
->setParentId($parentId)
->setParent($parent)
->setAddressCity($addressCity)
->setAddressCountry($addressCountry)
->setAddressFax($addressFax)
->setAddressPhone1($addressPhone1)
->setAddressPhone2($addressPhone2)
->setAddressState($addressState)
->setAddressStreet1($addressStreet1)
->setAddressStreet2($addressStreet2)
->setAddressPostalCode($addressPostalCode)
->setContactEmail($contactEmail)
->setContactUserId($contactUserId)
->setContactUser($contactUser)
->setOptText1($optText1)
->setOptText2($optText2)
->setOptText3($optText3)
->setOptText4($optText4)
->setOptMemo1($optMemo1)
->setOptCurrencyId($optCurrencyId)
->setOptCurrency($optCurrency)
->setRootCatalog($rootCatalog);
}
/**
* Get IsDomain value
* @return bool
*/
public function getIsDomain()
{
return $this->IsDomain;
}
/**
* Set IsDomain value
* @param bool $isDomain
* @return DomainPropertyBase
*/
public function setIsDomain($isDomain = null)
{
$this->IsDomain = $isDomain;
return $this;
}
/**
* Get OptDate1 value
* @return NullableDateTime
*/
public function getOptDate1()
{
return $this->OptDate1;
}
/**
* Set OptDate1 value
* @param NullableDateTime $optDate1
* @return DomainPropertyBase
*/
public function setOptDate1(NullableDateTime $optDate1 = null)
{
$this->OptDate1 = $optDate1;
return $this;
}
/**
* Get OptDate2 value
* @return NullableDateTime
*/
public function getOptDate2()
{
return $this->OptDate2;
}
/**
* Set OptDate2 value
* @param NullableDateTime $optDate2
* @return DomainPropertyBase
*/
public function setOptDate2(NullableDateTime $optDate2 = null)
{
$this->OptDate2 = $optDate2;
return $this;
}
/**
* Get OptYesNo value
* @return bool
*/
public function getOptYesNo()
{
return $this->OptYesNo;
}
/**
* Set OptYesNo value
* @param bool $optYesNo
* @return DomainPropertyBase
*/
public function setOptYesNo($optYesNo = null)
{
$this->OptYesNo = $optYesNo;
return $this;
}
/**
* Get OptMoney value
* @return NullableDecimal
*/
public function getOptMoney()
{
return $this->OptMoney;
}
/**
* Set OptMoney value
* @param NullableDecimal $optMoney
* @return DomainPropertyBase
*/
public function setOptMoney(NullableDecimal $optMoney = null)
{
$this->OptMoney = $optMoney;
return $this;
}
/**
* Get OptInteger value
* @return NullableInt32
*/
public function getOptInteger()
{
return $this->OptInteger;
}
/**
* Set OptInteger value
* @param NullableInt32 $optInteger
* @return DomainPropertyBase
*/
public function setOptInteger(NullableInt32 $optInteger = null)
{
$this->OptInteger = $optInteger;
return $this;
}
/**
* Get OptFloat value
* @return NullableDouble
*/
public function getOptFloat()
{
return $this->OptFloat;
}
/**
* Set OptFloat value
* @param NullableDouble $optFloat
* @return DomainPropertyBase
*/
public function setOptFloat(NullableDouble $optFloat = null)
{
$this->OptFloat = $optFloat;
return $this;
}
/**
* Get DomainUsers value
* @return ArrayOfDomainUser
*/
public function getDomainUsers()
{
return $this->DomainUsers;
}
/**
* Set DomainUsers value
* @param ArrayOfDomainUser $domainUsers
* @return DomainPropertyBase
*/
public function setDomainUsers(ArrayOfDomainUser $domainUsers = null)
{
$this->DomainUsers = $domainUsers;
return $this;
}
/**
* Get ChildDomains value
* @return ArrayOfDomain
*/
public function getChildDomains()
{
return $this->ChildDomains;
}
/**
* Set ChildDomains value
* @param ArrayOfDomain $childDomains
* @return DomainPropertyBase
*/
public function setChildDomains(ArrayOfDomain $childDomains = null)
{
$this->ChildDomains = $childDomains;
return $this;
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return DomainPropertyBase
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
}
$this->Id = $id;
return $this;
}
/**
* Get Code value
* @return string|null
*/
public function getCode()
{
return $this->Code;
}
/**
* Set Code value
* @param string $code
* @return DomainPropertyBase
*/
public function setCode($code = null)
{
// validation for constraint: string
if (!is_null($code) && !is_string($code)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($code)), __LINE__);
}
$this->Code = $code;
return $this;
}
/**
* Get Name value
* @return string|null
*/
public function getName()
{
return $this->Name;
}
/**
* Set Name value
* @param string $name
* @return DomainPropertyBase
*/
public function setName($name = null)
{
// validation for constraint: string
if (!is_null($name) && !is_string($name)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
}
$this->Name = $name;
return $this;
}
/**
* Get Note value
* @return string|null
*/
public function getNote()
{
return $this->Note;
}
/**
* Set Note value
* @param string $note
* @return DomainPropertyBase
*/
public function setNote($note = null)
{
// validation for constraint: string
if (!is_null($note) && !is_string($note)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($note)), __LINE__);
}
$this->Note = $note;
return $this;
}
/**
* Get Url value
* @return string|null
*/
public function getUrl()
{
return $this->Url;
}
/**
* Set Url value
* @param string $url
* @return DomainPropertyBase
*/
public function setUrl($url = null)
{
// validation for constraint: string
if (!is_null($url) && !is_string($url)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($url)), __LINE__);
}
$this->Url = $url;
return $this;
}
/**
* Get HierarchyTypeId value
* @return string|null
*/
public function getHierarchyTypeId()
{
return $this->HierarchyTypeId;
}
/**
* Set HierarchyTypeId value
* @param string $hierarchyTypeId
* @return DomainPropertyBase
*/
public function setHierarchyTypeId($hierarchyTypeId = null)
{
// validation for constraint: string
if (!is_null($hierarchyTypeId) && !is_string($hierarchyTypeId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($hierarchyTypeId)), __LINE__);
}
$this->HierarchyTypeId = $hierarchyTypeId;
return $this;
}
/**
* Get HierarchyType value
* @return HierarchyType|null
*/
public function getHierarchyType()
{
return $this->HierarchyType;
}
/**
* Set HierarchyType value
* @param HierarchyType $hierarchyType
* @return DomainPropertyBase
*/
public function setHierarchyType(HierarchyType $hierarchyType = null)
{
$this->HierarchyType = $hierarchyType;
return $this;
}
/**
* Get ParentId value
* @return string|null
*/
public function getParentId()
{
return $this->ParentId;
}
/**
* Set ParentId value
* @param string $parentId
* @return DomainPropertyBase
*/
public function setParentId($parentId = null)
{
// validation for constraint: string
if (!is_null($parentId) && !is_string($parentId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($parentId)), __LINE__);
}
$this->ParentId = $parentId;
return $this;
}
/**
* Get Parent value
* @return Domain|null
*/
public function getParent()
{
return $this->Parent;
}
/**
* Set Parent value
* @param Domain $parent
* @return DomainPropertyBase
*/
public function setParent(Domain $parent = null)
{
$this->Parent = $parent;
return $this;
}
/**
* Get AddressCity value
* @return string|null
*/
public function getAddressCity()
{
return $this->AddressCity;
}
/**
* Set AddressCity value
* @param string $addressCity
* @return DomainPropertyBase
*/
public function setAddressCity($addressCity = null)
{
// validation for constraint: string
if (!is_null($addressCity) && !is_string($addressCity)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressCity)), __LINE__);
}
$this->AddressCity = $addressCity;
return $this;
}
/**
* Get AddressCountry value
* @return string|null
*/
public function getAddressCountry()
{
return $this->AddressCountry;
}
/**
* Set AddressCountry value
* @param string $addressCountry
* @return DomainPropertyBase
*/
public function setAddressCountry($addressCountry = null)
{
// validation for constraint: string
if (!is_null($addressCountry) && !is_string($addressCountry)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressCountry)), __LINE__);
}
$this->AddressCountry = $addressCountry;
return $this;
}
/**
* Get AddressFax value
* @return string|null
*/
public function getAddressFax()
{
return $this->AddressFax;
}
/**
* Set AddressFax value
* @param string $addressFax
* @return DomainPropertyBase
*/
public function setAddressFax($addressFax = null)
{
// validation for constraint: string
if (!is_null($addressFax) && !is_string($addressFax)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressFax)), __LINE__);
}
$this->AddressFax = $addressFax;
return $this;
}
/**
* Get AddressPhone1 value
* @return string|null
*/
public function getAddressPhone1()
{
return $this->AddressPhone1;
}
/**
* Set AddressPhone1 value
* @param string $addressPhone1
* @return DomainPropertyBase
*/
public function setAddressPhone1($addressPhone1 = null)
{
// validation for constraint: string
if (!is_null($addressPhone1) && !is_string($addressPhone1)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressPhone1)), __LINE__);
}
$this->AddressPhone1 = $addressPhone1;
return $this;
}
/**
* Get AddressPhone2 value
* @return string|null
*/
public function getAddressPhone2()
{
return $this->AddressPhone2;
}
/**
* Set AddressPhone2 value
* @param string $addressPhone2
* @return DomainPropertyBase
*/
public function setAddressPhone2($addressPhone2 = null)
{
// validation for constraint: string
if (!is_null($addressPhone2) && !is_string($addressPhone2)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressPhone2)), __LINE__);
}
$this->AddressPhone2 = $addressPhone2;
return $this;
}
/**
* Get AddressState value
* @return string|null
*/
public function getAddressState()
{
return $this->AddressState;
}
/**
* Set AddressState value
* @param string $addressState
* @return DomainPropertyBase
*/
public function setAddressState($addressState = null)
{
// validation for constraint: string
if (!is_null($addressState) && !is_string($addressState)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressState)), __LINE__);
}
$this->AddressState = $addressState;
return $this;
}
/**
* Get AddressStreet1 value
* @return string|null
*/
public function getAddressStreet1()
{
return $this->AddressStreet1;
}
/**
* Set AddressStreet1 value
* @param string $addressStreet1
* @return DomainPropertyBase
*/
public function setAddressStreet1($addressStreet1 = null)
{
// validation for constraint: string
if (!is_null($addressStreet1) && !is_string($addressStreet1)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressStreet1)), __LINE__);
}
$this->AddressStreet1 = $addressStreet1;
return $this;
}
/**
* Get AddressStreet2 value
* @return string|null
*/
public function getAddressStreet2()
{
return $this->AddressStreet2;
}
/**
* Set AddressStreet2 value
* @param string $addressStreet2
* @return DomainPropertyBase
*/
public function setAddressStreet2($addressStreet2 = null)
{
// validation for constraint: string
if (!is_null($addressStreet2) && !is_string($addressStreet2)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressStreet2)), __LINE__);
}
$this->AddressStreet2 = $addressStreet2;
return $this;
}
/**
* Get AddressPostalCode value
* @return string|null
*/
public function getAddressPostalCode()
{
return $this->AddressPostalCode;
}
/**
* Set AddressPostalCode value
* @param string $addressPostalCode
* @return DomainPropertyBase
*/
public function setAddressPostalCode($addressPostalCode = null)
{
// validation for constraint: string
if (!is_null($addressPostalCode) && !is_string($addressPostalCode)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($addressPostalCode)), __LINE__);
}
$this->AddressPostalCode = $addressPostalCode;
return $this;
}
/**
* Get ContactEmail value
* @return string|null
*/
public function getContactEmail()
{
return $this->ContactEmail;
}
/**
* Set ContactEmail value
* @param string $contactEmail
* @return DomainPropertyBase
*/
public function setContactEmail($contactEmail = null)
{
// validation for constraint: string
if (!is_null($contactEmail) && !is_string($contactEmail)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contactEmail)), __LINE__);
}
$this->ContactEmail = $contactEmail;
return $this;
}
/**
* Get ContactUserId value
* @return string|null
*/
public function getContactUserId()
{
return $this->ContactUserId;
}
/**
* Set ContactUserId value
* @param string $contactUserId
* @return DomainPropertyBase
*/
public function setContactUserId($contactUserId = null)
{
// validation for constraint: string
if (!is_null($contactUserId) && !is_string($contactUserId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($contactUserId)), __LINE__);
}
$this->ContactUserId = $contactUserId;
return $this;
}
/**
* Get ContactUser value
* @return User|null
*/
public function getContactUser()
{
return $this->ContactUser;
}
/**
* Set ContactUser value
* @param User $contactUser
* @return DomainPropertyBase
*/
public function setContactUser(User $contactUser = null)
{
$this->ContactUser = $contactUser;
return $this;
}
/**
* Get OptText1 value
* @return string|null
*/
public function getOptText1()
{
return $this->OptText1;
}
/**
* Set OptText1 value
* @param string $optText1
* @return DomainPropertyBase
*/
public function setOptText1($optText1 = null)
{
// validation for constraint: string
if (!is_null($optText1) && !is_string($optText1)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optText1)), __LINE__);
}
$this->OptText1 = $optText1;
return $this;
}
/**
* Get OptText2 value
* @return string|null
*/
public function getOptText2()
{
return $this->OptText2;
}
/**
* Set OptText2 value
* @param string $optText2
* @return DomainPropertyBase
*/
public function setOptText2($optText2 = null)
{
// validation for constraint: string
if (!is_null($optText2) && !is_string($optText2)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optText2)), __LINE__);
}
$this->OptText2 = $optText2;
return $this;
}
/**
* Get OptText3 value
* @return string|null
*/
public function getOptText3()
{
return $this->OptText3;
}
/**
* Set OptText3 value
* @param string $optText3
* @return DomainPropertyBase
*/
public function setOptText3($optText3 = null)
{
// validation for constraint: string
if (!is_null($optText3) && !is_string($optText3)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optText3)), __LINE__);
}
$this->OptText3 = $optText3;
return $this;
}
/**
* Get OptText4 value
* @return string|null
*/
public function getOptText4()
{
return $this->OptText4;
}
/**
* Set OptText4 value
* @param string $optText4
* @return DomainPropertyBase
*/
public function setOptText4($optText4 = null)
{
// validation for constraint: string
if (!is_null($optText4) && !is_string($optText4)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optText4)), __LINE__);
}
$this->OptText4 = $optText4;
return $this;
}
/**
* Get OptMemo1 value
* @return string|null
*/
public function getOptMemo1()
{
return $this->OptMemo1;
}
/**
* Set OptMemo1 value
* @param string $optMemo1
* @return DomainPropertyBase
*/
public function setOptMemo1($optMemo1 = null)
{
// validation for constraint: string
if (!is_null($optMemo1) && !is_string($optMemo1)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optMemo1)), __LINE__);
}
$this->OptMemo1 = $optMemo1;
return $this;
}
/**
* Get OptCurrencyId value
* @return string|null
*/
public function getOptCurrencyId()
{
return $this->OptCurrencyId;
}
/**
* Set OptCurrencyId value
* @param string $optCurrencyId
* @return DomainPropertyBase
*/
public function setOptCurrencyId($optCurrencyId = null)
{
// validation for constraint: string
if (!is_null($optCurrencyId) && !is_string($optCurrencyId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($optCurrencyId)), __LINE__);
}
$this->OptCurrencyId = $optCurrencyId;
return $this;
}
/**
* Get OptCurrency value
* @return Currency|null
*/
public function getOptCurrency()
{
return $this->OptCurrency;
}
/**
* Set OptCurrency value
* @param Currency $optCurrency
* @return DomainPropertyBase
*/
public function setOptCurrency(Currency $optCurrency = null)
{
$this->OptCurrency = $optCurrency;
return $this;
}
/**
* Get RootCatalog value
* @return Catalog|null
*/
public function getRootCatalog()
{
return $this->RootCatalog;
}
/**
* Set RootCatalog value
* @param Catalog $rootCatalog
* @return DomainPropertyBase
*/
public function setRootCatalog(Catalog $rootCatalog = null)
{
$this->RootCatalog = $rootCatalog;
return $this;
}
/**
* Method called when an object has been exported with var_export() functions
* It allows to return an object instantiated with the values
* @see AbstractStructBase::__set_state()
* @uses AbstractStructBase::__set_state()
* @param array $array the exported values
* @return DomainPropertyBase
*/
public static function __set_state(array $array)
{
return parent::__set_state($array);
}
/**
* Method returning the class name
* @return string __CLASS__
*/
public function __toString()
{
return __CLASS__;
}
}
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