diff --git a/Resources/db_access.wsdl b/Resources/db_access.wsdl index 11051e7..68d208d 100644 --- a/Resources/db_access.wsdl +++ b/Resources/db_access.wsdl @@ -1,85 +1,117 @@ - - + + - + - + - + + + + + + + + - + - + + + + + - + + + + - + - + - + - + - + - - + + + + + + + - - + + + + + + + - - + + - + @@ -96,6 +128,16 @@ Seznam služeb: + + + + + + + + + + @@ -106,6 +148,16 @@ Seznam služeb: + + + + + + + + + + diff --git a/Resources/db_manipulations.wsdl b/Resources/db_manipulations.wsdl new file mode 100644 index 0000000..2ee37c4 --- /dev/null +++ b/Resources/db_manipulations.wsdl @@ -0,0 +1,592 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/db_search.wsdl b/Resources/db_search.wsdl index 9715267..6848c1d 100644 --- a/Resources/db_search.wsdl +++ b/Resources/db_search.wsdl @@ -1,66 +1,136 @@ - - + + - + - + - + + + + + + + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -70,20 +140,60 @@ Seznam služeb: + + + + + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -100,6 +210,16 @@ Seznam služeb: + + + + + + + + + + @@ -121,14 +241,84 @@ Seznam služeb: - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/dmBaseTypes.xsd b/Resources/dmBaseTypes.xsd index e2980a0..cd08f22 100644 --- a/Resources/dmBaseTypes.xsd +++ b/Resources/dmBaseTypes.xsd @@ -1,32 +1,44 @@ @@ -58,7 +70,7 @@ - + @@ -80,7 +92,7 @@ - výčet typů písemností, main je pouze jedna + typ přílohy, první by měla být "main" @@ -103,12 +115,12 @@ - může obsahovat jméno souboru, příp. jiný popis. Objeví se v seznamu příloh na portále + Název souboru - nepovinný údaj - odkaz na definici formuláře + nepovinný údaj, nepoužívá se v současné verzi @@ -857,9 +869,9 @@ typ DZ: na vstupu CreateMessage: -K = komerční DZ, O = vynucení odpovědní DZ, I = iniciační pro ODZ, V = veřejná DZ; nepoužitý atribut = veřejná DZ -Na výstupu: -K - smluvní PDZ, O - odpovědní PDZ, G - globálně dotovaná, Z - omezeně dotovaná, D - externě dotovaná, E - EPZ, I - iniciační k ODZ, Y - iniciační k ODZ zkonzumovaná, X - iniciační k ODZ expirovaná, A - iniciační k ODZ dotovaná, B - dotovaná iniciační k ODZ zkonzumovaná, C - dotovaná iniciační k ODZ expirovaná, neuvedeno = veřejná DZ + K = komerční DZ, O = vynucení odpovědní DZ, I = iniciační pro ODZ, V = veřejná DZ; nepoužitý atribut = veřejná DZ + Na výstupu: + K - smluvní PDZ, O - odpovědní PDZ, G - globálně dotovaná, Z - omezeně dotovaná, D - externě dotovaná, E - EPZ, I - iniciační k ODZ, Y - iniciační k ODZ zkonzumovaná, X - iniciační k ODZ expirovaná, A - iniciační k ODZ dotovaná, B - dotovaná iniciační k ODZ zkonzumovaná, C - dotovaná iniciační k ODZ expirovaná, neuvedeno = veřejná DZ @@ -949,4 +961,31 @@ K - smluvní PDZ, O - odpovědní PDZ, G - globálně dotovaná, Z - omezeně do + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Resources/dm_info.wsdl b/Resources/dm_info.wsdl index c81c7a3..2f4251d 100644 --- a/Resources/dm_info.wsdl +++ b/Resources/dm_info.wsdl @@ -1,5 +1,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/dm_operations.wsdl b/Resources/dm_operations.wsdl index 54859e8..a8ab618 100644 --- a/Resources/dm_operations.wsdl +++ b/Resources/dm_operations.wsdl @@ -1,16 +1,19 @@ - - + + - + - + - + - + - + - + - + - - + + - + - - + + - + - + - + - + + + + + + + + @@ -118,10 +135,15 @@ + + + + + - + @@ -191,6 +213,16 @@ + + + + + + + + + + diff --git a/src/Api/DataBoxAccess.php b/src/Api/DataBoxAccess.php index a6ea9c2..36a7d08 100644 --- a/src/Api/DataBoxAccess.php +++ b/src/Api/DataBoxAccess.php @@ -4,105 +4,124 @@ class DataBoxAccess extends \SoapClient { + /** - * @var array The defined classes + * @var array $classmap The defined classes */ - private static $classmap = array( - 'tIdDbInput' => 'Defr\\CzechDataBox\\Api\\tIdDbInput', - 'tReqStatusOutput' => 'Defr\\CzechDataBox\\Api\\tReqStatusOutput', - 'tDbReqStatus' => 'Defr\\CzechDataBox\\Api\\tDbReqStatus', - 'tDbOwnerInfo' => 'Defr\\CzechDataBox\\Api\\tDbOwnerInfo', - 'tDbOwnersArray' => 'Defr\\CzechDataBox\\Api\\tDbOwnersArray', - 'tDbUserInfo' => 'Defr\\CzechDataBox\\Api\\tDbUserInfo', - 'tDbUsersArray' => 'Defr\\CzechDataBox\\Api\\tDbUsersArray', - 'tFindDBInput' => 'Defr\\CzechDataBox\\Api\\tFindDBInput', - 'tFindDBOuput' => 'Defr\\CzechDataBox\\Api\\tFindDBOuput', - 'tCreateDBInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBInput', - 'tCreateDBOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBOutput', - 'tDeleteDBInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBInput', - 'tUpdateDBInput' => 'Defr\\CzechDataBox\\Api\\tUpdateDBInput', - 'tAddDBUserInput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserInput', - 'tAddDBUserOutput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserOutput', - 'tDelDBUserInput' => 'Defr\\CzechDataBox\\Api\\tDelDBUserInput', - 'tUpdDBUserInput' => 'Defr\\CzechDataBox\\Api\\tUpdDBUserInput', - 'tNewAccDataInput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataInput', - 'tNewAccDataOutput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataOutput', - 'tOwnerInfoInput' => 'Defr\\CzechDataBox\\Api\\tOwnerInfoInput', - 'tDisableExternallyInput' => 'Defr\\CzechDataBox\\Api\\tDisableExternallyInput', - 'tGetDBUsersOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBUsersOutput', - 'tCheckDBOutput' => 'Defr\\CzechDataBox\\Api\\tCheckDBOutput', - 'tActivateInput' => 'Defr\\CzechDataBox\\Api\\tActivateInput', - 'tActivateOutput' => 'Defr\\CzechDataBox\\Api\\tActivateOutput', - 'tCreateDBPFOInfoInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoInput', - 'tCreateDBPFOInfoOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoOutput', - 'tDummyInput' => 'Defr\\CzechDataBox\\Api\\tDummyInput', - 'tGetOwnInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetOwnInfoOutput', - 'tGetUserInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetUserInfoOutput', - 'tGetPasswInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetPasswInfoOutput', - 'tChngPasswInput' => 'Defr\\CzechDataBox\\Api\\tChngPasswInput', - 'tGetDBListInput' => 'Defr\\CzechDataBox\\Api\\tGetDBListInput', - 'tGetDBListOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBListOutput', - 'tDeleteDBPromptlyInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBPromptlyInput', - 'tPDZInfoInput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoInput', - 'tPDZRec' => 'Defr\\CzechDataBox\\Api\\tPDZRec', - 'tPDZRecArray' => 'Defr\\CzechDataBox\\Api\\tPDZRecArray', - 'tPDZInfoOutput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoOutput', -); + private static $classmap = array ( + 'tIdDbInput' => 'Defr\\CzechDataBox\\Api\\tIdDbInput', + 'tReqStatusOutput' => 'Defr\\CzechDataBox\\Api\\tReqStatusOutput', + 'tDbReqStatus' => 'Defr\\CzechDataBox\\Api\\tDbReqStatus', + 'tDbOwnerInfo' => 'Defr\\CzechDataBox\\Api\\tDbOwnerInfo', + 'tDbOwnersArray' => 'Defr\\CzechDataBox\\Api\\tDbOwnersArray', + 'tDbUserInfo' => 'Defr\\CzechDataBox\\Api\\tDbUserInfo', + 'tDbUsersArray' => 'Defr\\CzechDataBox\\Api\\tDbUsersArray', + 'tFindDBInput' => 'Defr\\CzechDataBox\\Api\\tFindDBInput', + 'tFindDBOuput' => 'Defr\\CzechDataBox\\Api\\tFindDBOuput', + 'tCreateDBInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBInput', + 'tCreateDBOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBOutput', + 'tDeleteDBInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBInput', + 'tUpdateDBInput' => 'Defr\\CzechDataBox\\Api\\tUpdateDBInput', + 'tAddDBUserInput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserInput', + 'tAddDBUserOutput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserOutput', + 'tDelDBUserInput' => 'Defr\\CzechDataBox\\Api\\tDelDBUserInput', + 'tUpdDBUserInput' => 'Defr\\CzechDataBox\\Api\\tUpdDBUserInput', + 'tNewAccDataInput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataInput', + 'tNewAccDataOutput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataOutput', + 'tOwnerInfoInput' => 'Defr\\CzechDataBox\\Api\\tOwnerInfoInput', + 'tDisableExternallyInput' => 'Defr\\CzechDataBox\\Api\\tDisableExternallyInput', + 'tGetDBUsersOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBUsersOutput', + 'tCheckDBOutput' => 'Defr\\CzechDataBox\\Api\\tCheckDBOutput', + 'tActivateInput' => 'Defr\\CzechDataBox\\Api\\tActivateInput', + 'tActivateOutput' => 'Defr\\CzechDataBox\\Api\\tActivateOutput', + 'tCreateDBPFOInfoInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoInput', + 'tCreateDBPFOInfoOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoOutput', + 'tDummyInput' => 'Defr\\CzechDataBox\\Api\\tDummyInput', + 'tGetOwnInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetOwnInfoOutput', + 'tGetUserInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetUserInfoOutput', + 'tGetPasswInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetPasswInfoOutput', + 'tChngPasswInput' => 'Defr\\CzechDataBox\\Api\\tChngPasswInput', + 'tGetDBListInput' => 'Defr\\CzechDataBox\\Api\\tGetDBListInput', + 'tGetDBListOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBListOutput', + 'tDeleteDBPromptlyInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBPromptlyInput', + 'tPDZInfoInput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoInput', + 'tPDZRec' => 'Defr\\CzechDataBox\\Api\\tPDZRec', + 'tPDZRecArray' => 'Defr\\CzechDataBox\\Api\\tPDZRecArray', + 'tPDZInfoOutput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoOutput', + ); /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use */ - public function __construct(array $options = array(), $wsdl = 'C:\www\CzechDataBox\Resources\db_access.wsdl') + public function __construct(array $options = array(), $wsdl = null) { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; } - $options = array_merge(array( - 'features' => 1, -), $options); - parent::__construct($wsdl, $options); + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + if (!$wsdl) { + $wsdl = '/Users/dennis/sites/isas/vendor/dfridrich/czech-data-box/Resources/db_access.wsdl'; + } + parent::__construct($wsdl, $options); } /** * @param tDummyInput $parameter - * * @return tGetOwnInfoOutput */ public function GetOwnerInfoFromLogin(tDummyInput $parameter) { - return $this->__soapCall('GetOwnerInfoFromLogin', array($parameter)); + return $this->__soapCall('GetOwnerInfoFromLogin', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function GetOwnerInfoFromLogin2($parameter) + { + return $this->__soapCall('GetOwnerInfoFromLogin2', array($parameter)); } /** * @param tDummyInput $parameter - * * @return tGetUserInfoOutput */ public function GetUserInfoFromLogin(tDummyInput $parameter) { - return $this->__soapCall('GetUserInfoFromLogin', array($parameter)); + return $this->__soapCall('GetUserInfoFromLogin', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function GetUserInfoFromLogin2($parameter) + { + return $this->__soapCall('GetUserInfoFromLogin2', array($parameter)); } /** * @param tChngPasswInput $parameter - * * @return tReqStatusOutput */ public function ChangeISDSPassword(tChngPasswInput $parameter) { - return $this->__soapCall('ChangeISDSPassword', array($parameter)); + return $this->__soapCall('ChangeISDSPassword', array($parameter)); } /** * @param tDummyInput $parameter - * * @return tGetPasswInfoOutput */ public function GetPasswordInfo(tDummyInput $parameter) { - return $this->__soapCall('GetPasswordInfo', array($parameter)); + return $this->__soapCall('GetPasswordInfo', array($parameter)); } + } diff --git a/src/Api/DataBoxSearch.php b/src/Api/DataBoxSearch.php index 22d4401..fe4eec3 100644 --- a/src/Api/DataBoxSearch.php +++ b/src/Api/DataBoxSearch.php @@ -4,105 +4,178 @@ class DataBoxSearch extends \SoapClient { + /** - * @var array The defined classes + * @var array $classmap The defined classes */ - private static $classmap = array( - 'tIdDbInput' => 'Defr\\CzechDataBox\\Api\\tIdDbInput', - 'tReqStatusOutput' => 'Defr\\CzechDataBox\\Api\\tReqStatusOutput', - 'tDbReqStatus' => 'Defr\\CzechDataBox\\Api\\tDbReqStatus', - 'tDbOwnerInfo' => 'Defr\\CzechDataBox\\Api\\tDbOwnerInfo', - 'tDbOwnersArray' => 'Defr\\CzechDataBox\\Api\\tDbOwnersArray', - 'tDbUserInfo' => 'Defr\\CzechDataBox\\Api\\tDbUserInfo', - 'tDbUsersArray' => 'Defr\\CzechDataBox\\Api\\tDbUsersArray', - 'tFindDBInput' => 'Defr\\CzechDataBox\\Api\\tFindDBInput', - 'tFindDBOuput' => 'Defr\\CzechDataBox\\Api\\tFindDBOuput', - 'tCreateDBInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBInput', - 'tCreateDBOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBOutput', - 'tDeleteDBInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBInput', - 'tUpdateDBInput' => 'Defr\\CzechDataBox\\Api\\tUpdateDBInput', - 'tAddDBUserInput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserInput', - 'tAddDBUserOutput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserOutput', - 'tDelDBUserInput' => 'Defr\\CzechDataBox\\Api\\tDelDBUserInput', - 'tUpdDBUserInput' => 'Defr\\CzechDataBox\\Api\\tUpdDBUserInput', - 'tNewAccDataInput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataInput', - 'tNewAccDataOutput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataOutput', - 'tOwnerInfoInput' => 'Defr\\CzechDataBox\\Api\\tOwnerInfoInput', - 'tDisableExternallyInput' => 'Defr\\CzechDataBox\\Api\\tDisableExternallyInput', - 'tGetDBUsersOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBUsersOutput', - 'tCheckDBOutput' => 'Defr\\CzechDataBox\\Api\\tCheckDBOutput', - 'tActivateInput' => 'Defr\\CzechDataBox\\Api\\tActivateInput', - 'tActivateOutput' => 'Defr\\CzechDataBox\\Api\\tActivateOutput', - 'tCreateDBPFOInfoInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoInput', - 'tCreateDBPFOInfoOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoOutput', - 'tDummyInput' => 'Defr\\CzechDataBox\\Api\\tDummyInput', - 'tGetOwnInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetOwnInfoOutput', - 'tGetUserInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetUserInfoOutput', - 'tGetPasswInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetPasswInfoOutput', - 'tChngPasswInput' => 'Defr\\CzechDataBox\\Api\\tChngPasswInput', - 'tGetDBListInput' => 'Defr\\CzechDataBox\\Api\\tGetDBListInput', - 'tGetDBListOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBListOutput', - 'tDeleteDBPromptlyInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBPromptlyInput', - 'tPDZInfoInput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoInput', - 'tPDZRec' => 'Defr\\CzechDataBox\\Api\\tPDZRec', - 'tPDZRecArray' => 'Defr\\CzechDataBox\\Api\\tPDZRecArray', - 'tPDZInfoOutput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoOutput', -); + private static $classmap = array ( + 'tIdDbInput' => 'Defr\\CzechDataBox\\Api\\tIdDbInput', + 'tReqStatusOutput' => 'Defr\\CzechDataBox\\Api\\tReqStatusOutput', + 'tDbReqStatus' => 'Defr\\CzechDataBox\\Api\\tDbReqStatus', + 'tDbOwnerInfo' => 'Defr\\CzechDataBox\\Api\\tDbOwnerInfo', + 'tDbOwnersArray' => 'Defr\\CzechDataBox\\Api\\tDbOwnersArray', + 'tDbUserInfo' => 'Defr\\CzechDataBox\\Api\\tDbUserInfo', + 'tDbUsersArray' => 'Defr\\CzechDataBox\\Api\\tDbUsersArray', + 'tFindDBInput' => 'Defr\\CzechDataBox\\Api\\tFindDBInput', + 'tFindDBOuput' => 'Defr\\CzechDataBox\\Api\\tFindDBOuput', + 'tCreateDBInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBInput', + 'tCreateDBOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBOutput', + 'tDeleteDBInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBInput', + 'tUpdateDBInput' => 'Defr\\CzechDataBox\\Api\\tUpdateDBInput', + 'tAddDBUserInput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserInput', + 'tAddDBUserOutput' => 'Defr\\CzechDataBox\\Api\\tAddDBUserOutput', + 'tDelDBUserInput' => 'Defr\\CzechDataBox\\Api\\tDelDBUserInput', + 'tUpdDBUserInput' => 'Defr\\CzechDataBox\\Api\\tUpdDBUserInput', + 'tNewAccDataInput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataInput', + 'tNewAccDataOutput' => 'Defr\\CzechDataBox\\Api\\tNewAccDataOutput', + 'tOwnerInfoInput' => 'Defr\\CzechDataBox\\Api\\tOwnerInfoInput', + 'tDisableExternallyInput' => 'Defr\\CzechDataBox\\Api\\tDisableExternallyInput', + 'tGetDBUsersOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBUsersOutput', + 'tCheckDBOutput' => 'Defr\\CzechDataBox\\Api\\tCheckDBOutput', + 'tActivateInput' => 'Defr\\CzechDataBox\\Api\\tActivateInput', + 'tActivateOutput' => 'Defr\\CzechDataBox\\Api\\tActivateOutput', + 'tCreateDBPFOInfoInput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoInput', + 'tCreateDBPFOInfoOutput' => 'Defr\\CzechDataBox\\Api\\tCreateDBPFOInfoOutput', + 'tDummyInput' => 'Defr\\CzechDataBox\\Api\\tDummyInput', + 'tGetOwnInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetOwnInfoOutput', + 'tGetUserInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetUserInfoOutput', + 'tGetPasswInfoOutput' => 'Defr\\CzechDataBox\\Api\\tGetPasswInfoOutput', + 'tChngPasswInput' => 'Defr\\CzechDataBox\\Api\\tChngPasswInput', + 'tGetDBListInput' => 'Defr\\CzechDataBox\\Api\\tGetDBListInput', + 'tGetDBListOutput' => 'Defr\\CzechDataBox\\Api\\tGetDBListOutput', + 'tDeleteDBPromptlyInput' => 'Defr\\CzechDataBox\\Api\\tDeleteDBPromptlyInput', + 'tPDZInfoInput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoInput', + 'tPDZRec' => 'Defr\\CzechDataBox\\Api\\tPDZRec', + 'tPDZRecArray' => 'Defr\\CzechDataBox\\Api\\tPDZRecArray', + 'tPDZInfoOutput' => 'Defr\\CzechDataBox\\Api\\tPDZInfoOutput', + ); /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use */ - public function __construct(array $options = array(), $wsdl = 'C:\www\CzechDataBox\Resources\db_search.wsdl') + public function __construct(array $options = array(), $wsdl = null) { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; } - $options = array_merge(array( - 'features' => 1, -), $options); - parent::__construct($wsdl, $options); + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + if (!$wsdl) { + $wsdl = '/Users/dennis/sites/isas/vendor/dfridrich/czech-data-box/Resources/db_search.wsdl'; + } + parent::__construct($wsdl, $options); } /** * @param tFindDBInput $parameter - * * @return tFindDBOuput */ public function FindDataBox(tFindDBInput $parameter) { - return $this->__soapCall('FindDataBox', array($parameter)); + return $this->__soapCall('FindDataBox', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function FindDataBox2($parameter) + { + return $this->__soapCall('FindDataBox2', array($parameter)); } /** * @param tIdDbInput $parameter - * * @return tCheckDBOutput */ public function CheckDataBox(tIdDbInput $parameter) { - return $this->__soapCall('CheckDataBox', array($parameter)); + return $this->__soapCall('CheckDataBox', array($parameter)); } /** * @param tGetDBListInput $parameter - * * @return tGetDBListOutput */ public function GetDataBoxList(tGetDBListInput $parameter) { - return $this->__soapCall('GetDataBoxList', array($parameter)); + return $this->__soapCall('GetDataBoxList', array($parameter)); } /** * @param tPDZInfoInput $parameter - * * @return tPDZInfoOutput */ public function PDZInfo(tPDZInfoInput $parameter) { - return $this->__soapCall('PDZInfo', array($parameter)); + return $this->__soapCall('PDZInfo', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function DataBoxCreditInfo($parameter) + { + return $this->__soapCall('DataBoxCreditInfo', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function ISDSSearch2($parameter) + { + return $this->__soapCall('ISDSSearch2', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function ISDSSearch3($parameter) + { + return $this->__soapCall('ISDSSearch3', array($parameter)); } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function GetDataBoxActivityStatus($parameter) + { + return $this->__soapCall('GetDataBoxActivityStatus', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function FindPersonalDataBox($parameter) + { + return $this->__soapCall('FindPersonalDataBox', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function DTInfo($parameter) + { + return $this->__soapCall('DTInfo', array($parameter)); + } + + /** + * @param UNKNOWN $parameter + * @return UNKNOWN + */ + public function PDZSendInfo($parameter) + { + return $this->__soapCall('PDZSendInfo', array($parameter)); + } + } diff --git a/src/Api/DmInfoWebService.php b/src/Api/DmInfoWebService.php index 57a9997..307ab97 100644 --- a/src/Api/DmInfoWebService.php +++ b/src/Api/DmInfoWebService.php @@ -4,171 +4,179 @@ class DmInfoWebService extends \SoapClient { + /** - * @var array The defined classes + * @var array $classmap The defined classes */ - private static $classmap = array( - 'tFile' => 'Defr\\CzechDataBox\\Api\\tFile', - 'dmXMLContent' => 'Defr\\CzechDataBox\\Api\\dmXMLContent', - 'tFilesArray' => 'Defr\\CzechDataBox\\Api\\tFilesArray', - 'dmFile' => 'Defr\\CzechDataBox\\Api\\dmFile', - 'tStatus' => 'Defr\\CzechDataBox\\Api\\tStatus', - 'tHash' => 'Defr\\CzechDataBox\\Api\\tHash', - 'tEvent' => 'Defr\\CzechDataBox\\Api\\tEvent', - 'tEventsArray' => 'Defr\\CzechDataBox\\Api\\tEventsArray', - 'tRecipients' => 'Defr\\CzechDataBox\\Api\\tRecipients', - 'tMultipleMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageEnvelopeSub', - 'tMultipleMessageRecipients' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageRecipients', - 'tMultipleMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateInput', - 'dmEnvelope' => 'Defr\\CzechDataBox\\Api\\dmEnvelope', - 'tMultipleStatus' => 'Defr\\CzechDataBox\\Api\\tMultipleStatus', - 'tMStatus' => 'Defr\\CzechDataBox\\Api\\tMStatus', - 'tMultipleMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateOutput', - 'tReturnedMessage' => 'Defr\\CzechDataBox\\Api\\tReturnedMessage', - 'dmDm' => 'Defr\\CzechDataBox\\Api\\dmDm', - 'tReturnedMessageEnvelope' => 'Defr\\CzechDataBox\\Api\\tReturnedMessageEnvelope', - 'tMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMessageEnvelopeSub', - 'tMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateInput', - 'tMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateOutput', - 'tMessageVerifyOutput' => 'Defr\\CzechDataBox\\Api\\tMessageVerifyOutput', - 'tDelivery' => 'Defr\\CzechDataBox\\Api\\tDelivery', - 'tDeliveryMessageOutput' => 'Defr\\CzechDataBox\\Api\\tDeliveryMessageOutput', - 'tSignDelivMessOutput' => 'Defr\\CzechDataBox\\Api\\tSignDelivMessOutput', - 'tRecord' => 'Defr\\CzechDataBox\\Api\\tRecord', - 'tRecordsArray' => 'Defr\\CzechDataBox\\Api\\tRecordsArray', - 'tListOfSentInput' => 'Defr\\CzechDataBox\\Api\\tListOfSentInput', - 'tListOfMessOutput' => 'Defr\\CzechDataBox\\Api\\tListOfMessOutput', - 'tListOfFReceivedInput' => 'Defr\\CzechDataBox\\Api\\tListOfFReceivedInput', - 'tIDMessInput' => 'Defr\\CzechDataBox\\Api\\tIDMessInput', - 'tMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessDownOutput', - 'tMessEnvelDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessEnvelDownOutput', - 'tSignedMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tSignedMessDownOutput', - 'tMarkMessOutput' => 'Defr\\CzechDataBox\\Api\\tMarkMessOutput', - 'tConfirmDeliveryOutput' => 'Defr\\CzechDataBox\\Api\\tConfirmDeliveryOutput', - 'tAuthenticateMessageInput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageInput', - 'tAuthenticateMessageOutput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageOutput', - 'tGetStateChangesInput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesInput', - 'tStateChangesRecord' => 'Defr\\CzechDataBox\\Api\\tStateChangesRecord', - 'tStateChangesArray' => 'Defr\\CzechDataBox\\Api\\tStateChangesArray', - 'tGetStateChangesOutput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesOutput', - 'tGetAuthorInput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorInput', - 'tGetAuthorOutput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorOutput', -); + private static $classmap = array ( + 'tFile' => 'Defr\\CzechDataBox\\Api\\tFile', + 'dmXMLContent' => 'Defr\\CzechDataBox\\Api\\dmXMLContent', + 'tFilesArray' => 'Defr\\CzechDataBox\\Api\\tFilesArray', + 'dmFile' => 'Defr\\CzechDataBox\\Api\\dmFile', + 'tStatus' => 'Defr\\CzechDataBox\\Api\\tStatus', + 'tHash' => 'Defr\\CzechDataBox\\Api\\tHash', + 'tEvent' => 'Defr\\CzechDataBox\\Api\\tEvent', + 'tEventsArray' => 'Defr\\CzechDataBox\\Api\\tEventsArray', + 'tRecipients' => 'Defr\\CzechDataBox\\Api\\tRecipients', + 'tMultipleMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageEnvelopeSub', + 'tMultipleMessageRecipients' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageRecipients', + 'tMultipleMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateInput', + 'dmEnvelope' => 'Defr\\CzechDataBox\\Api\\dmEnvelope', + 'tMultipleStatus' => 'Defr\\CzechDataBox\\Api\\tMultipleStatus', + 'tMStatus' => 'Defr\\CzechDataBox\\Api\\tMStatus', + 'tMultipleMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateOutput', + 'tReturnedMessage' => 'Defr\\CzechDataBox\\Api\\tReturnedMessage', + 'dmDm' => 'Defr\\CzechDataBox\\Api\\dmDm', + 'tReturnedMessageEnvelope' => 'Defr\\CzechDataBox\\Api\\tReturnedMessageEnvelope', + 'tMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMessageEnvelopeSub', + 'tMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateInput', + 'tMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateOutput', + 'tMessageVerifyOutput' => 'Defr\\CzechDataBox\\Api\\tMessageVerifyOutput', + 'tDelivery' => 'Defr\\CzechDataBox\\Api\\tDelivery', + 'tDeliveryMessageOutput' => 'Defr\\CzechDataBox\\Api\\tDeliveryMessageOutput', + 'tSignDelivMessOutput' => 'Defr\\CzechDataBox\\Api\\tSignDelivMessOutput', + 'tRecord' => 'Defr\\CzechDataBox\\Api\\tRecord', + 'tRecordsArray' => 'Defr\\CzechDataBox\\Api\\tRecordsArray', + 'tListOfSentInput' => 'Defr\\CzechDataBox\\Api\\tListOfSentInput', + 'tListOfMessOutput' => 'Defr\\CzechDataBox\\Api\\tListOfMessOutput', + 'tListOfFReceivedInput' => 'Defr\\CzechDataBox\\Api\\tListOfFReceivedInput', + 'tIDMessInput' => 'Defr\\CzechDataBox\\Api\\tIDMessInput', + 'tMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessDownOutput', + 'tMessEnvelDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessEnvelDownOutput', + 'tSignedMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tSignedMessDownOutput', + 'tMarkMessOutput' => 'Defr\\CzechDataBox\\Api\\tMarkMessOutput', + 'tConfirmDeliveryOutput' => 'Defr\\CzechDataBox\\Api\\tConfirmDeliveryOutput', + 'tAuthenticateMessageInput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageInput', + 'tAuthenticateMessageOutput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageOutput', + 'tGetStateChangesInput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesInput', + 'tStateChangesRecord' => 'Defr\\CzechDataBox\\Api\\tStateChangesRecord', + 'tStateChangesArray' => 'Defr\\CzechDataBox\\Api\\tStateChangesArray', + 'tGetStateChangesOutput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesOutput', + 'tGetAuthorInput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorInput', + 'tGetAuthorOutput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorOutput', + 'tEraseMessageIntput' => 'Defr\\CzechDataBox\\Api\\tEraseMessageIntput', + 'tEraseMessageOutput' => 'Defr\\CzechDataBox\\Api\\tEraseMessageOutput', + 'tResignDocInput' => 'Defr\\CzechDataBox\\Api\\tResignDocInput', + 'tResignDocOutput' => 'Defr\\CzechDataBox\\Api\\tResignDocOutput', + ); /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use */ - public function __construct(array $options = array(), $wsdl = 'C:\www\CzechDataBox\Resources\dm_info.wsdl') + public function __construct(array $options = array(), $wsdl = null) { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; } - $options = array_merge(array( - 'features' => 1, -), $options); - parent::__construct($wsdl, $options); + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + if (!$wsdl) { + $wsdl = '/Users/dennis/sites/isas/vendor/dfridrich/czech-data-box/Resources/dm_info.wsdl'; + } + parent::__construct($wsdl, $options); } /** * @param tIDMessInput $parameter - * * @return tMessageVerifyOutput */ public function VerifyMessage(tIDMessInput $parameter) { - return $this->__soapCall('VerifyMessage', array($parameter)); + return $this->__soapCall('VerifyMessage', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tMessEnvelDownOutput */ public function MessageEnvelopeDownload(tIDMessInput $parameter) { - return $this->__soapCall('MessageEnvelopeDownload', array($parameter)); + return $this->__soapCall('MessageEnvelopeDownload', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tMarkMessOutput */ public function MarkMessageAsDownloaded(tIDMessInput $parameter) { - return $this->__soapCall('MarkMessageAsDownloaded', array($parameter)); + return $this->__soapCall('MarkMessageAsDownloaded', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tDeliveryMessageOutput */ public function GetDeliveryInfo(tIDMessInput $parameter) { - return $this->__soapCall('GetDeliveryInfo', array($parameter)); + return $this->__soapCall('GetDeliveryInfo', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tSignDelivMessOutput */ public function GetSignedDeliveryInfo(tIDMessInput $parameter) { - return $this->__soapCall('GetSignedDeliveryInfo', array($parameter)); + return $this->__soapCall('GetSignedDeliveryInfo', array($parameter)); } /** * @param tListOfSentInput $parameter - * * @return tListOfMessOutput */ public function GetListOfSentMessages(tListOfSentInput $parameter) { - return $this->__soapCall('GetListOfSentMessages', array($parameter)); + return $this->__soapCall('GetListOfSentMessages', array($parameter)); } /** * @param tListOfFReceivedInput $parameter - * * @return tListOfMessOutput */ public function GetListOfReceivedMessages(tListOfFReceivedInput $parameter) { - return $this->__soapCall('GetListOfReceivedMessages', array($parameter)); + return $this->__soapCall('GetListOfReceivedMessages', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tConfirmDeliveryOutput */ public function ConfirmDelivery(tIDMessInput $parameter) { - return $this->__soapCall('ConfirmDelivery', array($parameter)); + return $this->__soapCall('ConfirmDelivery', array($parameter)); } /** * @param tGetStateChangesInput $parameter - * * @return tGetStateChangesOutput */ public function GetMessageStateChanges(tGetStateChangesInput $parameter) { - return $this->__soapCall('GetMessageStateChanges', array($parameter)); + return $this->__soapCall('GetMessageStateChanges', array($parameter)); } /** * @param tGetAuthorInput $parameter - * * @return tGetAuthorOutput */ public function GetMessageAuthor(tGetAuthorInput $parameter) { - return $this->__soapCall('GetMessageAuthor', array($parameter)); + return $this->__soapCall('GetMessageAuthor', array($parameter)); } + + /** + * @param tEraseMessageIntput $parameter + * @return tEraseMessageOutput + */ + public function EraseMessage(tEraseMessageIntput $parameter) + { + return $this->__soapCall('EraseMessage', array($parameter)); + } + } diff --git a/src/Api/DmOperationsWebService.php b/src/Api/DmOperationsWebService.php index 84cab69..8476b7a 100644 --- a/src/Api/DmOperationsWebService.php +++ b/src/Api/DmOperationsWebService.php @@ -4,139 +4,143 @@ class DmOperationsWebService extends \SoapClient { + /** - * @var array The defined classes + * @var array $classmap The defined classes */ - private static $classmap = array( - 'tFile' => 'Defr\\CzechDataBox\\Api\\tFile', - 'dmXMLContent' => 'Defr\\CzechDataBox\\Api\\dmXMLContent', - 'tFilesArray' => 'Defr\\CzechDataBox\\Api\\tFilesArray', - 'dmFile' => 'Defr\\CzechDataBox\\Api\\dmFile', - 'tStatus' => 'Defr\\CzechDataBox\\Api\\tStatus', - 'tHash' => 'Defr\\CzechDataBox\\Api\\tHash', - 'tEvent' => 'Defr\\CzechDataBox\\Api\\tEvent', - 'tEventsArray' => 'Defr\\CzechDataBox\\Api\\tEventsArray', - 'tRecipients' => 'Defr\\CzechDataBox\\Api\\tRecipients', - 'tMultipleMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageEnvelopeSub', - 'tMultipleMessageRecipients' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageRecipients', - 'tMultipleMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateInput', - 'dmEnvelope' => 'Defr\\CzechDataBox\\Api\\dmEnvelope', - 'tMultipleStatus' => 'Defr\\CzechDataBox\\Api\\tMultipleStatus', - 'tMStatus' => 'Defr\\CzechDataBox\\Api\\tMStatus', - 'tMultipleMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateOutput', - 'tReturnedMessage' => 'Defr\\CzechDataBox\\Api\\tReturnedMessage', - 'dmDm' => 'Defr\\CzechDataBox\\Api\\dmDm', - 'tReturnedMessageEnvelope' => 'Defr\\CzechDataBox\\Api\\tReturnedMessageEnvelope', - 'tMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMessageEnvelopeSub', - 'tMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateInput', - 'tMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateOutput', - 'tMessageVerifyOutput' => 'Defr\\CzechDataBox\\Api\\tMessageVerifyOutput', - 'tDelivery' => 'Defr\\CzechDataBox\\Api\\tDelivery', - 'tDeliveryMessageOutput' => 'Defr\\CzechDataBox\\Api\\tDeliveryMessageOutput', - 'tSignDelivMessOutput' => 'Defr\\CzechDataBox\\Api\\tSignDelivMessOutput', - 'tRecord' => 'Defr\\CzechDataBox\\Api\\tRecord', - 'tRecordsArray' => 'Defr\\CzechDataBox\\Api\\tRecordsArray', - 'tListOfSentInput' => 'Defr\\CzechDataBox\\Api\\tListOfSentInput', - 'tListOfMessOutput' => 'Defr\\CzechDataBox\\Api\\tListOfMessOutput', - 'tListOfFReceivedInput' => 'Defr\\CzechDataBox\\Api\\tListOfFReceivedInput', - 'tIDMessInput' => 'Defr\\CzechDataBox\\Api\\tIDMessInput', - 'tMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessDownOutput', - 'tMessEnvelDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessEnvelDownOutput', - 'tSignedMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tSignedMessDownOutput', - 'tMarkMessOutput' => 'Defr\\CzechDataBox\\Api\\tMarkMessOutput', - 'tConfirmDeliveryOutput' => 'Defr\\CzechDataBox\\Api\\tConfirmDeliveryOutput', - 'tAuthenticateMessageInput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageInput', - 'tAuthenticateMessageOutput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageOutput', - 'tGetStateChangesInput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesInput', - 'tStateChangesRecord' => 'Defr\\CzechDataBox\\Api\\tStateChangesRecord', - 'tStateChangesArray' => 'Defr\\CzechDataBox\\Api\\tStateChangesArray', - 'tGetStateChangesOutput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesOutput', - 'tGetAuthorInput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorInput', - 'tGetAuthorOutput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorOutput', -); + private static $classmap = array ( + 'tFile' => 'Defr\\CzechDataBox\\Api\\tFile', + 'dmXMLContent' => 'Defr\\CzechDataBox\\Api\\dmXMLContent', + 'tFilesArray' => 'Defr\\CzechDataBox\\Api\\tFilesArray', + 'dmFile' => 'Defr\\CzechDataBox\\Api\\dmFile', + 'tStatus' => 'Defr\\CzechDataBox\\Api\\tStatus', + 'tHash' => 'Defr\\CzechDataBox\\Api\\tHash', + 'tEvent' => 'Defr\\CzechDataBox\\Api\\tEvent', + 'tEventsArray' => 'Defr\\CzechDataBox\\Api\\tEventsArray', + 'tRecipients' => 'Defr\\CzechDataBox\\Api\\tRecipients', + 'tMultipleMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageEnvelopeSub', + 'tMultipleMessageRecipients' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageRecipients', + 'tMultipleMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateInput', + 'dmEnvelope' => 'Defr\\CzechDataBox\\Api\\dmEnvelope', + 'tMultipleStatus' => 'Defr\\CzechDataBox\\Api\\tMultipleStatus', + 'tMStatus' => 'Defr\\CzechDataBox\\Api\\tMStatus', + 'tMultipleMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMultipleMessageCreateOutput', + 'tReturnedMessage' => 'Defr\\CzechDataBox\\Api\\tReturnedMessage', + 'dmDm' => 'Defr\\CzechDataBox\\Api\\dmDm', + 'tReturnedMessageEnvelope' => 'Defr\\CzechDataBox\\Api\\tReturnedMessageEnvelope', + 'tMessageEnvelopeSub' => 'Defr\\CzechDataBox\\Api\\tMessageEnvelopeSub', + 'tMessageCreateInput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateInput', + 'tMessageCreateOutput' => 'Defr\\CzechDataBox\\Api\\tMessageCreateOutput', + 'tMessageVerifyOutput' => 'Defr\\CzechDataBox\\Api\\tMessageVerifyOutput', + 'tDelivery' => 'Defr\\CzechDataBox\\Api\\tDelivery', + 'tDeliveryMessageOutput' => 'Defr\\CzechDataBox\\Api\\tDeliveryMessageOutput', + 'tSignDelivMessOutput' => 'Defr\\CzechDataBox\\Api\\tSignDelivMessOutput', + 'tRecord' => 'Defr\\CzechDataBox\\Api\\tRecord', + 'tRecordsArray' => 'Defr\\CzechDataBox\\Api\\tRecordsArray', + 'tListOfSentInput' => 'Defr\\CzechDataBox\\Api\\tListOfSentInput', + 'tListOfMessOutput' => 'Defr\\CzechDataBox\\Api\\tListOfMessOutput', + 'tListOfFReceivedInput' => 'Defr\\CzechDataBox\\Api\\tListOfFReceivedInput', + 'tIDMessInput' => 'Defr\\CzechDataBox\\Api\\tIDMessInput', + 'tMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessDownOutput', + 'tMessEnvelDownOutput' => 'Defr\\CzechDataBox\\Api\\tMessEnvelDownOutput', + 'tSignedMessDownOutput' => 'Defr\\CzechDataBox\\Api\\tSignedMessDownOutput', + 'tMarkMessOutput' => 'Defr\\CzechDataBox\\Api\\tMarkMessOutput', + 'tConfirmDeliveryOutput' => 'Defr\\CzechDataBox\\Api\\tConfirmDeliveryOutput', + 'tAuthenticateMessageInput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageInput', + 'tAuthenticateMessageOutput' => 'Defr\\CzechDataBox\\Api\\tAuthenticateMessageOutput', + 'tGetStateChangesInput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesInput', + 'tStateChangesRecord' => 'Defr\\CzechDataBox\\Api\\tStateChangesRecord', + 'tStateChangesArray' => 'Defr\\CzechDataBox\\Api\\tStateChangesArray', + 'tGetStateChangesOutput' => 'Defr\\CzechDataBox\\Api\\tGetStateChangesOutput', + 'tGetAuthorInput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorInput', + 'tGetAuthorOutput' => 'Defr\\CzechDataBox\\Api\\tGetAuthorOutput', + 'tEraseMessageIntput' => 'Defr\\CzechDataBox\\Api\\tEraseMessageIntput', + 'tEraseMessageOutput' => 'Defr\\CzechDataBox\\Api\\tEraseMessageOutput', + 'tResignDocInput' => 'Defr\\CzechDataBox\\Api\\tResignDocInput', + 'tResignDocOutput' => 'Defr\\CzechDataBox\\Api\\tResignDocOutput', + ); /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use */ - public function __construct(array $options = array(), $wsdl = 'C:\www\CzechDataBox\Resources\dm_operations.wsdl') + public function __construct(array $options = array(), $wsdl = null) { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; } - $options = array_merge(array( - 'features' => 1, -), $options); - parent::__construct($wsdl, $options); + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + if (!$wsdl) { + $wsdl = '/Users/dennis/sites/isas/vendor/dfridrich/czech-data-box/Resources/dm_operations.wsdl'; + } + parent::__construct($wsdl, $options); } /** * @param tMessageCreateInput $parameter - * * @return tMessageCreateOutput */ public function CreateMessage(tMessageCreateInput $parameter) { - return $this->__soapCall('CreateMessage', array($parameter)); + return $this->__soapCall('CreateMessage', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tMessDownOutput */ public function MessageDownload(tIDMessInput $parameter) { - return $this->__soapCall('MessageDownload', array($parameter)); + return $this->__soapCall('MessageDownload', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tSignedMessDownOutput */ public function SignedMessageDownload(tIDMessInput $parameter) { - return $this->__soapCall('SignedMessageDownload', array($parameter)); + return $this->__soapCall('SignedMessageDownload', array($parameter)); } /** * @param tIDMessInput $parameter - * * @return tSignedMessDownOutput */ public function SignedSentMessageDownload(tIDMessInput $parameter) { - return $this->__soapCall('SignedSentMessageDownload', array($parameter)); + return $this->__soapCall('SignedSentMessageDownload', array($parameter)); } /** * @param string $parameter + * @return void */ public function DummyOperation($parameter) { - return $this->__soapCall('DummyOperation', array($parameter)); + return $this->__soapCall('DummyOperation', array($parameter)); } /** * @param tMultipleMessageCreateInput $parameter - * * @return tMultipleMessageCreateOutput */ public function CreateMultipleMessage(tMultipleMessageCreateInput $parameter) { - return $this->__soapCall('CreateMultipleMessage', array($parameter)); + return $this->__soapCall('CreateMultipleMessage', array($parameter)); } /** * @param tAuthenticateMessageInput $parameter - * * @return tAuthenticateMessageOutput */ public function AuthenticateMessage(tAuthenticateMessageInput $parameter) { - return $this->__soapCall('AuthenticateMessage', array($parameter)); + return $this->__soapCall('AuthenticateMessage', array($parameter)); } + } diff --git a/src/Api/IsdsStat.php b/src/Api/IsdsStat.php index ee9e03c..a93ab03 100644 --- a/src/Api/IsdsStat.php +++ b/src/Api/IsdsStat.php @@ -4,39 +4,43 @@ class IsdsStat extends \SoapClient { + /** - * @var array The defined classes + * @var array $classmap The defined classes */ - private static $classmap = array( - 'tNumOfMessagesInput' => 'Defr\\CzechDataBox\\Api\\tNumOfMessagesInput', - 'tNumOfMessagesOutput' => 'Defr\\CzechDataBox\\Api\\tNumOfMessagesOutput', - 'tStatReqStatus' => 'Defr\\CzechDataBox\\Api\\tStatReqStatus', -); + private static $classmap = array ( + 'tNumOfMessagesInput' => 'Defr\\CzechDataBox\\Api\\tNumOfMessagesInput', + 'tNumOfMessagesOutput' => 'Defr\\CzechDataBox\\Api\\tNumOfMessagesOutput', + 'tStatReqStatus' => 'Defr\\CzechDataBox\\Api\\tStatReqStatus', + ); /** - * @param array $options A array of config values - * @param string $wsdl The wsdl file to use + * @param array $options A array of config values + * @param string $wsdl The wsdl file to use */ - public function __construct(array $options = array(), $wsdl = 'C:\www\CzechDataBox\Resources\isds_stat.wsdl') + public function __construct(array $options = array(), $wsdl = null) { - foreach (self::$classmap as $key => $value) { - if (!isset($options['classmap'][$key])) { - $options['classmap'][$key] = $value; - } + foreach (self::$classmap as $key => $value) { + if (!isset($options['classmap'][$key])) { + $options['classmap'][$key] = $value; } - $options = array_merge(array( - 'features' => 1, -), $options); - parent::__construct($wsdl, $options); + } + $options = array_merge(array ( + 'features' => 1, + ), $options); + if (!$wsdl) { + $wsdl = '/Users/dennis/sites/isas/vendor/dfridrich/czech-data-box/Resources/isds_stat.wsdl'; + } + parent::__construct($wsdl, $options); } /** * @param tNumOfMessagesInput $parameter - * * @return tNumOfMessagesOutput */ public function NumOfMessages(tNumOfMessagesInput $parameter) { - return $this->__soapCall('NumOfMessages', array($parameter)); + return $this->__soapCall('NumOfMessages', array($parameter)); } + } diff --git a/src/Api/autoload.php b/src/Api/autoload.php index 53c6ae1..e5a20ca 100644 --- a/src/Api/autoload.php +++ b/src/Api/autoload.php @@ -1,19 +1,18 @@ __DIR__.'/IsdsStat.php', - 'Defr\CzechDataBox\Api\tNumOfMessagesInput' => __DIR__.'/tNumOfMessagesInput.php', - 'Defr\CzechDataBox\Api\tNumOfMessagesOutput' => __DIR__.'/tNumOfMessagesOutput.php', - 'Defr\CzechDataBox\Api\tStatReqStatus' => __DIR__.'/tStatReqStatus.php', +{ + $classes = array( + 'Defr\CzechDataBox\Api\IsdsStat' => __DIR__ .'/IsdsStat.php', + 'Defr\CzechDataBox\Api\tNumOfMessagesInput' => __DIR__ .'/tNumOfMessagesInput.php', + 'Defr\CzechDataBox\Api\tNumOfMessagesOutput' => __DIR__ .'/tNumOfMessagesOutput.php', + 'Defr\CzechDataBox\Api\tStatReqStatus' => __DIR__ .'/tStatReqStatus.php' ); - if (!empty($classes[$class])) { - include $classes[$class]; - }; - } + if (!empty($classes[$class])) { + include $classes[$class]; + }; +} spl_autoload_register('autoload_04b45f9fa0ba0664e7523f24a0507ef3'); diff --git a/src/Api/dmDm.php b/src/Api/dmDm.php index b540ca9..476238f 100644 --- a/src/Api/dmDm.php +++ b/src/Api/dmDm.php @@ -4,192 +4,193 @@ class dmDm { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; /** - * @var tIdDb + * @var tIdDb $dbIDSender */ protected $dbIDSender = null; /** - * @var dmSender + * @var dmSender $dmSender */ protected $dmSender = null; /** - * @var dmSenderAddress + * @var dmSenderAddress $dmSenderAddress */ protected $dmSenderAddress = null; /** - * @var int + * @var int $dmSenderType */ protected $dmSenderType = null; /** - * @var dmRecipient + * @var dmRecipient $dmRecipient */ protected $dmRecipient = null; /** - * @var dmRecipientAddress + * @var dmRecipientAddress $dmRecipientAddress */ protected $dmRecipientAddress = null; /** - * @var bool + * @var boolean $dmAmbiguousRecipient */ protected $dmAmbiguousRecipient = null; /** - * @var string + * @var string $dmSenderOrgUnit */ protected $dmSenderOrgUnit = null; /** - * @var int + * @var int $dmSenderOrgUnitNum */ protected $dmSenderOrgUnitNum = null; /** - * @var tIdDb + * @var tIdDb $dbIDRecipient */ protected $dbIDRecipient = null; /** - * @var string + * @var string $dmRecipientOrgUnit */ protected $dmRecipientOrgUnit = null; /** - * @var int + * @var int $dmRecipientOrgUnitNum */ protected $dmRecipientOrgUnitNum = null; /** - * @var string + * @var string $dmToHands */ protected $dmToHands = null; /** - * @var dmAnnotation + * @var dmAnnotation $dmAnnotation */ protected $dmAnnotation = null; /** - * @var dmRecipientRefNumber + * @var dmRecipientRefNumber $dmRecipientRefNumber */ protected $dmRecipientRefNumber = null; /** - * @var dmSenderRefNumber + * @var dmSenderRefNumber $dmSenderRefNumber */ protected $dmSenderRefNumber = null; /** - * @var dmRecipientIdent + * @var dmRecipientIdent $dmRecipientIdent */ protected $dmRecipientIdent = null; /** - * @var dmSenderIdent + * @var dmSenderIdent $dmSenderIdent */ protected $dmSenderIdent = null; /** - * @var int + * @var int $dmLegalTitleLaw */ protected $dmLegalTitleLaw = null; /** - * @var int + * @var int $dmLegalTitleYear */ protected $dmLegalTitleYear = null; /** - * @var string + * @var string $dmLegalTitleSect */ protected $dmLegalTitleSect = null; /** - * @var string + * @var string $dmLegalTitlePar */ protected $dmLegalTitlePar = null; /** - * @var string + * @var string $dmLegalTitlePoint */ protected $dmLegalTitlePoint = null; /** - * @var bool + * @var boolean $dmPersonalDelivery */ protected $dmPersonalDelivery = null; /** - * @var bool + * @var boolean $dmAllowSubstDelivery */ protected $dmAllowSubstDelivery = null; /** - * @param tIdDm $dmID - * @param tIdDb $dbIDSender - * @param dmSender $dmSender - * @param dmSenderAddress $dmSenderAddress - * @param int $dmSenderType - * @param dmRecipient $dmRecipient - * @param dmRecipientAddress $dmRecipientAddress - * @param bool $dmAmbiguousRecipient - * @param string $dmSenderOrgUnit - * @param int $dmSenderOrgUnitNum - * @param tIdDb $dbIDRecipient - * @param string $dmRecipientOrgUnit - * @param int $dmRecipientOrgUnitNum - * @param string $dmToHands - * @param dmAnnotation $dmAnnotation + * @param tIdDm $dmID + * @param tIdDb $dbIDSender + * @param dmSender $dmSender + * @param dmSenderAddress $dmSenderAddress + * @param int $dmSenderType + * @param dmRecipient $dmRecipient + * @param dmRecipientAddress $dmRecipientAddress + * @param boolean $dmAmbiguousRecipient + * @param string $dmSenderOrgUnit + * @param int $dmSenderOrgUnitNum + * @param tIdDb $dbIDRecipient + * @param string $dmRecipientOrgUnit + * @param int $dmRecipientOrgUnitNum + * @param string $dmToHands + * @param dmAnnotation $dmAnnotation * @param dmRecipientRefNumber $dmRecipientRefNumber - * @param dmSenderRefNumber $dmSenderRefNumber - * @param dmRecipientIdent $dmRecipientIdent - * @param dmSenderIdent $dmSenderIdent - * @param int $dmLegalTitleLaw - * @param int $dmLegalTitleYear - * @param string $dmLegalTitleSect - * @param string $dmLegalTitlePar - * @param string $dmLegalTitlePoint - * @param bool $dmPersonalDelivery - * @param bool $dmAllowSubstDelivery + * @param dmSenderRefNumber $dmSenderRefNumber + * @param dmRecipientIdent $dmRecipientIdent + * @param dmSenderIdent $dmSenderIdent + * @param int $dmLegalTitleLaw + * @param int $dmLegalTitleYear + * @param string $dmLegalTitleSect + * @param string $dmLegalTitlePar + * @param string $dmLegalTitlePoint + * @param boolean $dmPersonalDelivery + * @param boolean $dmAllowSubstDelivery */ public function __construct($dmID = null, $dbIDSender = null, $dmSender = null, $dmSenderAddress = null, $dmSenderType = null, $dmRecipient = null, $dmRecipientAddress = null, $dmAmbiguousRecipient = null, $dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, $dbIDRecipient = null, $dmRecipientOrgUnit = null, $dmRecipientOrgUnitNum = null, $dmToHands = null, $dmAnnotation = null, $dmRecipientRefNumber = null, $dmSenderRefNumber = null, $dmRecipientIdent = null, $dmSenderIdent = null, $dmLegalTitleLaw = null, $dmLegalTitleYear = null, $dmLegalTitleSect = null, $dmLegalTitlePar = null, $dmLegalTitlePoint = null, $dmPersonalDelivery = null, $dmAllowSubstDelivery = null) { - $this->dmID = $dmID; - $this->dbIDSender = $dbIDSender; - $this->dmSender = $dmSender; - $this->dmSenderAddress = $dmSenderAddress; - $this->dmSenderType = $dmSenderType; - $this->dmRecipient = $dmRecipient; - $this->dmRecipientAddress = $dmRecipientAddress; - $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - $this->dbIDRecipient = $dbIDRecipient; - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - $this->dmToHands = $dmToHands; - $this->dmAnnotation = $dmAnnotation; - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - $this->dmSenderRefNumber = $dmSenderRefNumber; - $this->dmRecipientIdent = $dmRecipientIdent; - $this->dmSenderIdent = $dmSenderIdent; - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - $this->dmLegalTitleYear = $dmLegalTitleYear; - $this->dmLegalTitleSect = $dmLegalTitleSect; - $this->dmLegalTitlePar = $dmLegalTitlePar; - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - $this->dmPersonalDelivery = $dmPersonalDelivery; - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + $this->dmID = $dmID; + $this->dbIDSender = $dbIDSender; + $this->dmSender = $dmSender; + $this->dmSenderAddress = $dmSenderAddress; + $this->dmSenderType = $dmSenderType; + $this->dmRecipient = $dmRecipient; + $this->dmRecipientAddress = $dmRecipientAddress; + $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + $this->dbIDRecipient = $dbIDRecipient; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + $this->dmToHands = $dmToHands; + $this->dmAnnotation = $dmAnnotation; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + $this->dmSenderRefNumber = $dmSenderRefNumber; + $this->dmRecipientIdent = $dmRecipientIdent; + $this->dmSenderIdent = $dmSenderIdent; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + $this->dmLegalTitleYear = $dmLegalTitleYear; + $this->dmLegalTitleSect = $dmLegalTitleSect; + $this->dmLegalTitlePar = $dmLegalTitlePar; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + $this->dmPersonalDelivery = $dmPersonalDelivery; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; } /** @@ -197,19 +198,17 @@ public function __construct($dmID = null, $dbIDSender = null, $dmSender = null, */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } /** @@ -217,19 +216,17 @@ public function setDmID($dmID) */ public function getDbIDSender() { - return $this->dbIDSender; + return $this->dbIDSender; } /** * @param tIdDb $dbIDSender - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDbIDSender($dbIDSender) { - $this->dbIDSender = $dbIDSender; - - return $this; + $this->dbIDSender = $dbIDSender; + return $this; } /** @@ -237,19 +234,17 @@ public function setDbIDSender($dbIDSender) */ public function getDmSender() { - return $this->dmSender; + return $this->dmSender; } /** * @param dmSender $dmSender - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSender($dmSender) { - $this->dmSender = $dmSender; - - return $this; + $this->dmSender = $dmSender; + return $this; } /** @@ -257,19 +252,17 @@ public function setDmSender($dmSender) */ public function getDmSenderAddress() { - return $this->dmSenderAddress; + return $this->dmSenderAddress; } /** * @param dmSenderAddress $dmSenderAddress - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderAddress($dmSenderAddress) { - $this->dmSenderAddress = $dmSenderAddress; - - return $this; + $this->dmSenderAddress = $dmSenderAddress; + return $this; } /** @@ -277,19 +270,17 @@ public function setDmSenderAddress($dmSenderAddress) */ public function getDmSenderType() { - return $this->dmSenderType; + return $this->dmSenderType; } /** * @param int $dmSenderType - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderType($dmSenderType) { - $this->dmSenderType = $dmSenderType; - - return $this; + $this->dmSenderType = $dmSenderType; + return $this; } /** @@ -297,19 +288,17 @@ public function setDmSenderType($dmSenderType) */ public function getDmRecipient() { - return $this->dmRecipient; + return $this->dmRecipient; } /** * @param dmRecipient $dmRecipient - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipient($dmRecipient) { - $this->dmRecipient = $dmRecipient; - - return $this; + $this->dmRecipient = $dmRecipient; + return $this; } /** @@ -317,39 +306,35 @@ public function setDmRecipient($dmRecipient) */ public function getDmRecipientAddress() { - return $this->dmRecipientAddress; + return $this->dmRecipientAddress; } /** * @param dmRecipientAddress $dmRecipientAddress - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipientAddress($dmRecipientAddress) { - $this->dmRecipientAddress = $dmRecipientAddress; - - return $this; + $this->dmRecipientAddress = $dmRecipientAddress; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAmbiguousRecipient() { - return $this->dmAmbiguousRecipient; + return $this->dmAmbiguousRecipient; } /** - * @param bool $dmAmbiguousRecipient - * + * @param boolean $dmAmbiguousRecipient * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmAmbiguousRecipient($dmAmbiguousRecipient) { - $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; - - return $this; + $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; + return $this; } /** @@ -357,19 +342,17 @@ public function setDmAmbiguousRecipient($dmAmbiguousRecipient) */ public function getDmSenderOrgUnit() { - return $this->dmSenderOrgUnit; + return $this->dmSenderOrgUnit; } /** * @param string $dmSenderOrgUnit - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderOrgUnit($dmSenderOrgUnit) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - - return $this; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + return $this; } /** @@ -377,19 +360,17 @@ public function setDmSenderOrgUnit($dmSenderOrgUnit) */ public function getDmSenderOrgUnitNum() { - return $this->dmSenderOrgUnitNum; + return $this->dmSenderOrgUnitNum; } /** * @param int $dmSenderOrgUnitNum - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) { - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - - return $this; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + return $this; } /** @@ -397,19 +378,17 @@ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) */ public function getDbIDRecipient() { - return $this->dbIDRecipient; + return $this->dbIDRecipient; } /** * @param tIdDb $dbIDRecipient - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDbIDRecipient($dbIDRecipient) { - $this->dbIDRecipient = $dbIDRecipient; - - return $this; + $this->dbIDRecipient = $dbIDRecipient; + return $this; } /** @@ -417,19 +396,17 @@ public function setDbIDRecipient($dbIDRecipient) */ public function getDmRecipientOrgUnit() { - return $this->dmRecipientOrgUnit; + return $this->dmRecipientOrgUnit; } /** * @param string $dmRecipientOrgUnit - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) { - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - - return $this; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + return $this; } /** @@ -437,19 +414,17 @@ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) */ public function getDmRecipientOrgUnitNum() { - return $this->dmRecipientOrgUnitNum; + return $this->dmRecipientOrgUnitNum; } /** * @param int $dmRecipientOrgUnitNum - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) { - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - - return $this; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + return $this; } /** @@ -457,19 +432,17 @@ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) */ public function getDmToHands() { - return $this->dmToHands; + return $this->dmToHands; } /** * @param string $dmToHands - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmToHands($dmToHands) { - $this->dmToHands = $dmToHands; - - return $this; + $this->dmToHands = $dmToHands; + return $this; } /** @@ -477,19 +450,17 @@ public function setDmToHands($dmToHands) */ public function getDmAnnotation() { - return $this->dmAnnotation; + return $this->dmAnnotation; } /** * @param dmAnnotation $dmAnnotation - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmAnnotation($dmAnnotation) { - $this->dmAnnotation = $dmAnnotation; - - return $this; + $this->dmAnnotation = $dmAnnotation; + return $this; } /** @@ -497,19 +468,17 @@ public function setDmAnnotation($dmAnnotation) */ public function getDmRecipientRefNumber() { - return $this->dmRecipientRefNumber; + return $this->dmRecipientRefNumber; } /** * @param dmRecipientRefNumber $dmRecipientRefNumber - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipientRefNumber($dmRecipientRefNumber) { - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - - return $this; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + return $this; } /** @@ -517,19 +486,17 @@ public function setDmRecipientRefNumber($dmRecipientRefNumber) */ public function getDmSenderRefNumber() { - return $this->dmSenderRefNumber; + return $this->dmSenderRefNumber; } /** * @param dmSenderRefNumber $dmSenderRefNumber - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderRefNumber($dmSenderRefNumber) { - $this->dmSenderRefNumber = $dmSenderRefNumber; - - return $this; + $this->dmSenderRefNumber = $dmSenderRefNumber; + return $this; } /** @@ -537,19 +504,17 @@ public function setDmSenderRefNumber($dmSenderRefNumber) */ public function getDmRecipientIdent() { - return $this->dmRecipientIdent; + return $this->dmRecipientIdent; } /** * @param dmRecipientIdent $dmRecipientIdent - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmRecipientIdent($dmRecipientIdent) { - $this->dmRecipientIdent = $dmRecipientIdent; - - return $this; + $this->dmRecipientIdent = $dmRecipientIdent; + return $this; } /** @@ -557,19 +522,17 @@ public function setDmRecipientIdent($dmRecipientIdent) */ public function getDmSenderIdent() { - return $this->dmSenderIdent; + return $this->dmSenderIdent; } /** * @param dmSenderIdent $dmSenderIdent - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmSenderIdent($dmSenderIdent) { - $this->dmSenderIdent = $dmSenderIdent; - - return $this; + $this->dmSenderIdent = $dmSenderIdent; + return $this; } /** @@ -577,19 +540,17 @@ public function setDmSenderIdent($dmSenderIdent) */ public function getDmLegalTitleLaw() { - return $this->dmLegalTitleLaw; + return $this->dmLegalTitleLaw; } /** * @param int $dmLegalTitleLaw - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmLegalTitleLaw($dmLegalTitleLaw) { - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - - return $this; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + return $this; } /** @@ -597,19 +558,17 @@ public function setDmLegalTitleLaw($dmLegalTitleLaw) */ public function getDmLegalTitleYear() { - return $this->dmLegalTitleYear; + return $this->dmLegalTitleYear; } /** * @param int $dmLegalTitleYear - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmLegalTitleYear($dmLegalTitleYear) { - $this->dmLegalTitleYear = $dmLegalTitleYear; - - return $this; + $this->dmLegalTitleYear = $dmLegalTitleYear; + return $this; } /** @@ -617,19 +576,17 @@ public function setDmLegalTitleYear($dmLegalTitleYear) */ public function getDmLegalTitleSect() { - return $this->dmLegalTitleSect; + return $this->dmLegalTitleSect; } /** * @param string $dmLegalTitleSect - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmLegalTitleSect($dmLegalTitleSect) { - $this->dmLegalTitleSect = $dmLegalTitleSect; - - return $this; + $this->dmLegalTitleSect = $dmLegalTitleSect; + return $this; } /** @@ -637,19 +594,17 @@ public function setDmLegalTitleSect($dmLegalTitleSect) */ public function getDmLegalTitlePar() { - return $this->dmLegalTitlePar; + return $this->dmLegalTitlePar; } /** * @param string $dmLegalTitlePar - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmLegalTitlePar($dmLegalTitlePar) { - $this->dmLegalTitlePar = $dmLegalTitlePar; - - return $this; + $this->dmLegalTitlePar = $dmLegalTitlePar; + return $this; } /** @@ -657,58 +612,53 @@ public function setDmLegalTitlePar($dmLegalTitlePar) */ public function getDmLegalTitlePoint() { - return $this->dmLegalTitlePoint; + return $this->dmLegalTitlePoint; } /** * @param string $dmLegalTitlePoint - * * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmLegalTitlePoint($dmLegalTitlePoint) { - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - - return $this; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPersonalDelivery() { - return $this->dmPersonalDelivery; + return $this->dmPersonalDelivery; } /** - * @param bool $dmPersonalDelivery - * + * @param boolean $dmPersonalDelivery * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmPersonalDelivery($dmPersonalDelivery) { - $this->dmPersonalDelivery = $dmPersonalDelivery; - - return $this; + $this->dmPersonalDelivery = $dmPersonalDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAllowSubstDelivery() { - return $this->dmAllowSubstDelivery; + return $this->dmAllowSubstDelivery; } /** - * @param bool $dmAllowSubstDelivery - * + * @param boolean $dmAllowSubstDelivery * @return \Defr\CzechDataBox\Api\dmDm */ public function setDmAllowSubstDelivery($dmAllowSubstDelivery) { - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - - return $this; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + return $this; } + } diff --git a/src/Api/dmEnvelope.php b/src/Api/dmEnvelope.php index 0b0a90f..f3c5cd8 100644 --- a/src/Api/dmEnvelope.php +++ b/src/Api/dmEnvelope.php @@ -4,296 +4,11 @@ class dmEnvelope { - /** - * @var string - */ - protected $dbIDRecipient; - /** - * @var string - */ - protected $dmAnnotation; - - /** - * @var string - */ - protected $dmToHands; - - /** - * @var bool - */ - protected $dmPersonalDelivery; - - /** - * @var bool - */ - protected $dmAllowSubstDelivery; - - /** - * @var string - */ - protected $dmLegalTitleLaw; - - /** - * @var int - */ - protected $dmLegalTitleYear; - - /** - * @var int - */ - protected $dmLegalTitleSect; - - /** - * @var int - */ - protected $dmLegalTitlePar; - - /** - * @var string - */ - protected $dmLegalTitlePoint; - - /** - * @var bool - */ - protected $dmPublishOwnID; - - protected $dmType; - - /** - * dmEnvelope constructor. - * - * @param null $dbIDRecipient - * @param null $dmAnnotation - * @param null $dmToHands - * @param null $dmPersonalDelivery - * @param null $dmAllowSubstDelivery - * @param null $dmLegalTitleLaw - * @param null $dmLegalTitleYear - * @param null $dmLegalTitleSect - * @param null $dmLegalTitlePar - * @param null $dmLegalTitlePoint - * @param null $dmPublishOwnID - * @param null $dmType - */ - public function __construct( - $dbIDRecipient = null, - $dmAnnotation = null, - $dmToHands = null, - $dmPersonalDelivery = null, - $dmAllowSubstDelivery = null, - $dmLegalTitleLaw = null, - $dmLegalTitleYear = null, - $dmLegalTitleSect = null, - $dmLegalTitlePar = null, - $dmLegalTitlePoint = null, - $dmPublishOwnID = null, - $dmType = null ) - { - $this->dbIDRecipient = $dbIDRecipient; - $this->dmAnnotation = $dmAnnotation; - $this->dmToHands = $dmToHands; - $this->dmPersonalDelivery = $dmPersonalDelivery; - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - $this->dmLegalTitleYear = $dmLegalTitleYear; - $this->dmLegalTitleSect = $dmLegalTitleSect; - $this->dmLegalTitlePar = $dmLegalTitlePar; - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - $this->dmPublishOwnID = $dmPublishOwnID; - $this->dmType = $dmType; - } - - /** - * @return string - */ - public function getDbIDRecipient() - { - return $this->dbIDRecipient; - } - - /** - * @param string $dbIDRecipient - */ - public function setDbIDRecipient($dbIDRecipient) - { - $this->dbIDRecipient = $dbIDRecipient; - } - - /** - * @return string - */ - public function getDmAnnotation() - { - return $this->dmAnnotation; - } - - /** - * @param string $dmAnnotation - */ - public function setDmAnnotation($dmAnnotation) - { - $this->dmAnnotation = $dmAnnotation; - } - - /** - * @return string - */ - public function getDmToHands() - { - return $this->dmToHands; - } - - /** - * @param string $dmToHands - */ - public function setDmToHands($dmToHands) - { - $this->dmToHands = $dmToHands; - } - - /** - * @return boolean - */ - public function isDmPersonalDelivery() - { - return $this->dmPersonalDelivery; - } - - /** - * @param boolean $dmPersonalDelivery - */ - public function setDmPersonalDelivery($dmPersonalDelivery) - { - $this->dmPersonalDelivery = $dmPersonalDelivery; - } - - /** - * @return boolean - */ - public function isDmAllowSubstDelivery() - { - return $this->dmAllowSubstDelivery; - } - - /** - * @param boolean $dmAllowSubstDelivery - */ - public function setDmAllowSubstDelivery($dmAllowSubstDelivery) + + public function __construct() { - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + } - /** - * @return string - */ - public function getDmLegalTitleLaw() - { - return $this->dmLegalTitleLaw; - } - - /** - * @param string $dmLegalTitleLaw - */ - public function setDmLegalTitleLaw($dmLegalTitleLaw) - { - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - } - - /** - * @return int - */ - public function getDmLegalTitleYear() - { - return $this->dmLegalTitleYear; - } - - /** - * @param int $dmLegalTitleYear - */ - public function setDmLegalTitleYear($dmLegalTitleYear) - { - $this->dmLegalTitleYear = $dmLegalTitleYear; - } - - /** - * @return int - */ - public function getDmLegalTitleSect() - { - return $this->dmLegalTitleSect; - } - - /** - * @param int $dmLegalTitleSect - */ - public function setDmLegalTitleSect($dmLegalTitleSect) - { - $this->dmLegalTitleSect = $dmLegalTitleSect; - } - - /** - * @return int - */ - public function getDmLegalTitlePar() - { - return $this->dmLegalTitlePar; - } - - /** - * @param int $dmLegalTitlePar - */ - public function setDmLegalTitlePar($dmLegalTitlePar) - { - $this->dmLegalTitlePar = $dmLegalTitlePar; - } - - /** - * @return string - */ - public function getDmLegalTitlePoint() - { - return $this->dmLegalTitlePoint; - } - - /** - * @param string $dmLegalTitlePoint - */ - public function setDmLegalTitlePoint($dmLegalTitlePoint) - { - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - } - - /** - * @return boolean - */ - public function isDmPublishOwnID() - { - return $this->dmPublishOwnID; - } - - /** - * @param boolean $dmPublishOwnID - */ - public function setDmPublishOwnID($dmPublishOwnID) - { - $this->dmPublishOwnID = $dmPublishOwnID; - } - - /** - * @return mixed - */ - public function getDmType() - { - return $this->dmType; - } - - /** - * @param mixed $dmType - */ - public function setDmType($dmType) - { - $this->dmType = $dmType; - } } diff --git a/src/Api/dmFile.php b/src/Api/dmFile.php index f6b1b92..d0ce3b6 100644 --- a/src/Api/dmFile.php +++ b/src/Api/dmFile.php @@ -4,52 +4,53 @@ class dmFile { + /** - * @var string + * @var string $dmMimeType */ protected $dmMimeType = null; /** - * @var anonymous6 + * @var anonymous6 $dmFileMetaType */ protected $dmFileMetaType = null; /** - * @var string + * @var string $dmFileGuid */ protected $dmFileGuid = null; /** - * @var string + * @var string $dmUpFileGuid */ protected $dmUpFileGuid = null; /** - * @var string + * @var string $dmFileDescr */ protected $dmFileDescr = null; /** - * @var string + * @var string $dmFormat */ protected $dmFormat = null; /** - * @param string $dmMimeType + * @param string $dmMimeType * @param anonymous6 $dmFileMetaType - * @param string $dmFileGuid - * @param string $dmUpFileGuid - * @param string $dmFileDescr - * @param string $dmFormat + * @param string $dmFileGuid + * @param string $dmUpFileGuid + * @param string $dmFileDescr + * @param string $dmFormat */ public function __construct($dmMimeType = null, $dmFileMetaType = null, $dmFileGuid = null, $dmUpFileGuid = null, $dmFileDescr = null, $dmFormat = null) { - $this->dmMimeType = $dmMimeType; - $this->dmFileMetaType = $dmFileMetaType; - $this->dmFileGuid = $dmFileGuid; - $this->dmUpFileGuid = $dmUpFileGuid; - $this->dmFileDescr = $dmFileDescr; - $this->dmFormat = $dmFormat; + $this->dmMimeType = $dmMimeType; + $this->dmFileMetaType = $dmFileMetaType; + $this->dmFileGuid = $dmFileGuid; + $this->dmUpFileGuid = $dmUpFileGuid; + $this->dmFileDescr = $dmFileDescr; + $this->dmFormat = $dmFormat; } /** @@ -57,19 +58,17 @@ public function __construct($dmMimeType = null, $dmFileMetaType = null, $dmFileG */ public function getDmMimeType() { - return $this->dmMimeType; + return $this->dmMimeType; } /** * @param string $dmMimeType - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmMimeType($dmMimeType) { - $this->dmMimeType = $dmMimeType; - - return $this; + $this->dmMimeType = $dmMimeType; + return $this; } /** @@ -77,19 +76,17 @@ public function setDmMimeType($dmMimeType) */ public function getDmFileMetaType() { - return $this->dmFileMetaType; + return $this->dmFileMetaType; } /** * @param anonymous6 $dmFileMetaType - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmFileMetaType($dmFileMetaType) { - $this->dmFileMetaType = $dmFileMetaType; - - return $this; + $this->dmFileMetaType = $dmFileMetaType; + return $this; } /** @@ -97,19 +94,17 @@ public function setDmFileMetaType($dmFileMetaType) */ public function getDmFileGuid() { - return $this->dmFileGuid; + return $this->dmFileGuid; } /** * @param string $dmFileGuid - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmFileGuid($dmFileGuid) { - $this->dmFileGuid = $dmFileGuid; - - return $this; + $this->dmFileGuid = $dmFileGuid; + return $this; } /** @@ -117,19 +112,17 @@ public function setDmFileGuid($dmFileGuid) */ public function getDmUpFileGuid() { - return $this->dmUpFileGuid; + return $this->dmUpFileGuid; } /** * @param string $dmUpFileGuid - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmUpFileGuid($dmUpFileGuid) { - $this->dmUpFileGuid = $dmUpFileGuid; - - return $this; + $this->dmUpFileGuid = $dmUpFileGuid; + return $this; } /** @@ -137,19 +130,17 @@ public function setDmUpFileGuid($dmUpFileGuid) */ public function getDmFileDescr() { - return $this->dmFileDescr; + return $this->dmFileDescr; } /** * @param string $dmFileDescr - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmFileDescr($dmFileDescr) { - $this->dmFileDescr = $dmFileDescr; - - return $this; + $this->dmFileDescr = $dmFileDescr; + return $this; } /** @@ -157,18 +148,17 @@ public function setDmFileDescr($dmFileDescr) */ public function getDmFormat() { - return $this->dmFormat; + return $this->dmFormat; } /** * @param string $dmFormat - * * @return \Defr\CzechDataBox\Api\dmFile */ public function setDmFormat($dmFormat) { - $this->dmFormat = $dmFormat; - - return $this; + $this->dmFormat = $dmFormat; + return $this; } + } diff --git a/src/Api/dmXMLContent.php b/src/Api/dmXMLContent.php index d11875a..9c8b41b 100644 --- a/src/Api/dmXMLContent.php +++ b/src/Api/dmXMLContent.php @@ -4,8 +4,9 @@ class dmXMLContent { + /** - * @var string + * @var string $any */ protected $any = null; @@ -14,7 +15,7 @@ class dmXMLContent */ public function __construct($any = null) { - $this->any = $any; + $this->any = $any; } /** @@ -22,18 +23,17 @@ public function __construct($any = null) */ public function getAny() { - return $this->any; + return $this->any; } /** * @param string $any - * * @return \Defr\CzechDataBox\Api\dmXMLContent */ public function setAny($any) { - $this->any = $any; - - return $this; + $this->any = $any; + return $this; } + } diff --git a/src/Api/tActivateInput.php b/src/Api/tActivateInput.php index 51933ac..f56152b 100644 --- a/src/Api/tActivateInput.php +++ b/src/Api/tActivateInput.php @@ -4,24 +4,25 @@ class tActivateInput { + /** - * @var tDbAccessDataId + * @var tDbAccessDataId $dbAccessDataId */ protected $dbAccessDataId = null; /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** * @param tDbAccessDataId $dbAccessDataId - * @param tIdDb $dbID + * @param tIdDb $dbID */ public function __construct($dbAccessDataId = null, $dbID = null) { - $this->dbAccessDataId = $dbAccessDataId; - $this->dbID = $dbID; + $this->dbAccessDataId = $dbAccessDataId; + $this->dbID = $dbID; } /** @@ -29,19 +30,17 @@ public function __construct($dbAccessDataId = null, $dbID = null) */ public function getDbAccessDataId() { - return $this->dbAccessDataId; + return $this->dbAccessDataId; } /** * @param tDbAccessDataId $dbAccessDataId - * * @return \Defr\CzechDataBox\Api\tActivateInput */ public function setDbAccessDataId($dbAccessDataId) { - $this->dbAccessDataId = $dbAccessDataId; - - return $this; + $this->dbAccessDataId = $dbAccessDataId; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbAccessDataId($dbAccessDataId) */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tActivateInput */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } + } diff --git a/src/Api/tActivateOutput.php b/src/Api/tActivateOutput.php index 1d45341..fcebbb5 100644 --- a/src/Api/tActivateOutput.php +++ b/src/Api/tActivateOutput.php @@ -4,31 +4,32 @@ class tActivateOutput { + /** - * @var tUserID + * @var tUserID $userId */ protected $userId = null; /** - * @var string + * @var string $password */ protected $password = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tUserID $userId - * @param string $password + * @param tUserID $userId + * @param string $password * @param tDbReqStatus $dbStatus */ public function __construct($userId = null, $password = null, $dbStatus = null) { - $this->userId = $userId; - $this->password = $password; - $this->dbStatus = $dbStatus; + $this->userId = $userId; + $this->password = $password; + $this->dbStatus = $dbStatus; } /** @@ -36,19 +37,17 @@ public function __construct($userId = null, $password = null, $dbStatus = null) */ public function getUserId() { - return $this->userId; + return $this->userId; } /** * @param tUserID $userId - * * @return \Defr\CzechDataBox\Api\tActivateOutput */ public function setUserId($userId) { - $this->userId = $userId; - - return $this; + $this->userId = $userId; + return $this; } /** @@ -56,19 +55,17 @@ public function setUserId($userId) */ public function getPassword() { - return $this->password; + return $this->password; } /** * @param string $password - * * @return \Defr\CzechDataBox\Api\tActivateOutput */ public function setPassword($password) { - $this->password = $password; - - return $this; + $this->password = $password; + return $this; } /** @@ -76,18 +73,17 @@ public function setPassword($password) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tActivateOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tAddDBUserInput.php b/src/Api/tAddDBUserInput.php index 72a8b55..35a5620 100644 --- a/src/Api/tAddDBUserInput.php +++ b/src/Api/tAddDBUserInput.php @@ -4,52 +4,53 @@ class tAddDBUserInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUserInfo + * @var tDbUserInfo $dbUserInfo */ protected $dbUserInfo = null; /** - * @var bool + * @var boolean $dbVirtual */ protected $dbVirtual = null; /** - * @var string + * @var string $email */ protected $email = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param tDbUserInfo $dbUserInfo - * @param bool $dbVirtual - * @param string $email - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param tDbUserInfo $dbUserInfo + * @param boolean $dbVirtual + * @param string $email + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbVirtual = null, $email = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbUserInfo = $dbUserInfo; - $this->dbVirtual = $dbVirtual; - $this->email = $email; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbUserInfo = $dbUserInfo; + $this->dbVirtual = $dbVirtual; + $this->email = $email; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -57,19 +58,17 @@ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbVirtual */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -77,39 +76,35 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbUserInfo() { - return $this->dbUserInfo; + return $this->dbUserInfo; } /** * @param tDbUserInfo $dbUserInfo - * * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setDbUserInfo($dbUserInfo) { - $this->dbUserInfo = $dbUserInfo; - - return $this; + $this->dbUserInfo = $dbUserInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbVirtual() { - return $this->dbVirtual; + return $this->dbVirtual; } /** - * @param bool $dbVirtual - * + * @param boolean $dbVirtual * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setDbVirtual($dbVirtual) { - $this->dbVirtual = $dbVirtual; - - return $this; + $this->dbVirtual = $dbVirtual; + return $this; } /** @@ -117,39 +112,35 @@ public function setDbVirtual($dbVirtual) */ public function getEmail() { - return $this->email; + return $this->email; } /** * @param string $email - * * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setEmail($email) { - $this->email = $email; - - return $this; + $this->email = $email; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -157,18 +148,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tAddDBUserInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tAddDBUserOutput.php b/src/Api/tAddDBUserOutput.php index f93dfa1..67a1d0e 100644 --- a/src/Api/tAddDBUserOutput.php +++ b/src/Api/tAddDBUserOutput.php @@ -4,31 +4,32 @@ class tAddDBUserOutput { + /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** - * @var tDbAccessDataId + * @var tDbAccessDataId $dbAccessDataId */ protected $dbAccessDataId = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tIdDb $dbID + * @param tIdDb $dbID * @param tDbAccessDataId $dbAccessDataId - * @param tDbReqStatus $dbStatus + * @param tDbReqStatus $dbStatus */ public function __construct($dbID = null, $dbAccessDataId = null, $dbStatus = null) { - $this->dbID = $dbID; - $this->dbAccessDataId = $dbAccessDataId; - $this->dbStatus = $dbStatus; + $this->dbID = $dbID; + $this->dbAccessDataId = $dbAccessDataId; + $this->dbStatus = $dbStatus; } /** @@ -36,19 +37,17 @@ public function __construct($dbID = null, $dbAccessDataId = null, $dbStatus = nu */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tAddDBUserOutput */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } /** @@ -56,19 +55,17 @@ public function setDbID($dbID) */ public function getDbAccessDataId() { - return $this->dbAccessDataId; + return $this->dbAccessDataId; } /** * @param tDbAccessDataId $dbAccessDataId - * * @return \Defr\CzechDataBox\Api\tAddDBUserOutput */ public function setDbAccessDataId($dbAccessDataId) { - $this->dbAccessDataId = $dbAccessDataId; - - return $this; + $this->dbAccessDataId = $dbAccessDataId; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbAccessDataId($dbAccessDataId) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tAddDBUserOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tAuthenticateMessageInput.php b/src/Api/tAuthenticateMessageInput.php index dc42938..56fab0f 100644 --- a/src/Api/tAuthenticateMessageInput.php +++ b/src/Api/tAuthenticateMessageInput.php @@ -4,8 +4,9 @@ class tAuthenticateMessageInput { + /** - * @var base64Binary + * @var base64Binary $dmMessage */ protected $dmMessage = null; @@ -14,7 +15,7 @@ class tAuthenticateMessageInput */ public function __construct($dmMessage = null) { - $this->dmMessage = $dmMessage; + $this->dmMessage = $dmMessage; } /** @@ -22,18 +23,17 @@ public function __construct($dmMessage = null) */ public function getDmMessage() { - return $this->dmMessage; + return $this->dmMessage; } /** * @param base64Binary $dmMessage - * * @return \Defr\CzechDataBox\Api\tAuthenticateMessageInput */ public function setDmMessage($dmMessage) { - $this->dmMessage = $dmMessage; - - return $this; + $this->dmMessage = $dmMessage; + return $this; } + } diff --git a/src/Api/tAuthenticateMessageOutput.php b/src/Api/tAuthenticateMessageOutput.php index cda8d0b..1439340 100644 --- a/src/Api/tAuthenticateMessageOutput.php +++ b/src/Api/tAuthenticateMessageOutput.php @@ -4,44 +4,43 @@ class tAuthenticateMessageOutput { + /** - * @var bool + * @var boolean $dmAuthResult */ protected $dmAuthResult = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** - * @param bool $dmAuthResult + * @param boolean $dmAuthResult * @param tStatus $dmStatus */ public function __construct($dmAuthResult = null, $dmStatus = null) { - $this->dmAuthResult = $dmAuthResult; - $this->dmStatus = $dmStatus; + $this->dmAuthResult = $dmAuthResult; + $this->dmStatus = $dmStatus; } /** - * @return bool + * @return boolean */ public function getDmAuthResult() { - return $this->dmAuthResult; + return $this->dmAuthResult; } /** - * @param bool $dmAuthResult - * + * @param boolean $dmAuthResult * @return \Defr\CzechDataBox\Api\tAuthenticateMessageOutput */ public function setDmAuthResult($dmAuthResult) { - $this->dmAuthResult = $dmAuthResult; - - return $this; + $this->dmAuthResult = $dmAuthResult; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmAuthResult($dmAuthResult) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tAuthenticateMessageOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tCheckDBOutput.php b/src/Api/tCheckDBOutput.php index f801f3f..dbbcb0b 100644 --- a/src/Api/tCheckDBOutput.php +++ b/src/Api/tCheckDBOutput.php @@ -4,24 +4,25 @@ class tCheckDBOutput { + /** - * @var int + * @var int $dbState */ protected $dbState = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param int $dbState + * @param int $dbState * @param tDbReqStatus $dbStatus */ public function __construct($dbState = null, $dbStatus = null) { - $this->dbState = $dbState; - $this->dbStatus = $dbStatus; + $this->dbState = $dbState; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbState = null, $dbStatus = null) */ public function getDbState() { - return $this->dbState; + return $this->dbState; } /** * @param int $dbState - * * @return \Defr\CzechDataBox\Api\tCheckDBOutput */ public function setDbState($dbState) { - $this->dbState = $dbState; - - return $this; + $this->dbState = $dbState; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbState($dbState) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tCheckDBOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tChngPasswInput.php b/src/Api/tChngPasswInput.php index 6e257b3..da7bd23 100644 --- a/src/Api/tChngPasswInput.php +++ b/src/Api/tChngPasswInput.php @@ -4,13 +4,14 @@ class tChngPasswInput { + /** - * @var string + * @var string $dbOldPassword */ protected $dbOldPassword = null; /** - * @var string + * @var string $dbNewPassword */ protected $dbNewPassword = null; @@ -20,8 +21,8 @@ class tChngPasswInput */ public function __construct($dbOldPassword = null, $dbNewPassword = null) { - $this->dbOldPassword = $dbOldPassword; - $this->dbNewPassword = $dbNewPassword; + $this->dbOldPassword = $dbOldPassword; + $this->dbNewPassword = $dbNewPassword; } /** @@ -29,19 +30,17 @@ public function __construct($dbOldPassword = null, $dbNewPassword = null) */ public function getDbOldPassword() { - return $this->dbOldPassword; + return $this->dbOldPassword; } /** * @param string $dbOldPassword - * * @return \Defr\CzechDataBox\Api\tChngPasswInput */ public function setDbOldPassword($dbOldPassword) { - $this->dbOldPassword = $dbOldPassword; - - return $this; + $this->dbOldPassword = $dbOldPassword; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbOldPassword($dbOldPassword) */ public function getDbNewPassword() { - return $this->dbNewPassword; + return $this->dbNewPassword; } /** * @param string $dbNewPassword - * * @return \Defr\CzechDataBox\Api\tChngPasswInput */ public function setDbNewPassword($dbNewPassword) { - $this->dbNewPassword = $dbNewPassword; - - return $this; + $this->dbNewPassword = $dbNewPassword; + return $this; } + } diff --git a/src/Api/tConfirmDeliveryOutput.php b/src/Api/tConfirmDeliveryOutput.php index 8203a42..a70d638 100644 --- a/src/Api/tConfirmDeliveryOutput.php +++ b/src/Api/tConfirmDeliveryOutput.php @@ -4,8 +4,9 @@ class tConfirmDeliveryOutput { + /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; @@ -14,7 +15,7 @@ class tConfirmDeliveryOutput */ public function __construct($dmStatus = null) { - $this->dmStatus = $dmStatus; + $this->dmStatus = $dmStatus; } /** @@ -22,18 +23,17 @@ public function __construct($dmStatus = null) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tConfirmDeliveryOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tCreateDBInput.php b/src/Api/tCreateDBInput.php index 92c5c76..995cc8b 100644 --- a/src/Api/tCreateDBInput.php +++ b/src/Api/tCreateDBInput.php @@ -4,73 +4,74 @@ class tCreateDBInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUsersArray + * @var tDbUsersArray $dbPrimaryUsers */ protected $dbPrimaryUsers = null; /** - * @var string + * @var string $dbFormerNames */ protected $dbFormerNames = null; /** - * @var tIdDb + * @var tIdDb $dbUpperDBId */ protected $dbUpperDBId = null; /** - * @var string + * @var string $dbCEOLabel */ protected $dbCEOLabel = null; /** - * @var bool + * @var boolean $dbVirtual */ protected $dbVirtual = null; /** - * @var string + * @var string $email */ protected $email = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** - * @param tDbOwnerInfo $dbOwnerInfo + * @param tDbOwnerInfo $dbOwnerInfo * @param tDbUsersArray $dbPrimaryUsers - * @param string $dbFormerNames - * @param tIdDb $dbUpperDBId - * @param string $dbCEOLabel - * @param bool $dbVirtual - * @param string $email - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param string $dbFormerNames + * @param tIdDb $dbUpperDBId + * @param string $dbCEOLabel + * @param boolean $dbVirtual + * @param string $email + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbPrimaryUsers = null, $dbFormerNames = null, $dbUpperDBId = null, $dbCEOLabel = null, $dbVirtual = null, $email = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbPrimaryUsers = $dbPrimaryUsers; - $this->dbFormerNames = $dbFormerNames; - $this->dbUpperDBId = $dbUpperDBId; - $this->dbCEOLabel = $dbCEOLabel; - $this->dbVirtual = $dbVirtual; - $this->email = $email; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbPrimaryUsers = $dbPrimaryUsers; + $this->dbFormerNames = $dbFormerNames; + $this->dbUpperDBId = $dbUpperDBId; + $this->dbCEOLabel = $dbCEOLabel; + $this->dbVirtual = $dbVirtual; + $this->email = $email; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -78,19 +79,17 @@ public function __construct($dbOwnerInfo = null, $dbPrimaryUsers = null, $dbForm */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -98,19 +97,17 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbPrimaryUsers() { - return $this->dbPrimaryUsers; + return $this->dbPrimaryUsers; } /** * @param tDbUsersArray $dbPrimaryUsers - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbPrimaryUsers($dbPrimaryUsers) { - $this->dbPrimaryUsers = $dbPrimaryUsers; - - return $this; + $this->dbPrimaryUsers = $dbPrimaryUsers; + return $this; } /** @@ -118,19 +115,17 @@ public function setDbPrimaryUsers($dbPrimaryUsers) */ public function getDbFormerNames() { - return $this->dbFormerNames; + return $this->dbFormerNames; } /** * @param string $dbFormerNames - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbFormerNames($dbFormerNames) { - $this->dbFormerNames = $dbFormerNames; - - return $this; + $this->dbFormerNames = $dbFormerNames; + return $this; } /** @@ -138,19 +133,17 @@ public function setDbFormerNames($dbFormerNames) */ public function getDbUpperDBId() { - return $this->dbUpperDBId; + return $this->dbUpperDBId; } /** * @param tIdDb $dbUpperDBId - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbUpperDBId($dbUpperDBId) { - $this->dbUpperDBId = $dbUpperDBId; - - return $this; + $this->dbUpperDBId = $dbUpperDBId; + return $this; } /** @@ -158,39 +151,35 @@ public function setDbUpperDBId($dbUpperDBId) */ public function getDbCEOLabel() { - return $this->dbCEOLabel; + return $this->dbCEOLabel; } /** * @param string $dbCEOLabel - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbCEOLabel($dbCEOLabel) { - $this->dbCEOLabel = $dbCEOLabel; - - return $this; + $this->dbCEOLabel = $dbCEOLabel; + return $this; } /** - * @return bool + * @return boolean */ public function getDbVirtual() { - return $this->dbVirtual; + return $this->dbVirtual; } /** - * @param bool $dbVirtual - * + * @param boolean $dbVirtual * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbVirtual($dbVirtual) { - $this->dbVirtual = $dbVirtual; - - return $this; + $this->dbVirtual = $dbVirtual; + return $this; } /** @@ -198,39 +187,35 @@ public function setDbVirtual($dbVirtual) */ public function getEmail() { - return $this->email; + return $this->email; } /** * @param string $email - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setEmail($email) { - $this->email = $email; - - return $this; + $this->email = $email; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -238,18 +223,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tCreateDBInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tCreateDBOutput.php b/src/Api/tCreateDBOutput.php index df0cc5b..5a83035 100644 --- a/src/Api/tCreateDBOutput.php +++ b/src/Api/tCreateDBOutput.php @@ -4,38 +4,39 @@ class tCreateDBOutput { + /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** - * @var tUserID + * @var tUserID $dbUserID */ protected $dbUserID = null; /** - * @var tDbAccessDataId + * @var tDbAccessDataId $dbAccessDataId */ protected $dbAccessDataId = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tIdDb $dbID - * @param tUserID $dbUserID + * @param tIdDb $dbID + * @param tUserID $dbUserID * @param tDbAccessDataId $dbAccessDataId - * @param tDbReqStatus $dbStatus + * @param tDbReqStatus $dbStatus */ public function __construct($dbID = null, $dbUserID = null, $dbAccessDataId = null, $dbStatus = null) { - $this->dbID = $dbID; - $this->dbUserID = $dbUserID; - $this->dbAccessDataId = $dbAccessDataId; - $this->dbStatus = $dbStatus; + $this->dbID = $dbID; + $this->dbUserID = $dbUserID; + $this->dbAccessDataId = $dbAccessDataId; + $this->dbStatus = $dbStatus; } /** @@ -43,19 +44,17 @@ public function __construct($dbID = null, $dbUserID = null, $dbAccessDataId = nu */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tCreateDBOutput */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } /** @@ -63,19 +62,17 @@ public function setDbID($dbID) */ public function getDbUserID() { - return $this->dbUserID; + return $this->dbUserID; } /** * @param tUserID $dbUserID - * * @return \Defr\CzechDataBox\Api\tCreateDBOutput */ public function setDbUserID($dbUserID) { - $this->dbUserID = $dbUserID; - - return $this; + $this->dbUserID = $dbUserID; + return $this; } /** @@ -83,19 +80,17 @@ public function setDbUserID($dbUserID) */ public function getDbAccessDataId() { - return $this->dbAccessDataId; + return $this->dbAccessDataId; } /** * @param tDbAccessDataId $dbAccessDataId - * * @return \Defr\CzechDataBox\Api\tCreateDBOutput */ public function setDbAccessDataId($dbAccessDataId) { - $this->dbAccessDataId = $dbAccessDataId; - - return $this; + $this->dbAccessDataId = $dbAccessDataId; + return $this; } /** @@ -103,18 +98,17 @@ public function setDbAccessDataId($dbAccessDataId) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tCreateDBOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tCreateDBPFOInfoInput.php b/src/Api/tCreateDBPFOInfoInput.php index a2f6c71..3346f2a 100644 --- a/src/Api/tCreateDBPFOInfoInput.php +++ b/src/Api/tCreateDBPFOInfoInput.php @@ -4,59 +4,60 @@ class tCreateDBPFOInfoInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUsersArray + * @var tDbUsersArray $dbPrimaryUsers */ protected $dbPrimaryUsers = null; /** - * @var string + * @var string $dbFormerNames */ protected $dbFormerNames = null; /** - * @var tIdDb + * @var tIdDb $dbUpperDBId */ protected $dbUpperDBId = null; /** - * @var string + * @var string $dbCEOLabel */ protected $dbCEOLabel = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** - * @param tDbOwnerInfo $dbOwnerInfo + * @param tDbOwnerInfo $dbOwnerInfo * @param tDbUsersArray $dbPrimaryUsers - * @param string $dbFormerNames - * @param tIdDb $dbUpperDBId - * @param string $dbCEOLabel - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param string $dbFormerNames + * @param tIdDb $dbUpperDBId + * @param string $dbCEOLabel + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbPrimaryUsers = null, $dbFormerNames = null, $dbUpperDBId = null, $dbCEOLabel = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbPrimaryUsers = $dbPrimaryUsers; - $this->dbFormerNames = $dbFormerNames; - $this->dbUpperDBId = $dbUpperDBId; - $this->dbCEOLabel = $dbCEOLabel; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbPrimaryUsers = $dbPrimaryUsers; + $this->dbFormerNames = $dbFormerNames; + $this->dbUpperDBId = $dbUpperDBId; + $this->dbCEOLabel = $dbCEOLabel; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -64,19 +65,17 @@ public function __construct($dbOwnerInfo = null, $dbPrimaryUsers = null, $dbForm */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -84,19 +83,17 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbPrimaryUsers() { - return $this->dbPrimaryUsers; + return $this->dbPrimaryUsers; } /** * @param tDbUsersArray $dbPrimaryUsers - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbPrimaryUsers($dbPrimaryUsers) { - $this->dbPrimaryUsers = $dbPrimaryUsers; - - return $this; + $this->dbPrimaryUsers = $dbPrimaryUsers; + return $this; } /** @@ -104,19 +101,17 @@ public function setDbPrimaryUsers($dbPrimaryUsers) */ public function getDbFormerNames() { - return $this->dbFormerNames; + return $this->dbFormerNames; } /** * @param string $dbFormerNames - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbFormerNames($dbFormerNames) { - $this->dbFormerNames = $dbFormerNames; - - return $this; + $this->dbFormerNames = $dbFormerNames; + return $this; } /** @@ -124,19 +119,17 @@ public function setDbFormerNames($dbFormerNames) */ public function getDbUpperDBId() { - return $this->dbUpperDBId; + return $this->dbUpperDBId; } /** * @param tIdDb $dbUpperDBId - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbUpperDBId($dbUpperDBId) { - $this->dbUpperDBId = $dbUpperDBId; - - return $this; + $this->dbUpperDBId = $dbUpperDBId; + return $this; } /** @@ -144,39 +137,35 @@ public function setDbUpperDBId($dbUpperDBId) */ public function getDbCEOLabel() { - return $this->dbCEOLabel; + return $this->dbCEOLabel; } /** * @param string $dbCEOLabel - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbCEOLabel($dbCEOLabel) { - $this->dbCEOLabel = $dbCEOLabel; - - return $this; + $this->dbCEOLabel = $dbCEOLabel; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -184,18 +173,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tCreateDBPFOInfoOutput.php b/src/Api/tCreateDBPFOInfoOutput.php index 322d64b..c4ced16 100644 --- a/src/Api/tCreateDBPFOInfoOutput.php +++ b/src/Api/tCreateDBPFOInfoOutput.php @@ -4,24 +4,25 @@ class tCreateDBPFOInfoOutput { + /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tIdDb $dbID + * @param tIdDb $dbID * @param tDbReqStatus $dbStatus */ public function __construct($dbID = null, $dbStatus = null) { - $this->dbID = $dbID; - $this->dbStatus = $dbStatus; + $this->dbID = $dbID; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbID = null, $dbStatus = null) */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoOutput */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbID($dbID) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tCreateDBPFOInfoOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tDbOwnerInfo.php b/src/Api/tDbOwnerInfo.php index d0e3377..65fa518 100644 --- a/src/Api/tDbOwnerInfo.php +++ b/src/Api/tDbOwnerInfo.php @@ -4,192 +4,193 @@ class tDbOwnerInfo { + /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** - * @var tDbType + * @var tDbType $dbType */ protected $dbType = null; /** - * @var tIdentificationNumber + * @var tIdentificationNumber $ic */ protected $ic = null; /** - * @var string + * @var string $pnFirstName */ protected $pnFirstName = null; /** - * @var string + * @var string $pnMiddleName */ protected $pnMiddleName = null; /** - * @var string + * @var string $pnLastName */ protected $pnLastName = null; /** - * @var string + * @var string $pnLastNameAtBirth */ protected $pnLastNameAtBirth = null; /** - * @var string + * @var string $firmName */ protected $firmName = null; /** - * @var date + * @var date $biDate */ protected $biDate = null; /** - * @var string + * @var string $biCity */ protected $biCity = null; /** - * @var string + * @var string $biCounty */ protected $biCounty = null; /** - * @var string + * @var string $biState */ protected $biState = null; /** - * @var string + * @var string $adCity */ protected $adCity = null; /** - * @var string + * @var string $adStreet */ protected $adStreet = null; /** - * @var string + * @var string $adNumberInStreet */ protected $adNumberInStreet = null; /** - * @var string + * @var string $adNumberInMunicipality */ protected $adNumberInMunicipality = null; /** - * @var string + * @var string $adZipCode */ protected $adZipCode = null; /** - * @var string + * @var string $adState */ protected $adState = null; /** - * @var string + * @var string $nationality */ protected $nationality = null; /** - * @var string + * @var string $email */ protected $email = null; /** - * @var string + * @var string $telNumber */ protected $telNumber = null; /** - * @var identifier + * @var identifier $identifier */ protected $identifier = null; /** - * @var registryCode + * @var registryCode $registryCode */ protected $registryCode = null; /** - * @var int + * @var int $dbState */ protected $dbState = null; /** - * @var bool + * @var boolean $dbEffectiveOVM */ protected $dbEffectiveOVM = null; /** - * @var bool + * @var boolean $dbOpenAddressing */ protected $dbOpenAddressing = null; /** - * @param tIdDb $dbID - * @param tDbType $dbType + * @param tIdDb $dbID + * @param tDbType $dbType * @param tIdentificationNumber $ic - * @param string $pnFirstName - * @param string $pnMiddleName - * @param string $pnLastName - * @param string $pnLastNameAtBirth - * @param string $firmName - * @param date $biDate - * @param string $biCity - * @param string $biCounty - * @param string $biState - * @param string $adCity - * @param string $adStreet - * @param string $adNumberInStreet - * @param string $adNumberInMunicipality - * @param string $adZipCode - * @param string $adState - * @param string $nationality - * @param string $email - * @param string $telNumber - * @param identifier $identifier - * @param registryCode $registryCode - * @param int $dbState - * @param bool $dbEffectiveOVM - * @param bool $dbOpenAddressing + * @param string $pnFirstName + * @param string $pnMiddleName + * @param string $pnLastName + * @param string $pnLastNameAtBirth + * @param string $firmName + * @param date $biDate + * @param string $biCity + * @param string $biCounty + * @param string $biState + * @param string $adCity + * @param string $adStreet + * @param string $adNumberInStreet + * @param string $adNumberInMunicipality + * @param string $adZipCode + * @param string $adState + * @param string $nationality + * @param string $email + * @param string $telNumber + * @param identifier $identifier + * @param registryCode $registryCode + * @param int $dbState + * @param boolean $dbEffectiveOVM + * @param boolean $dbOpenAddressing */ public function __construct($dbID = null, $dbType = null, $ic = null, $pnFirstName = null, $pnMiddleName = null, $pnLastName = null, $pnLastNameAtBirth = null, $firmName = null, $biDate = null, $biCity = null, $biCounty = null, $biState = null, $adCity = null, $adStreet = null, $adNumberInStreet = null, $adNumberInMunicipality = null, $adZipCode = null, $adState = null, $nationality = null, $email = null, $telNumber = null, $identifier = null, $registryCode = null, $dbState = null, $dbEffectiveOVM = null, $dbOpenAddressing = null) { - $this->dbID = $dbID; - $this->dbType = $dbType; - $this->ic = $ic; - $this->pnFirstName = $pnFirstName; - $this->pnMiddleName = $pnMiddleName; - $this->pnLastName = $pnLastName; - $this->pnLastNameAtBirth = $pnLastNameAtBirth; - $this->firmName = $firmName; - $this->biDate = $biDate; - $this->biCity = $biCity; - $this->biCounty = $biCounty; - $this->biState = $biState; - $this->adCity = $adCity; - $this->adStreet = $adStreet; - $this->adNumberInStreet = $adNumberInStreet; - $this->adNumberInMunicipality = $adNumberInMunicipality; - $this->adZipCode = $adZipCode; - $this->adState = $adState; - $this->nationality = $nationality; - $this->email = $email; - $this->telNumber = $telNumber; - $this->identifier = $identifier; - $this->registryCode = $registryCode; - $this->dbState = $dbState; - $this->dbEffectiveOVM = $dbEffectiveOVM; - $this->dbOpenAddressing = $dbOpenAddressing; + $this->dbID = $dbID; + $this->dbType = $dbType; + $this->ic = $ic; + $this->pnFirstName = $pnFirstName; + $this->pnMiddleName = $pnMiddleName; + $this->pnLastName = $pnLastName; + $this->pnLastNameAtBirth = $pnLastNameAtBirth; + $this->firmName = $firmName; + $this->biDate = $biDate; + $this->biCity = $biCity; + $this->biCounty = $biCounty; + $this->biState = $biState; + $this->adCity = $adCity; + $this->adStreet = $adStreet; + $this->adNumberInStreet = $adNumberInStreet; + $this->adNumberInMunicipality = $adNumberInMunicipality; + $this->adZipCode = $adZipCode; + $this->adState = $adState; + $this->nationality = $nationality; + $this->email = $email; + $this->telNumber = $telNumber; + $this->identifier = $identifier; + $this->registryCode = $registryCode; + $this->dbState = $dbState; + $this->dbEffectiveOVM = $dbEffectiveOVM; + $this->dbOpenAddressing = $dbOpenAddressing; } /** @@ -197,19 +198,17 @@ public function __construct($dbID = null, $dbType = null, $ic = null, $pnFirstNa */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } /** @@ -217,19 +216,17 @@ public function setDbID($dbID) */ public function getDbType() { - return $this->dbType; + return $this->dbType; } /** * @param tDbType $dbType - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setDbType($dbType) { - $this->dbType = $dbType; - - return $this; + $this->dbType = $dbType; + return $this; } /** @@ -237,19 +234,17 @@ public function setDbType($dbType) */ public function getIc() { - return $this->ic; + return $this->ic; } /** * @param tIdentificationNumber $ic - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setIc($ic) { - $this->ic = $ic; - - return $this; + $this->ic = $ic; + return $this; } /** @@ -257,19 +252,17 @@ public function setIc($ic) */ public function getPnFirstName() { - return $this->pnFirstName; + return $this->pnFirstName; } /** * @param string $pnFirstName - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setPnFirstName($pnFirstName) { - $this->pnFirstName = $pnFirstName; - - return $this; + $this->pnFirstName = $pnFirstName; + return $this; } /** @@ -277,19 +270,17 @@ public function setPnFirstName($pnFirstName) */ public function getPnMiddleName() { - return $this->pnMiddleName; + return $this->pnMiddleName; } /** * @param string $pnMiddleName - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setPnMiddleName($pnMiddleName) { - $this->pnMiddleName = $pnMiddleName; - - return $this; + $this->pnMiddleName = $pnMiddleName; + return $this; } /** @@ -297,19 +288,17 @@ public function setPnMiddleName($pnMiddleName) */ public function getPnLastName() { - return $this->pnLastName; + return $this->pnLastName; } /** * @param string $pnLastName - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setPnLastName($pnLastName) { - $this->pnLastName = $pnLastName; - - return $this; + $this->pnLastName = $pnLastName; + return $this; } /** @@ -317,19 +306,17 @@ public function setPnLastName($pnLastName) */ public function getPnLastNameAtBirth() { - return $this->pnLastNameAtBirth; + return $this->pnLastNameAtBirth; } /** * @param string $pnLastNameAtBirth - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setPnLastNameAtBirth($pnLastNameAtBirth) { - $this->pnLastNameAtBirth = $pnLastNameAtBirth; - - return $this; + $this->pnLastNameAtBirth = $pnLastNameAtBirth; + return $this; } /** @@ -337,19 +324,17 @@ public function setPnLastNameAtBirth($pnLastNameAtBirth) */ public function getFirmName() { - return $this->firmName; + return $this->firmName; } /** * @param string $firmName - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setFirmName($firmName) { - $this->firmName = $firmName; - - return $this; + $this->firmName = $firmName; + return $this; } /** @@ -357,19 +342,17 @@ public function setFirmName($firmName) */ public function getBiDate() { - return $this->biDate; + return $this->biDate; } /** * @param date $biDate - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setBiDate($biDate) { - $this->biDate = $biDate; - - return $this; + $this->biDate = $biDate; + return $this; } /** @@ -377,19 +360,17 @@ public function setBiDate($biDate) */ public function getBiCity() { - return $this->biCity; + return $this->biCity; } /** * @param string $biCity - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setBiCity($biCity) { - $this->biCity = $biCity; - - return $this; + $this->biCity = $biCity; + return $this; } /** @@ -397,19 +378,17 @@ public function setBiCity($biCity) */ public function getBiCounty() { - return $this->biCounty; + return $this->biCounty; } /** * @param string $biCounty - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setBiCounty($biCounty) { - $this->biCounty = $biCounty; - - return $this; + $this->biCounty = $biCounty; + return $this; } /** @@ -417,19 +396,17 @@ public function setBiCounty($biCounty) */ public function getBiState() { - return $this->biState; + return $this->biState; } /** * @param string $biState - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setBiState($biState) { - $this->biState = $biState; - - return $this; + $this->biState = $biState; + return $this; } /** @@ -437,19 +414,17 @@ public function setBiState($biState) */ public function getAdCity() { - return $this->adCity; + return $this->adCity; } /** * @param string $adCity - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdCity($adCity) { - $this->adCity = $adCity; - - return $this; + $this->adCity = $adCity; + return $this; } /** @@ -457,19 +432,17 @@ public function setAdCity($adCity) */ public function getAdStreet() { - return $this->adStreet; + return $this->adStreet; } /** * @param string $adStreet - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdStreet($adStreet) { - $this->adStreet = $adStreet; - - return $this; + $this->adStreet = $adStreet; + return $this; } /** @@ -477,19 +450,17 @@ public function setAdStreet($adStreet) */ public function getAdNumberInStreet() { - return $this->adNumberInStreet; + return $this->adNumberInStreet; } /** * @param string $adNumberInStreet - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdNumberInStreet($adNumberInStreet) { - $this->adNumberInStreet = $adNumberInStreet; - - return $this; + $this->adNumberInStreet = $adNumberInStreet; + return $this; } /** @@ -497,19 +468,17 @@ public function setAdNumberInStreet($adNumberInStreet) */ public function getAdNumberInMunicipality() { - return $this->adNumberInMunicipality; + return $this->adNumberInMunicipality; } /** * @param string $adNumberInMunicipality - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdNumberInMunicipality($adNumberInMunicipality) { - $this->adNumberInMunicipality = $adNumberInMunicipality; - - return $this; + $this->adNumberInMunicipality = $adNumberInMunicipality; + return $this; } /** @@ -517,19 +486,17 @@ public function setAdNumberInMunicipality($adNumberInMunicipality) */ public function getAdZipCode() { - return $this->adZipCode; + return $this->adZipCode; } /** * @param string $adZipCode - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdZipCode($adZipCode) { - $this->adZipCode = $adZipCode; - - return $this; + $this->adZipCode = $adZipCode; + return $this; } /** @@ -537,19 +504,17 @@ public function setAdZipCode($adZipCode) */ public function getAdState() { - return $this->adState; + return $this->adState; } /** * @param string $adState - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setAdState($adState) { - $this->adState = $adState; - - return $this; + $this->adState = $adState; + return $this; } /** @@ -557,19 +522,17 @@ public function setAdState($adState) */ public function getNationality() { - return $this->nationality; + return $this->nationality; } /** * @param string $nationality - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setNationality($nationality) { - $this->nationality = $nationality; - - return $this; + $this->nationality = $nationality; + return $this; } /** @@ -577,19 +540,17 @@ public function setNationality($nationality) */ public function getEmail() { - return $this->email; + return $this->email; } /** * @param string $email - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setEmail($email) { - $this->email = $email; - - return $this; + $this->email = $email; + return $this; } /** @@ -597,19 +558,17 @@ public function setEmail($email) */ public function getTelNumber() { - return $this->telNumber; + return $this->telNumber; } /** * @param string $telNumber - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setTelNumber($telNumber) { - $this->telNumber = $telNumber; - - return $this; + $this->telNumber = $telNumber; + return $this; } /** @@ -617,19 +576,17 @@ public function setTelNumber($telNumber) */ public function getIdentifier() { - return $this->identifier; + return $this->identifier; } /** * @param identifier $identifier - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setIdentifier($identifier) { - $this->identifier = $identifier; - - return $this; + $this->identifier = $identifier; + return $this; } /** @@ -637,19 +594,17 @@ public function setIdentifier($identifier) */ public function getRegistryCode() { - return $this->registryCode; + return $this->registryCode; } /** * @param registryCode $registryCode - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setRegistryCode($registryCode) { - $this->registryCode = $registryCode; - - return $this; + $this->registryCode = $registryCode; + return $this; } /** @@ -657,58 +612,53 @@ public function setRegistryCode($registryCode) */ public function getDbState() { - return $this->dbState; + return $this->dbState; } /** * @param int $dbState - * * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setDbState($dbState) { - $this->dbState = $dbState; - - return $this; + $this->dbState = $dbState; + return $this; } /** - * @return bool + * @return boolean */ public function getDbEffectiveOVM() { - return $this->dbEffectiveOVM; + return $this->dbEffectiveOVM; } /** - * @param bool $dbEffectiveOVM - * + * @param boolean $dbEffectiveOVM * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setDbEffectiveOVM($dbEffectiveOVM) { - $this->dbEffectiveOVM = $dbEffectiveOVM; - - return $this; + $this->dbEffectiveOVM = $dbEffectiveOVM; + return $this; } /** - * @return bool + * @return boolean */ public function getDbOpenAddressing() { - return $this->dbOpenAddressing; + return $this->dbOpenAddressing; } /** - * @param bool $dbOpenAddressing - * + * @param boolean $dbOpenAddressing * @return \Defr\CzechDataBox\Api\tDbOwnerInfo */ public function setDbOpenAddressing($dbOpenAddressing) { - $this->dbOpenAddressing = $dbOpenAddressing; - - return $this; + $this->dbOpenAddressing = $dbOpenAddressing; + return $this; } + } diff --git a/src/Api/tDbOwnersArray.php b/src/Api/tDbOwnersArray.php index cf8bdae..f740b4d 100644 --- a/src/Api/tDbOwnersArray.php +++ b/src/Api/tDbOwnersArray.php @@ -4,8 +4,9 @@ class tDbOwnersArray { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; @@ -14,7 +15,7 @@ class tDbOwnersArray */ public function __construct($dbOwnerInfo = null) { - $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbOwnerInfo = $dbOwnerInfo; } /** @@ -22,18 +23,17 @@ public function __construct($dbOwnerInfo = null) */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tDbOwnersArray */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } + } diff --git a/src/Api/tDbReqStatus.php b/src/Api/tDbReqStatus.php index 2cd5f89..68c6e94 100644 --- a/src/Api/tDbReqStatus.php +++ b/src/Api/tDbReqStatus.php @@ -4,18 +4,19 @@ class tDbReqStatus { + /** - * @var string + * @var string $dbStatusCode */ protected $dbStatusCode = null; /** - * @var string + * @var string $dbStatusMessage */ protected $dbStatusMessage = null; /** - * @var string + * @var string $dbStatusRefNumber */ protected $dbStatusRefNumber = null; @@ -26,9 +27,9 @@ class tDbReqStatus */ public function __construct($dbStatusCode = null, $dbStatusMessage = null, $dbStatusRefNumber = null) { - $this->dbStatusCode = $dbStatusCode; - $this->dbStatusMessage = $dbStatusMessage; - $this->dbStatusRefNumber = $dbStatusRefNumber; + $this->dbStatusCode = $dbStatusCode; + $this->dbStatusMessage = $dbStatusMessage; + $this->dbStatusRefNumber = $dbStatusRefNumber; } /** @@ -36,19 +37,17 @@ public function __construct($dbStatusCode = null, $dbStatusMessage = null, $dbSt */ public function getDbStatusCode() { - return $this->dbStatusCode; + return $this->dbStatusCode; } /** * @param string $dbStatusCode - * * @return \Defr\CzechDataBox\Api\tDbReqStatus */ public function setDbStatusCode($dbStatusCode) { - $this->dbStatusCode = $dbStatusCode; - - return $this; + $this->dbStatusCode = $dbStatusCode; + return $this; } /** @@ -56,19 +55,17 @@ public function setDbStatusCode($dbStatusCode) */ public function getDbStatusMessage() { - return $this->dbStatusMessage; + return $this->dbStatusMessage; } /** * @param string $dbStatusMessage - * * @return \Defr\CzechDataBox\Api\tDbReqStatus */ public function setDbStatusMessage($dbStatusMessage) { - $this->dbStatusMessage = $dbStatusMessage; - - return $this; + $this->dbStatusMessage = $dbStatusMessage; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbStatusMessage($dbStatusMessage) */ public function getDbStatusRefNumber() { - return $this->dbStatusRefNumber; + return $this->dbStatusRefNumber; } /** * @param string $dbStatusRefNumber - * * @return \Defr\CzechDataBox\Api\tDbReqStatus */ public function setDbStatusRefNumber($dbStatusRefNumber) { - $this->dbStatusRefNumber = $dbStatusRefNumber; - - return $this; + $this->dbStatusRefNumber = $dbStatusRefNumber; + return $this; } + } diff --git a/src/Api/tDbType.php b/src/Api/tDbType.php index ecf8ac8..2483ccc 100644 --- a/src/Api/tDbType.php +++ b/src/Api/tDbType.php @@ -17,4 +17,6 @@ class tDbType const OVM_NOTAR = 'OVM_NOTAR'; const OVM_EXEKUT = 'OVM_EXEKUT'; const OVM_REQ = 'OVM_REQ'; + + } diff --git a/src/Api/tDbUserInfo.php b/src/Api/tDbUserInfo.php index b192324..8bb45a8 100644 --- a/src/Api/tDbUserInfo.php +++ b/src/Api/tDbUserInfo.php @@ -4,150 +4,151 @@ class tDbUserInfo { + /** - * @var string + * @var string $pnFirstName */ protected $pnFirstName = null; /** - * @var string + * @var string $pnMiddleName */ protected $pnMiddleName = null; /** - * @var string + * @var string $pnLastName */ protected $pnLastName = null; /** - * @var string + * @var string $pnLastNameAtBirth */ protected $pnLastNameAtBirth = null; /** - * @var string + * @var string $adCity */ protected $adCity = null; /** - * @var string + * @var string $adStreet */ protected $adStreet = null; /** - * @var string + * @var string $adNumberInStreet */ protected $adNumberInStreet = null; /** - * @var string + * @var string $adNumberInMunicipality */ protected $adNumberInMunicipality = null; /** - * @var string + * @var string $adZipCode */ protected $adZipCode = null; /** - * @var string + * @var string $adState */ protected $adState = null; /** - * @var date + * @var date $biDate */ protected $biDate = null; /** - * @var tUserID + * @var tUserID $userID */ protected $userID = null; /** - * @var tUserType + * @var tUserType $userType */ protected $userType = null; /** - * @var int + * @var int $userPrivils */ protected $userPrivils = null; /** - * @var ic + * @var ic $ic */ protected $ic = null; /** - * @var firmName + * @var firmName $firmName */ protected $firmName = null; /** - * @var string + * @var string $caStreet */ protected $caStreet = null; /** - * @var string + * @var string $caCity */ protected $caCity = null; /** - * @var string + * @var string $caZipCode */ protected $caZipCode = null; /** - * @var string + * @var string $caState */ protected $caState = null; /** - * @param string $pnFirstName - * @param string $pnMiddleName - * @param string $pnLastName - * @param string $pnLastNameAtBirth - * @param string $adCity - * @param string $adStreet - * @param string $adNumberInStreet - * @param string $adNumberInMunicipality - * @param string $adZipCode - * @param string $adState - * @param date $biDate - * @param tUserID $userID + * @param string $pnFirstName + * @param string $pnMiddleName + * @param string $pnLastName + * @param string $pnLastNameAtBirth + * @param string $adCity + * @param string $adStreet + * @param string $adNumberInStreet + * @param string $adNumberInMunicipality + * @param string $adZipCode + * @param string $adState + * @param date $biDate + * @param tUserID $userID * @param tUserType $userType - * @param int $userPrivils - * @param ic $ic - * @param firmName $firmName - * @param string $caStreet - * @param string $caCity - * @param string $caZipCode - * @param string $caState + * @param int $userPrivils + * @param ic $ic + * @param firmName $firmName + * @param string $caStreet + * @param string $caCity + * @param string $caZipCode + * @param string $caState */ public function __construct($pnFirstName = null, $pnMiddleName = null, $pnLastName = null, $pnLastNameAtBirth = null, $adCity = null, $adStreet = null, $adNumberInStreet = null, $adNumberInMunicipality = null, $adZipCode = null, $adState = null, $biDate = null, $userID = null, $userType = null, $userPrivils = null, $ic = null, $firmName = null, $caStreet = null, $caCity = null, $caZipCode = null, $caState = null) { - $this->pnFirstName = $pnFirstName; - $this->pnMiddleName = $pnMiddleName; - $this->pnLastName = $pnLastName; - $this->pnLastNameAtBirth = $pnLastNameAtBirth; - $this->adCity = $adCity; - $this->adStreet = $adStreet; - $this->adNumberInStreet = $adNumberInStreet; - $this->adNumberInMunicipality = $adNumberInMunicipality; - $this->adZipCode = $adZipCode; - $this->adState = $adState; - $this->biDate = $biDate; - $this->userID = $userID; - $this->userType = $userType; - $this->userPrivils = $userPrivils; - $this->ic = $ic; - $this->firmName = $firmName; - $this->caStreet = $caStreet; - $this->caCity = $caCity; - $this->caZipCode = $caZipCode; - $this->caState = $caState; + $this->pnFirstName = $pnFirstName; + $this->pnMiddleName = $pnMiddleName; + $this->pnLastName = $pnLastName; + $this->pnLastNameAtBirth = $pnLastNameAtBirth; + $this->adCity = $adCity; + $this->adStreet = $adStreet; + $this->adNumberInStreet = $adNumberInStreet; + $this->adNumberInMunicipality = $adNumberInMunicipality; + $this->adZipCode = $adZipCode; + $this->adState = $adState; + $this->biDate = $biDate; + $this->userID = $userID; + $this->userType = $userType; + $this->userPrivils = $userPrivils; + $this->ic = $ic; + $this->firmName = $firmName; + $this->caStreet = $caStreet; + $this->caCity = $caCity; + $this->caZipCode = $caZipCode; + $this->caState = $caState; } /** @@ -155,19 +156,17 @@ public function __construct($pnFirstName = null, $pnMiddleName = null, $pnLastNa */ public function getPnFirstName() { - return $this->pnFirstName; + return $this->pnFirstName; } /** * @param string $pnFirstName - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setPnFirstName($pnFirstName) { - $this->pnFirstName = $pnFirstName; - - return $this; + $this->pnFirstName = $pnFirstName; + return $this; } /** @@ -175,19 +174,17 @@ public function setPnFirstName($pnFirstName) */ public function getPnMiddleName() { - return $this->pnMiddleName; + return $this->pnMiddleName; } /** * @param string $pnMiddleName - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setPnMiddleName($pnMiddleName) { - $this->pnMiddleName = $pnMiddleName; - - return $this; + $this->pnMiddleName = $pnMiddleName; + return $this; } /** @@ -195,19 +192,17 @@ public function setPnMiddleName($pnMiddleName) */ public function getPnLastName() { - return $this->pnLastName; + return $this->pnLastName; } /** * @param string $pnLastName - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setPnLastName($pnLastName) { - $this->pnLastName = $pnLastName; - - return $this; + $this->pnLastName = $pnLastName; + return $this; } /** @@ -215,19 +210,17 @@ public function setPnLastName($pnLastName) */ public function getPnLastNameAtBirth() { - return $this->pnLastNameAtBirth; + return $this->pnLastNameAtBirth; } /** * @param string $pnLastNameAtBirth - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setPnLastNameAtBirth($pnLastNameAtBirth) { - $this->pnLastNameAtBirth = $pnLastNameAtBirth; - - return $this; + $this->pnLastNameAtBirth = $pnLastNameAtBirth; + return $this; } /** @@ -235,19 +228,17 @@ public function setPnLastNameAtBirth($pnLastNameAtBirth) */ public function getAdCity() { - return $this->adCity; + return $this->adCity; } /** * @param string $adCity - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdCity($adCity) { - $this->adCity = $adCity; - - return $this; + $this->adCity = $adCity; + return $this; } /** @@ -255,19 +246,17 @@ public function setAdCity($adCity) */ public function getAdStreet() { - return $this->adStreet; + return $this->adStreet; } /** * @param string $adStreet - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdStreet($adStreet) { - $this->adStreet = $adStreet; - - return $this; + $this->adStreet = $adStreet; + return $this; } /** @@ -275,19 +264,17 @@ public function setAdStreet($adStreet) */ public function getAdNumberInStreet() { - return $this->adNumberInStreet; + return $this->adNumberInStreet; } /** * @param string $adNumberInStreet - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdNumberInStreet($adNumberInStreet) { - $this->adNumberInStreet = $adNumberInStreet; - - return $this; + $this->adNumberInStreet = $adNumberInStreet; + return $this; } /** @@ -295,19 +282,17 @@ public function setAdNumberInStreet($adNumberInStreet) */ public function getAdNumberInMunicipality() { - return $this->adNumberInMunicipality; + return $this->adNumberInMunicipality; } /** * @param string $adNumberInMunicipality - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdNumberInMunicipality($adNumberInMunicipality) { - $this->adNumberInMunicipality = $adNumberInMunicipality; - - return $this; + $this->adNumberInMunicipality = $adNumberInMunicipality; + return $this; } /** @@ -315,19 +300,17 @@ public function setAdNumberInMunicipality($adNumberInMunicipality) */ public function getAdZipCode() { - return $this->adZipCode; + return $this->adZipCode; } /** * @param string $adZipCode - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdZipCode($adZipCode) { - $this->adZipCode = $adZipCode; - - return $this; + $this->adZipCode = $adZipCode; + return $this; } /** @@ -335,19 +318,17 @@ public function setAdZipCode($adZipCode) */ public function getAdState() { - return $this->adState; + return $this->adState; } /** * @param string $adState - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setAdState($adState) { - $this->adState = $adState; - - return $this; + $this->adState = $adState; + return $this; } /** @@ -355,19 +336,17 @@ public function setAdState($adState) */ public function getBiDate() { - return $this->biDate; + return $this->biDate; } /** * @param date $biDate - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setBiDate($biDate) { - $this->biDate = $biDate; - - return $this; + $this->biDate = $biDate; + return $this; } /** @@ -375,19 +354,17 @@ public function setBiDate($biDate) */ public function getUserID() { - return $this->userID; + return $this->userID; } /** * @param tUserID $userID - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setUserID($userID) { - $this->userID = $userID; - - return $this; + $this->userID = $userID; + return $this; } /** @@ -395,19 +372,17 @@ public function setUserID($userID) */ public function getUserType() { - return $this->userType; + return $this->userType; } /** * @param tUserType $userType - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setUserType($userType) { - $this->userType = $userType; - - return $this; + $this->userType = $userType; + return $this; } /** @@ -415,19 +390,17 @@ public function setUserType($userType) */ public function getUserPrivils() { - return $this->userPrivils; + return $this->userPrivils; } /** * @param int $userPrivils - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setUserPrivils($userPrivils) { - $this->userPrivils = $userPrivils; - - return $this; + $this->userPrivils = $userPrivils; + return $this; } /** @@ -435,19 +408,17 @@ public function setUserPrivils($userPrivils) */ public function getIc() { - return $this->ic; + return $this->ic; } /** * @param ic $ic - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setIc($ic) { - $this->ic = $ic; - - return $this; + $this->ic = $ic; + return $this; } /** @@ -455,19 +426,17 @@ public function setIc($ic) */ public function getFirmName() { - return $this->firmName; + return $this->firmName; } /** * @param firmName $firmName - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setFirmName($firmName) { - $this->firmName = $firmName; - - return $this; + $this->firmName = $firmName; + return $this; } /** @@ -475,19 +444,17 @@ public function setFirmName($firmName) */ public function getCaStreet() { - return $this->caStreet; + return $this->caStreet; } /** * @param string $caStreet - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setCaStreet($caStreet) { - $this->caStreet = $caStreet; - - return $this; + $this->caStreet = $caStreet; + return $this; } /** @@ -495,19 +462,17 @@ public function setCaStreet($caStreet) */ public function getCaCity() { - return $this->caCity; + return $this->caCity; } /** * @param string $caCity - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setCaCity($caCity) { - $this->caCity = $caCity; - - return $this; + $this->caCity = $caCity; + return $this; } /** @@ -515,19 +480,17 @@ public function setCaCity($caCity) */ public function getCaZipCode() { - return $this->caZipCode; + return $this->caZipCode; } /** * @param string $caZipCode - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setCaZipCode($caZipCode) { - $this->caZipCode = $caZipCode; - - return $this; + $this->caZipCode = $caZipCode; + return $this; } /** @@ -535,18 +498,17 @@ public function setCaZipCode($caZipCode) */ public function getCaState() { - return $this->caState; + return $this->caState; } /** * @param string $caState - * * @return \Defr\CzechDataBox\Api\tDbUserInfo */ public function setCaState($caState) { - $this->caState = $caState; - - return $this; + $this->caState = $caState; + return $this; } + } diff --git a/src/Api/tDbUsersArray.php b/src/Api/tDbUsersArray.php index 8912277..6c3166a 100644 --- a/src/Api/tDbUsersArray.php +++ b/src/Api/tDbUsersArray.php @@ -4,8 +4,9 @@ class tDbUsersArray { + /** - * @var tDbUserInfo + * @var tDbUserInfo $dbUserInfo */ protected $dbUserInfo = null; @@ -14,7 +15,7 @@ class tDbUsersArray */ public function __construct($dbUserInfo = null) { - $this->dbUserInfo = $dbUserInfo; + $this->dbUserInfo = $dbUserInfo; } /** @@ -22,18 +23,17 @@ public function __construct($dbUserInfo = null) */ public function getDbUserInfo() { - return $this->dbUserInfo; + return $this->dbUserInfo; } /** * @param tDbUserInfo $dbUserInfo - * * @return \Defr\CzechDataBox\Api\tDbUsersArray */ public function setDbUserInfo($dbUserInfo) { - $this->dbUserInfo = $dbUserInfo; - - return $this; + $this->dbUserInfo = $dbUserInfo; + return $this; } + } diff --git a/src/Api/tDelDBUserInput.php b/src/Api/tDelDBUserInput.php index 22bf934..0c3a1fe 100644 --- a/src/Api/tDelDBUserInput.php +++ b/src/Api/tDelDBUserInput.php @@ -4,38 +4,39 @@ class tDelDBUserInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUserInfo + * @var tDbUserInfo $dbUserInfo */ protected $dbUserInfo = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param tDbUserInfo $dbUserInfo - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param tDbUserInfo $dbUserInfo + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbUserInfo = $dbUserInfo; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbUserInfo = $dbUserInfo; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -43,19 +44,17 @@ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbApproved */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tDelDBUserInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -63,39 +62,35 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbUserInfo() { - return $this->dbUserInfo; + return $this->dbUserInfo; } /** * @param tDbUserInfo $dbUserInfo - * * @return \Defr\CzechDataBox\Api\tDelDBUserInput */ public function setDbUserInfo($dbUserInfo) { - $this->dbUserInfo = $dbUserInfo; - - return $this; + $this->dbUserInfo = $dbUserInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tDelDBUserInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -103,18 +98,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tDelDBUserInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tDeleteDBInput.php b/src/Api/tDeleteDBInput.php index f853b92..f1241bb 100644 --- a/src/Api/tDeleteDBInput.php +++ b/src/Api/tDeleteDBInput.php @@ -4,38 +4,39 @@ class tDeleteDBInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var date + * @var date $dbOwnerTerminationDate */ protected $dbOwnerTerminationDate = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param date $dbOwnerTerminationDate - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param date $dbOwnerTerminationDate + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbOwnerTerminationDate = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbOwnerTerminationDate = $dbOwnerTerminationDate; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbOwnerTerminationDate = $dbOwnerTerminationDate; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -43,19 +44,17 @@ public function __construct($dbOwnerInfo = null, $dbOwnerTerminationDate = null, */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tDeleteDBInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -63,39 +62,35 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbOwnerTerminationDate() { - return $this->dbOwnerTerminationDate; + return $this->dbOwnerTerminationDate; } /** * @param date $dbOwnerTerminationDate - * * @return \Defr\CzechDataBox\Api\tDeleteDBInput */ public function setDbOwnerTerminationDate($dbOwnerTerminationDate) { - $this->dbOwnerTerminationDate = $dbOwnerTerminationDate; - - return $this; + $this->dbOwnerTerminationDate = $dbOwnerTerminationDate; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tDeleteDBInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -103,18 +98,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tDeleteDBInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tDeleteDBPromptlyInput.php b/src/Api/tDeleteDBPromptlyInput.php index 0489cdc..6ba9946 100644 --- a/src/Api/tDeleteDBPromptlyInput.php +++ b/src/Api/tDeleteDBPromptlyInput.php @@ -4,31 +4,32 @@ class tDeleteDBPromptlyInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -36,39 +37,35 @@ public function __construct($dbOwnerInfo = null, $dbApproved = null, $dbExternRe */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tDelivery.php b/src/Api/tDelivery.php index 7c5f7de..2554353 100644 --- a/src/Api/tDelivery.php +++ b/src/Api/tDelivery.php @@ -4,59 +4,60 @@ class tDelivery { + /** - * @var dmDm + * @var dmDm $dmDm */ protected $dmDm = null; /** - * @var tHash + * @var tHash $dmHash */ protected $dmHash = null; /** - * @var base64Binary + * @var base64Binary $dmQTimestamp */ protected $dmQTimestamp = null; /** - * @var \DateTime + * @var \DateTime $dmDeliveryTime */ protected $dmDeliveryTime = null; /** - * @var \DateTime + * @var \DateTime $dmAcceptanceTime */ protected $dmAcceptanceTime = null; /** - * @var int + * @var int $dmMessageStatus */ protected $dmMessageStatus = null; /** - * @var tEventsArray + * @var tEventsArray $dmEvents */ protected $dmEvents = null; /** - * @param dmDm $dmDm - * @param tHash $dmHash + * @param dmDm $dmDm + * @param tHash $dmHash * @param base64Binary $dmQTimestamp - * @param \DateTime $dmDeliveryTime - * @param \DateTime $dmAcceptanceTime - * @param int $dmMessageStatus + * @param \DateTime $dmDeliveryTime + * @param \DateTime $dmAcceptanceTime + * @param int $dmMessageStatus * @param tEventsArray $dmEvents */ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, \DateTime $dmDeliveryTime = null, \DateTime $dmAcceptanceTime = null, $dmMessageStatus = null, $dmEvents = null) { - $this->dmDm = $dmDm; - $this->dmHash = $dmHash; - $this->dmQTimestamp = $dmQTimestamp; - $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; - $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; - $this->dmMessageStatus = $dmMessageStatus; - $this->dmEvents = $dmEvents; + $this->dmDm = $dmDm; + $this->dmHash = $dmHash; + $this->dmQTimestamp = $dmQTimestamp; + $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; + $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; + $this->dmMessageStatus = $dmMessageStatus; + $this->dmEvents = $dmEvents; } /** @@ -64,19 +65,17 @@ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, */ public function getDmDm() { - return $this->dmDm; + return $this->dmDm; } /** * @param dmDm $dmDm - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmDm($dmDm) { - $this->dmDm = $dmDm; - - return $this; + $this->dmDm = $dmDm; + return $this; } /** @@ -84,19 +83,17 @@ public function setDmDm($dmDm) */ public function getDmHash() { - return $this->dmHash; + return $this->dmHash; } /** * @param tHash $dmHash - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmHash($dmHash) { - $this->dmHash = $dmHash; - - return $this; + $this->dmHash = $dmHash; + return $this; } /** @@ -104,19 +101,17 @@ public function setDmHash($dmHash) */ public function getDmQTimestamp() { - return $this->dmQTimestamp; + return $this->dmQTimestamp; } /** * @param base64Binary $dmQTimestamp - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmQTimestamp($dmQTimestamp) { - $this->dmQTimestamp = $dmQTimestamp; - - return $this; + $this->dmQTimestamp = $dmQTimestamp; + return $this; } /** @@ -124,27 +119,25 @@ public function setDmQTimestamp($dmQTimestamp) */ public function getDmDeliveryTime() { - if ($this->dmDeliveryTime == null) { - return; - } else { - try { - return new \DateTime($this->dmDeliveryTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmDeliveryTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmDeliveryTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmDeliveryTime - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) { - $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); - - return $this; + $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); + return $this; } /** @@ -152,27 +145,25 @@ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) */ public function getDmAcceptanceTime() { - if ($this->dmAcceptanceTime == null) { - return; - } else { - try { - return new \DateTime($this->dmAcceptanceTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmAcceptanceTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmAcceptanceTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmAcceptanceTime - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) { - $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); - - return $this; + $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); + return $this; } /** @@ -180,19 +171,17 @@ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) */ public function getDmMessageStatus() { - return $this->dmMessageStatus; + return $this->dmMessageStatus; } /** * @param int $dmMessageStatus - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmMessageStatus($dmMessageStatus) { - $this->dmMessageStatus = $dmMessageStatus; - - return $this; + $this->dmMessageStatus = $dmMessageStatus; + return $this; } /** @@ -200,18 +189,17 @@ public function setDmMessageStatus($dmMessageStatus) */ public function getDmEvents() { - return $this->dmEvents; + return $this->dmEvents; } /** * @param tEventsArray $dmEvents - * * @return \Defr\CzechDataBox\Api\tDelivery */ public function setDmEvents($dmEvents) { - $this->dmEvents = $dmEvents; - - return $this; + $this->dmEvents = $dmEvents; + return $this; } + } diff --git a/src/Api/tDeliveryMessageOutput.php b/src/Api/tDeliveryMessageOutput.php index 41b1316..b9d7c7f 100644 --- a/src/Api/tDeliveryMessageOutput.php +++ b/src/Api/tDeliveryMessageOutput.php @@ -4,24 +4,25 @@ class tDeliveryMessageOutput { + /** - * @var tDelivery + * @var tDelivery $dmDelivery */ protected $dmDelivery = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tDelivery $dmDelivery - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmDelivery = null, $dmStatus = null) { - $this->dmDelivery = $dmDelivery; - $this->dmStatus = $dmStatus; + $this->dmDelivery = $dmDelivery; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmDelivery = null, $dmStatus = null) */ public function getDmDelivery() { - return $this->dmDelivery; + return $this->dmDelivery; } /** * @param tDelivery $dmDelivery - * * @return \Defr\CzechDataBox\Api\tDeliveryMessageOutput */ public function setDmDelivery($dmDelivery) { - $this->dmDelivery = $dmDelivery; - - return $this; + $this->dmDelivery = $dmDelivery; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmDelivery($dmDelivery) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tDeliveryMessageOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tDisableExternallyInput.php b/src/Api/tDisableExternallyInput.php index 5091032..bd6608c 100644 --- a/src/Api/tDisableExternallyInput.php +++ b/src/Api/tDisableExternallyInput.php @@ -4,38 +4,39 @@ class tDisableExternallyInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var date + * @var date $dbOwnerDisableDate */ protected $dbOwnerDisableDate = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param date $dbOwnerDisableDate - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param date $dbOwnerDisableDate + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbOwnerDisableDate = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbOwnerDisableDate = $dbOwnerDisableDate; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbOwnerDisableDate = $dbOwnerDisableDate; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -43,19 +44,17 @@ public function __construct($dbOwnerInfo = null, $dbOwnerDisableDate = null, $db */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tDisableExternallyInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -63,39 +62,35 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbOwnerDisableDate() { - return $this->dbOwnerDisableDate; + return $this->dbOwnerDisableDate; } /** * @param date $dbOwnerDisableDate - * * @return \Defr\CzechDataBox\Api\tDisableExternallyInput */ public function setDbOwnerDisableDate($dbOwnerDisableDate) { - $this->dbOwnerDisableDate = $dbOwnerDisableDate; - - return $this; + $this->dbOwnerDisableDate = $dbOwnerDisableDate; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tDisableExternallyInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -103,18 +98,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tDisableExternallyInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tDummyInput.php b/src/Api/tDummyInput.php index f678927..c6f5eb7 100644 --- a/src/Api/tDummyInput.php +++ b/src/Api/tDummyInput.php @@ -4,8 +4,9 @@ class tDummyInput { + /** - * @var string + * @var string $dbDummy */ protected $dbDummy = null; @@ -14,7 +15,7 @@ class tDummyInput */ public function __construct($dbDummy = null) { - $this->dbDummy = $dbDummy; + $this->dbDummy = $dbDummy; } /** @@ -22,18 +23,17 @@ public function __construct($dbDummy = null) */ public function getDbDummy() { - return $this->dbDummy; + return $this->dbDummy; } /** * @param string $dbDummy - * * @return \Defr\CzechDataBox\Api\tDummyInput */ public function setDbDummy($dbDummy) { - $this->dbDummy = $dbDummy; - - return $this; + $this->dbDummy = $dbDummy; + return $this; } + } diff --git a/src/Api/tEraseMessageIntput.php b/src/Api/tEraseMessageIntput.php new file mode 100644 index 0000000..2892dbe --- /dev/null +++ b/src/Api/tEraseMessageIntput.php @@ -0,0 +1,64 @@ +dmID = $dmID; + $this->dmIncoming = $dmIncoming; + } + + /** + * @return tIdDm + */ + public function getDmID() + { + return $this->dmID; + } + + /** + * @param tIdDm $dmID + * @return \Defr\CzechDataBox\Api\tEraseMessageIntput + */ + public function setDmID($dmID) + { + $this->dmID = $dmID; + return $this; + } + + /** + * @return boolean + */ + public function getDmIncoming() + { + return $this->dmIncoming; + } + + /** + * @param boolean $dmIncoming + * @return \Defr\CzechDataBox\Api\tEraseMessageIntput + */ + public function setDmIncoming($dmIncoming) + { + $this->dmIncoming = $dmIncoming; + return $this; + } + +} diff --git a/src/Api/tEraseMessageOutput.php b/src/Api/tEraseMessageOutput.php new file mode 100644 index 0000000..a1657e1 --- /dev/null +++ b/src/Api/tEraseMessageOutput.php @@ -0,0 +1,39 @@ +dmStatus = $dmStatus; + } + + /** + * @return tStatus + */ + public function getDmStatus() + { + return $this->dmStatus; + } + + /** + * @param tStatus $dmStatus + * @return \Defr\CzechDataBox\Api\tEraseMessageOutput + */ + public function setDmStatus($dmStatus) + { + $this->dmStatus = $dmStatus; + return $this; + } + +} diff --git a/src/Api/tEvent.php b/src/Api/tEvent.php index 657fab5..c4cec67 100644 --- a/src/Api/tEvent.php +++ b/src/Api/tEvent.php @@ -4,24 +4,25 @@ class tEvent { + /** - * @var \DateTime + * @var \DateTime $dmEventTime */ protected $dmEventTime = null; /** - * @var string + * @var string $dmEventDescr */ protected $dmEventDescr = null; /** * @param \DateTime $dmEventTime - * @param string $dmEventDescr + * @param string $dmEventDescr */ public function __construct(\DateTime $dmEventTime = null, $dmEventDescr = null) { - $this->dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null; - $this->dmEventDescr = $dmEventDescr; + $this->dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null; + $this->dmEventDescr = $dmEventDescr; } /** @@ -29,27 +30,25 @@ public function __construct(\DateTime $dmEventTime = null, $dmEventDescr = null) */ public function getDmEventTime() { - if ($this->dmEventTime == null) { - return; - } else { - try { - return new \DateTime($this->dmEventTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmEventTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmEventTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmEventTime - * * @return \Defr\CzechDataBox\Api\tEvent */ public function setDmEventTime(\DateTime $dmEventTime) { - $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM); - - return $this; + $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM); + return $this; } /** @@ -57,18 +56,17 @@ public function setDmEventTime(\DateTime $dmEventTime) */ public function getDmEventDescr() { - return $this->dmEventDescr; + return $this->dmEventDescr; } /** * @param string $dmEventDescr - * * @return \Defr\CzechDataBox\Api\tEvent */ public function setDmEventDescr($dmEventDescr) { - $this->dmEventDescr = $dmEventDescr; - - return $this; + $this->dmEventDescr = $dmEventDescr; + return $this; } + } diff --git a/src/Api/tEventsArray.php b/src/Api/tEventsArray.php index 8b49205..a5fc28f 100644 --- a/src/Api/tEventsArray.php +++ b/src/Api/tEventsArray.php @@ -4,8 +4,9 @@ class tEventsArray { + /** - * @var tEvent + * @var tEvent $dmEvent */ protected $dmEvent = null; @@ -14,7 +15,7 @@ class tEventsArray */ public function __construct($dmEvent = null) { - $this->dmEvent = $dmEvent; + $this->dmEvent = $dmEvent; } /** @@ -22,18 +23,17 @@ public function __construct($dmEvent = null) */ public function getDmEvent() { - return $this->dmEvent; + return $this->dmEvent; } /** * @param tEvent $dmEvent - * * @return \Defr\CzechDataBox\Api\tEventsArray */ public function setDmEvent($dmEvent) { - $this->dmEvent = $dmEvent; - - return $this; + $this->dmEvent = $dmEvent; + return $this; } + } diff --git a/src/Api/tFile.php b/src/Api/tFile.php index d0dcf9e..e51a6dd 100644 --- a/src/Api/tFile.php +++ b/src/Api/tFile.php @@ -4,13 +4,14 @@ class tFile { + /** - * @var base64Binary + * @var base64Binary $dmEncodedContent */ protected $dmEncodedContent = null; /** - * @var dmXMLContent + * @var dmXMLContent $dmXMLContent */ protected $dmXMLContent = null; @@ -20,8 +21,8 @@ class tFile */ public function __construct($dmEncodedContent = null, $dmXMLContent = null) { - $this->dmEncodedContent = $dmEncodedContent; - $this->dmXMLContent = $dmXMLContent; + $this->dmEncodedContent = $dmEncodedContent; + $this->dmXMLContent = $dmXMLContent; } /** @@ -29,19 +30,17 @@ public function __construct($dmEncodedContent = null, $dmXMLContent = null) */ public function getDmEncodedContent() { - return $this->dmEncodedContent; + return $this->dmEncodedContent; } /** * @param base64Binary $dmEncodedContent - * * @return \Defr\CzechDataBox\Api\tFile */ public function setDmEncodedContent($dmEncodedContent) { - $this->dmEncodedContent = $dmEncodedContent; - - return $this; + $this->dmEncodedContent = $dmEncodedContent; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmEncodedContent($dmEncodedContent) */ public function getDmXMLContent() { - return $this->dmXMLContent; + return $this->dmXMLContent; } /** * @param dmXMLContent $dmXMLContent - * * @return \Defr\CzechDataBox\Api\tFile */ public function setDmXMLContent($dmXMLContent) { - $this->dmXMLContent = $dmXMLContent; - - return $this; + $this->dmXMLContent = $dmXMLContent; + return $this; } + } diff --git a/src/Api/tFilesArray.php b/src/Api/tFilesArray.php index c568965..cd07ddc 100644 --- a/src/Api/tFilesArray.php +++ b/src/Api/tFilesArray.php @@ -4,8 +4,9 @@ class tFilesArray { + /** - * @var dmFile + * @var dmFile $dmFile */ protected $dmFile = null; @@ -14,7 +15,7 @@ class tFilesArray */ public function __construct($dmFile = null) { - $this->dmFile = $dmFile; + $this->dmFile = $dmFile; } /** @@ -22,18 +23,17 @@ public function __construct($dmFile = null) */ public function getDmFile() { - return $this->dmFile; + return $this->dmFile; } /** * @param dmFile $dmFile - * * @return \Defr\CzechDataBox\Api\tFilesArray */ public function setDmFile($dmFile) { - $this->dmFile = $dmFile; - - return $this; + $this->dmFile = $dmFile; + return $this; } + } diff --git a/src/Api/tFindDBInput.php b/src/Api/tFindDBInput.php index 4f2c60e..0275701 100644 --- a/src/Api/tFindDBInput.php +++ b/src/Api/tFindDBInput.php @@ -4,8 +4,9 @@ class tFindDBInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; @@ -14,7 +15,7 @@ class tFindDBInput */ public function __construct($dbOwnerInfo = null) { - $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbOwnerInfo = $dbOwnerInfo; } /** @@ -22,18 +23,17 @@ public function __construct($dbOwnerInfo = null) */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tFindDBInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } + } diff --git a/src/Api/tFindDBOuput.php b/src/Api/tFindDBOuput.php index 03babe8..6b62af0 100644 --- a/src/Api/tFindDBOuput.php +++ b/src/Api/tFindDBOuput.php @@ -4,24 +4,25 @@ class tFindDBOuput { + /** - * @var tDbOwnersArray + * @var tDbOwnersArray $dbResults */ protected $dbResults = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** * @param tDbOwnersArray $dbResults - * @param tDbReqStatus $dbStatus + * @param tDbReqStatus $dbStatus */ public function __construct($dbResults = null, $dbStatus = null) { - $this->dbResults = $dbResults; - $this->dbStatus = $dbStatus; + $this->dbResults = $dbResults; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbResults = null, $dbStatus = null) */ public function getDbResults() { - return $this->dbResults; + return $this->dbResults; } /** * @param tDbOwnersArray $dbResults - * * @return \Defr\CzechDataBox\Api\tFindDBOuput */ public function setDbResults($dbResults) { - $this->dbResults = $dbResults; - - return $this; + $this->dbResults = $dbResults; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbResults($dbResults) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tFindDBOuput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tGetAuthorInput.php b/src/Api/tGetAuthorInput.php index 187b4fc..096184e 100644 --- a/src/Api/tGetAuthorInput.php +++ b/src/Api/tGetAuthorInput.php @@ -4,8 +4,9 @@ class tGetAuthorInput { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; @@ -14,7 +15,7 @@ class tGetAuthorInput */ public function __construct($dmID = null) { - $this->dmID = $dmID; + $this->dmID = $dmID; } /** @@ -22,18 +23,17 @@ public function __construct($dmID = null) */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tGetAuthorInput */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } + } diff --git a/src/Api/tGetAuthorOutput.php b/src/Api/tGetAuthorOutput.php index a245f53..8f5287e 100644 --- a/src/Api/tGetAuthorOutput.php +++ b/src/Api/tGetAuthorOutput.php @@ -4,31 +4,32 @@ class tGetAuthorOutput { + /** - * @var string + * @var string $userType */ protected $userType = null; /** - * @var string + * @var string $authorName */ protected $authorName = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** - * @param string $userType - * @param string $authorName + * @param string $userType + * @param string $authorName * @param tStatus $dmStatus */ public function __construct($userType = null, $authorName = null, $dmStatus = null) { - $this->userType = $userType; - $this->authorName = $authorName; - $this->dmStatus = $dmStatus; + $this->userType = $userType; + $this->authorName = $authorName; + $this->dmStatus = $dmStatus; } /** @@ -36,19 +37,17 @@ public function __construct($userType = null, $authorName = null, $dmStatus = nu */ public function getUserType() { - return $this->userType; + return $this->userType; } /** * @param string $userType - * * @return \Defr\CzechDataBox\Api\tGetAuthorOutput */ public function setUserType($userType) { - $this->userType = $userType; - - return $this; + $this->userType = $userType; + return $this; } /** @@ -56,19 +55,17 @@ public function setUserType($userType) */ public function getAuthorName() { - return $this->authorName; + return $this->authorName; } /** * @param string $authorName - * * @return \Defr\CzechDataBox\Api\tGetAuthorOutput */ public function setAuthorName($authorName) { - $this->authorName = $authorName; - - return $this; + $this->authorName = $authorName; + return $this; } /** @@ -76,18 +73,17 @@ public function setAuthorName($authorName) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tGetAuthorOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tGetDBListInput.php b/src/Api/tGetDBListInput.php index 04089bf..bc70618 100644 --- a/src/Api/tGetDBListInput.php +++ b/src/Api/tGetDBListInput.php @@ -4,8 +4,9 @@ class tGetDBListInput { + /** - * @var string + * @var string $dblType */ protected $dblType = null; @@ -14,7 +15,7 @@ class tGetDBListInput */ public function __construct($dblType = null) { - $this->dblType = $dblType; + $this->dblType = $dblType; } /** @@ -22,18 +23,17 @@ public function __construct($dblType = null) */ public function getDblType() { - return $this->dblType; + return $this->dblType; } /** * @param string $dblType - * * @return \Defr\CzechDataBox\Api\tGetDBListInput */ public function setDblType($dblType) { - $this->dblType = $dblType; - - return $this; + $this->dblType = $dblType; + return $this; } + } diff --git a/src/Api/tGetDBListOutput.php b/src/Api/tGetDBListOutput.php index 35bbaac..0f011dc 100644 --- a/src/Api/tGetDBListOutput.php +++ b/src/Api/tGetDBListOutput.php @@ -4,13 +4,14 @@ class tGetDBListOutput { + /** - * @var base64Binary + * @var base64Binary $dblData */ protected $dblData = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; @@ -20,8 +21,8 @@ class tGetDBListOutput */ public function __construct($dblData = null, $dbStatus = null) { - $this->dblData = $dblData; - $this->dbStatus = $dbStatus; + $this->dblData = $dblData; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dblData = null, $dbStatus = null) */ public function getDblData() { - return $this->dblData; + return $this->dblData; } /** * @param base64Binary $dblData - * * @return \Defr\CzechDataBox\Api\tGetDBListOutput */ public function setDblData($dblData) { - $this->dblData = $dblData; - - return $this; + $this->dblData = $dblData; + return $this; } /** @@ -49,18 +48,17 @@ public function setDblData($dblData) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tGetDBListOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tGetDBUsersOutput.php b/src/Api/tGetDBUsersOutput.php index bc0288a..7b623cb 100644 --- a/src/Api/tGetDBUsersOutput.php +++ b/src/Api/tGetDBUsersOutput.php @@ -4,24 +4,25 @@ class tGetDBUsersOutput { + /** - * @var tDbUsersArray + * @var tDbUsersArray $dbUsers */ protected $dbUsers = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** * @param tDbUsersArray $dbUsers - * @param tDbReqStatus $dbStatus + * @param tDbReqStatus $dbStatus */ public function __construct($dbUsers = null, $dbStatus = null) { - $this->dbUsers = $dbUsers; - $this->dbStatus = $dbStatus; + $this->dbUsers = $dbUsers; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbUsers = null, $dbStatus = null) */ public function getDbUsers() { - return $this->dbUsers; + return $this->dbUsers; } /** * @param tDbUsersArray $dbUsers - * * @return \Defr\CzechDataBox\Api\tGetDBUsersOutput */ public function setDbUsers($dbUsers) { - $this->dbUsers = $dbUsers; - - return $this; + $this->dbUsers = $dbUsers; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbUsers($dbUsers) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tGetDBUsersOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tGetOwnInfoOutput.php b/src/Api/tGetOwnInfoOutput.php index ccd372a..a6a7b2d 100644 --- a/src/Api/tGetOwnInfoOutput.php +++ b/src/Api/tGetOwnInfoOutput.php @@ -4,13 +4,14 @@ class tGetOwnInfoOutput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; @@ -20,8 +21,8 @@ class tGetOwnInfoOutput */ public function __construct($dbOwnerInfo = null, $dbStatus = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbStatus = $dbStatus; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbOwnerInfo = null, $dbStatus = null) */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tGetPasswInfoOutput.php b/src/Api/tGetPasswInfoOutput.php index 0619bb1..07d62b6 100644 --- a/src/Api/tGetPasswInfoOutput.php +++ b/src/Api/tGetPasswInfoOutput.php @@ -4,24 +4,25 @@ class tGetPasswInfoOutput { + /** - * @var \DateTime + * @var \DateTime $pswExpDate */ protected $pswExpDate = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param \DateTime $pswExpDate + * @param \DateTime $pswExpDate * @param tDbReqStatus $dbStatus */ public function __construct(\DateTime $pswExpDate = null, $dbStatus = null) { - $this->pswExpDate = $pswExpDate ? $pswExpDate->format(\DateTime::ATOM) : null; - $this->dbStatus = $dbStatus; + $this->pswExpDate = $pswExpDate ? $pswExpDate->format(\DateTime::ATOM) : null; + $this->dbStatus = $dbStatus; } /** @@ -29,27 +30,25 @@ public function __construct(\DateTime $pswExpDate = null, $dbStatus = null) */ public function getPswExpDate() { - if ($this->pswExpDate == null) { - return; - } else { - try { - return new \DateTime($this->pswExpDate); - } catch (\Exception $e) { - return false; - } + if ($this->pswExpDate == null) { + return null; + } else { + try { + return new \DateTime($this->pswExpDate); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $pswExpDate - * * @return \Defr\CzechDataBox\Api\tGetPasswInfoOutput */ public function setPswExpDate(\DateTime $pswExpDate) { - $this->pswExpDate = $pswExpDate->format(\DateTime::ATOM); - - return $this; + $this->pswExpDate = $pswExpDate->format(\DateTime::ATOM); + return $this; } /** @@ -57,18 +56,17 @@ public function setPswExpDate(\DateTime $pswExpDate) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tGetPasswInfoOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tGetStateChangesInput.php b/src/Api/tGetStateChangesInput.php index 8166cd3..448c272 100644 --- a/src/Api/tGetStateChangesInput.php +++ b/src/Api/tGetStateChangesInput.php @@ -4,13 +4,14 @@ class tGetStateChangesInput { + /** - * @var \DateTime + * @var \DateTime $dmFromTime */ protected $dmFromTime = null; /** - * @var \DateTime + * @var \DateTime $dmToTime */ protected $dmToTime = null; @@ -20,8 +21,8 @@ class tGetStateChangesInput */ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = null) { - $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; - $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; + $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; + $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; } /** @@ -29,27 +30,25 @@ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = */ public function getDmFromTime() { - if ($this->dmFromTime == null) { - return; - } else { - try { - return new \DateTime($this->dmFromTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmFromTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmFromTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmFromTime - * * @return \Defr\CzechDataBox\Api\tGetStateChangesInput */ public function setDmFromTime(\DateTime $dmFromTime) { - $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); - - return $this; + $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); + return $this; } /** @@ -57,26 +56,25 @@ public function setDmFromTime(\DateTime $dmFromTime) */ public function getDmToTime() { - if ($this->dmToTime == null) { - return; - } else { - try { - return new \DateTime($this->dmToTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmToTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmToTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmToTime - * * @return \Defr\CzechDataBox\Api\tGetStateChangesInput */ public function setDmToTime(\DateTime $dmToTime) { - $this->dmToTime = $dmToTime->format(\DateTime::ATOM); - - return $this; + $this->dmToTime = $dmToTime->format(\DateTime::ATOM); + return $this; } + } diff --git a/src/Api/tGetStateChangesOutput.php b/src/Api/tGetStateChangesOutput.php index 135d405..335465b 100644 --- a/src/Api/tGetStateChangesOutput.php +++ b/src/Api/tGetStateChangesOutput.php @@ -4,24 +4,25 @@ class tGetStateChangesOutput { + /** - * @var tStateChangesArray + * @var tStateChangesArray $dmRecords */ protected $dmRecords = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tStateChangesArray $dmRecords - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmRecords = null, $dmStatus = null) { - $this->dmRecords = $dmRecords; - $this->dmStatus = $dmStatus; + $this->dmRecords = $dmRecords; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmRecords = null, $dmStatus = null) */ public function getDmRecords() { - return $this->dmRecords; + return $this->dmRecords; } /** * @param tStateChangesArray $dmRecords - * * @return \Defr\CzechDataBox\Api\tGetStateChangesOutput */ public function setDmRecords($dmRecords) { - $this->dmRecords = $dmRecords; - - return $this; + $this->dmRecords = $dmRecords; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmRecords($dmRecords) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tGetStateChangesOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tGetUserInfoOutput.php b/src/Api/tGetUserInfoOutput.php index d728cb0..51dd068 100644 --- a/src/Api/tGetUserInfoOutput.php +++ b/src/Api/tGetUserInfoOutput.php @@ -4,24 +4,25 @@ class tGetUserInfoOutput { + /** - * @var tDbUserInfo + * @var tDbUserInfo $dbUserInfo */ protected $dbUserInfo = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tDbUserInfo $dbUserInfo + * @param tDbUserInfo $dbUserInfo * @param tDbReqStatus $dbStatus */ public function __construct($dbUserInfo = null, $dbStatus = null) { - $this->dbUserInfo = $dbUserInfo; - $this->dbStatus = $dbStatus; + $this->dbUserInfo = $dbUserInfo; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbUserInfo = null, $dbStatus = null) */ public function getDbUserInfo() { - return $this->dbUserInfo; + return $this->dbUserInfo; } /** * @param tDbUserInfo $dbUserInfo - * * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput */ public function setDbUserInfo($dbUserInfo) { - $this->dbUserInfo = $dbUserInfo; - - return $this; + $this->dbUserInfo = $dbUserInfo; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbUserInfo($dbUserInfo) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tHash.php b/src/Api/tHash.php index 1910ac0..44f0b29 100644 --- a/src/Api/tHash.php +++ b/src/Api/tHash.php @@ -4,24 +4,25 @@ class tHash { + /** - * @var base64Binary + * @var base64Binary $_ */ protected $_ = null; /** - * @var string + * @var string $algorithm */ protected $algorithm = null; /** * @param base64Binary $_ - * @param string $algorithm + * @param string $algorithm */ public function __construct($_ = null, $algorithm = null) { - $this->_ = $_; - $this->algorithm = $algorithm; + $this->_ = $_; + $this->algorithm = $algorithm; } /** @@ -29,19 +30,17 @@ public function __construct($_ = null, $algorithm = null) */ public function get_() { - return $this->_; + return $this->_; } /** * @param base64Binary $_ - * * @return \Defr\CzechDataBox\Api\tHash */ public function set_($_) { - $this->_ = $_; - - return $this; + $this->_ = $_; + return $this; } /** @@ -49,18 +48,17 @@ public function set_($_) */ public function getAlgorithm() { - return $this->algorithm; + return $this->algorithm; } /** * @param string $algorithm - * * @return \Defr\CzechDataBox\Api\tHash */ public function setAlgorithm($algorithm) { - $this->algorithm = $algorithm; - - return $this; + $this->algorithm = $algorithm; + return $this; } + } diff --git a/src/Api/tIDMessInput.php b/src/Api/tIDMessInput.php index 6fb26c5..3572e56 100644 --- a/src/Api/tIDMessInput.php +++ b/src/Api/tIDMessInput.php @@ -4,8 +4,9 @@ class tIDMessInput { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; @@ -14,7 +15,7 @@ class tIDMessInput */ public function __construct($dmID = null) { - $this->dmID = $dmID; + $this->dmID = $dmID; } /** @@ -22,18 +23,17 @@ public function __construct($dmID = null) */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tIDMessInput */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } + } diff --git a/src/Api/tIdDbInput.php b/src/Api/tIdDbInput.php index 99fc14b..3247d7f 100644 --- a/src/Api/tIdDbInput.php +++ b/src/Api/tIdDbInput.php @@ -4,31 +4,32 @@ class tIdDbInput { + /** - * @var tIdDb + * @var tIdDb $dbID */ protected $dbID = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** - * @param tIdDb $dbID - * @param bool $dbApproved + * @param tIdDb $dbID + * @param boolean $dbApproved * @param string $dbExternRefNumber */ public function __construct($dbID = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbID = $dbID; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbID = $dbID; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -36,39 +37,35 @@ public function __construct($dbID = null, $dbApproved = null, $dbExternRefNumber */ public function getDbID() { - return $this->dbID; + return $this->dbID; } /** * @param tIdDb $dbID - * * @return \Defr\CzechDataBox\Api\tIdDbInput */ public function setDbID($dbID) { - $this->dbID = $dbID; - - return $this; + $this->dbID = $dbID; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tIdDbInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tIdDbInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tListOfFReceivedInput.php b/src/Api/tListOfFReceivedInput.php index 447f2aa..97c9a03 100644 --- a/src/Api/tListOfFReceivedInput.php +++ b/src/Api/tListOfFReceivedInput.php @@ -4,52 +4,53 @@ class tListOfFReceivedInput { + /** - * @var \DateTime + * @var \DateTime $dmFromTime */ protected $dmFromTime = null; /** - * @var \DateTime + * @var \DateTime $dmToTime */ protected $dmToTime = null; /** - * @var int + * @var int $dmRecipientOrgUnitNum */ protected $dmRecipientOrgUnitNum = null; /** - * @var string + * @var string $dmStatusFilter */ protected $dmStatusFilter = null; /** - * @var int + * @var int $dmOffset */ protected $dmOffset = null; /** - * @var int + * @var int $dmLimit */ protected $dmLimit = null; /** * @param \DateTime $dmFromTime * @param \DateTime $dmToTime - * @param int $dmRecipientOrgUnitNum - * @param string $dmStatusFilter - * @param int $dmOffset - * @param int $dmLimit + * @param int $dmRecipientOrgUnitNum + * @param string $dmStatusFilter + * @param int $dmOffset + * @param int $dmLimit */ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = null, $dmRecipientOrgUnitNum = null, $dmStatusFilter = null, $dmOffset = null, $dmLimit = null) { - $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; - $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - $this->dmStatusFilter = $dmStatusFilter; - $this->dmOffset = $dmOffset; - $this->dmLimit = $dmLimit; + $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; + $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + $this->dmStatusFilter = $dmStatusFilter; + $this->dmOffset = $dmOffset; + $this->dmLimit = $dmLimit; } /** @@ -57,27 +58,25 @@ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = */ public function getDmFromTime() { - if ($this->dmFromTime == null) { - return; - } else { - try { - return new \DateTime($this->dmFromTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmFromTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmFromTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmFromTime - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmFromTime(\DateTime $dmFromTime) { - $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); - - return $this; + $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); + return $this; } /** @@ -85,27 +84,25 @@ public function setDmFromTime(\DateTime $dmFromTime) */ public function getDmToTime() { - if ($this->dmToTime == null) { - return; - } else { - try { - return new \DateTime($this->dmToTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmToTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmToTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmToTime - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmToTime(\DateTime $dmToTime) { - $this->dmToTime = $dmToTime->format(\DateTime::ATOM); - - return $this; + $this->dmToTime = $dmToTime->format(\DateTime::ATOM); + return $this; } /** @@ -113,19 +110,17 @@ public function setDmToTime(\DateTime $dmToTime) */ public function getDmRecipientOrgUnitNum() { - return $this->dmRecipientOrgUnitNum; + return $this->dmRecipientOrgUnitNum; } /** * @param int $dmRecipientOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) { - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - - return $this; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + return $this; } /** @@ -133,19 +128,17 @@ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) */ public function getDmStatusFilter() { - return $this->dmStatusFilter; + return $this->dmStatusFilter; } /** * @param string $dmStatusFilter - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmStatusFilter($dmStatusFilter) { - $this->dmStatusFilter = $dmStatusFilter; - - return $this; + $this->dmStatusFilter = $dmStatusFilter; + return $this; } /** @@ -153,19 +146,17 @@ public function setDmStatusFilter($dmStatusFilter) */ public function getDmOffset() { - return $this->dmOffset; + return $this->dmOffset; } /** * @param int $dmOffset - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmOffset($dmOffset) { - $this->dmOffset = $dmOffset; - - return $this; + $this->dmOffset = $dmOffset; + return $this; } /** @@ -173,18 +164,17 @@ public function setDmOffset($dmOffset) */ public function getDmLimit() { - return $this->dmLimit; + return $this->dmLimit; } /** * @param int $dmLimit - * * @return \Defr\CzechDataBox\Api\tListOfFReceivedInput */ public function setDmLimit($dmLimit) { - $this->dmLimit = $dmLimit; - - return $this; + $this->dmLimit = $dmLimit; + return $this; } + } diff --git a/src/Api/tListOfMessOutput.php b/src/Api/tListOfMessOutput.php index 564fa7e..e960679 100644 --- a/src/Api/tListOfMessOutput.php +++ b/src/Api/tListOfMessOutput.php @@ -4,24 +4,25 @@ class tListOfMessOutput { + /** - * @var tRecordsArray + * @var tRecordsArray $dmRecords */ protected $dmRecords = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tRecordsArray $dmRecords - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmRecords = null, $dmStatus = null) { - $this->dmRecords = $dmRecords; - $this->dmStatus = $dmStatus; + $this->dmRecords = $dmRecords; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmRecords = null, $dmStatus = null) */ public function getDmRecords() { - return $this->dmRecords; + return $this->dmRecords; } /** * @param tRecordsArray $dmRecords - * * @return \Defr\CzechDataBox\Api\tListOfMessOutput */ public function setDmRecords($dmRecords) { - $this->dmRecords = $dmRecords; - - return $this; + $this->dmRecords = $dmRecords; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmRecords($dmRecords) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tListOfMessOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tListOfSentInput.php b/src/Api/tListOfSentInput.php index c734ecf..adc0fa2 100644 --- a/src/Api/tListOfSentInput.php +++ b/src/Api/tListOfSentInput.php @@ -4,52 +4,53 @@ class tListOfSentInput { + /** - * @var \DateTime + * @var \DateTime $dmFromTime */ protected $dmFromTime = null; /** - * @var \DateTime + * @var \DateTime $dmToTime */ protected $dmToTime = null; /** - * @var int + * @var int $dmSenderOrgUnitNum */ protected $dmSenderOrgUnitNum = null; /** - * @var string + * @var string $dmStatusFilter */ protected $dmStatusFilter = null; /** - * @var int + * @var int $dmOffset */ protected $dmOffset = null; /** - * @var int + * @var int $dmLimit */ protected $dmLimit = null; /** * @param \DateTime $dmFromTime * @param \DateTime $dmToTime - * @param int $dmSenderOrgUnitNum - * @param string $dmStatusFilter - * @param int $dmOffset - * @param int $dmLimit + * @param int $dmSenderOrgUnitNum + * @param string $dmStatusFilter + * @param int $dmOffset + * @param int $dmLimit */ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = null, $dmSenderOrgUnitNum = null, $dmStatusFilter = null, $dmOffset = null, $dmLimit = null) { - $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; - $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - $this->dmStatusFilter = $dmStatusFilter; - $this->dmOffset = $dmOffset; - $this->dmLimit = $dmLimit; + $this->dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null; + $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + $this->dmStatusFilter = $dmStatusFilter; + $this->dmOffset = $dmOffset; + $this->dmLimit = $dmLimit; } /** @@ -57,27 +58,25 @@ public function __construct(\DateTime $dmFromTime = null, \DateTime $dmToTime = */ public function getDmFromTime() { - if ($this->dmFromTime == null) { - return; - } else { - try { - return new \DateTime($this->dmFromTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmFromTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmFromTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmFromTime - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmFromTime(\DateTime $dmFromTime) { - $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); - - return $this; + $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM); + return $this; } /** @@ -85,27 +84,25 @@ public function setDmFromTime(\DateTime $dmFromTime) */ public function getDmToTime() { - if ($this->dmToTime == null) { - return; - } else { - try { - return new \DateTime($this->dmToTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmToTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmToTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmToTime - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmToTime(\DateTime $dmToTime) { - $this->dmToTime = $dmToTime->format(\DateTime::ATOM); - - return $this; + $this->dmToTime = $dmToTime->format(\DateTime::ATOM); + return $this; } /** @@ -113,19 +110,17 @@ public function setDmToTime(\DateTime $dmToTime) */ public function getDmSenderOrgUnitNum() { - return $this->dmSenderOrgUnitNum; + return $this->dmSenderOrgUnitNum; } /** * @param int $dmSenderOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) { - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - - return $this; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + return $this; } /** @@ -133,19 +128,17 @@ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) */ public function getDmStatusFilter() { - return $this->dmStatusFilter; + return $this->dmStatusFilter; } /** * @param string $dmStatusFilter - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmStatusFilter($dmStatusFilter) { - $this->dmStatusFilter = $dmStatusFilter; - - return $this; + $this->dmStatusFilter = $dmStatusFilter; + return $this; } /** @@ -153,19 +146,17 @@ public function setDmStatusFilter($dmStatusFilter) */ public function getDmOffset() { - return $this->dmOffset; + return $this->dmOffset; } /** * @param int $dmOffset - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmOffset($dmOffset) { - $this->dmOffset = $dmOffset; - - return $this; + $this->dmOffset = $dmOffset; + return $this; } /** @@ -173,18 +164,17 @@ public function setDmOffset($dmOffset) */ public function getDmLimit() { - return $this->dmLimit; + return $this->dmLimit; } /** * @param int $dmLimit - * * @return \Defr\CzechDataBox\Api\tListOfSentInput */ public function setDmLimit($dmLimit) { - $this->dmLimit = $dmLimit; - - return $this; + $this->dmLimit = $dmLimit; + return $this; } + } diff --git a/src/Api/tMStatus.php b/src/Api/tMStatus.php index b6a214c..4272b99 100644 --- a/src/Api/tMStatus.php +++ b/src/Api/tMStatus.php @@ -4,24 +4,25 @@ class tMStatus { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** - * @param tIdDm $dmID + * @param tIdDm $dmID * @param tStatus $dmStatus */ public function __construct($dmID = null, $dmStatus = null) { - $this->dmID = $dmID; - $this->dmStatus = $dmStatus; + $this->dmID = $dmID; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmID = null, $dmStatus = null) */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tMStatus */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmID($dmID) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMStatus */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMarkMessOutput.php b/src/Api/tMarkMessOutput.php index a956def..53518bf 100644 --- a/src/Api/tMarkMessOutput.php +++ b/src/Api/tMarkMessOutput.php @@ -4,8 +4,9 @@ class tMarkMessOutput { + /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; @@ -14,7 +15,7 @@ class tMarkMessOutput */ public function __construct($dmStatus = null) { - $this->dmStatus = $dmStatus; + $this->dmStatus = $dmStatus; } /** @@ -22,18 +23,17 @@ public function __construct($dmStatus = null) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMarkMessOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMessDownOutput.php b/src/Api/tMessDownOutput.php index b140b60..31a8557 100644 --- a/src/Api/tMessDownOutput.php +++ b/src/Api/tMessDownOutput.php @@ -4,24 +4,25 @@ class tMessDownOutput { + /** - * @var tReturnedMessage + * @var tReturnedMessage $dmReturnedMessage */ protected $dmReturnedMessage = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tReturnedMessage $dmReturnedMessage - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmReturnedMessage = null, $dmStatus = null) { - $this->dmReturnedMessage = $dmReturnedMessage; - $this->dmStatus = $dmStatus; + $this->dmReturnedMessage = $dmReturnedMessage; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmReturnedMessage = null, $dmStatus = null) */ public function getDmReturnedMessage() { - return $this->dmReturnedMessage; + return $this->dmReturnedMessage; } /** * @param tReturnedMessage $dmReturnedMessage - * * @return \Defr\CzechDataBox\Api\tMessDownOutput */ public function setDmReturnedMessage($dmReturnedMessage) { - $this->dmReturnedMessage = $dmReturnedMessage; - - return $this; + $this->dmReturnedMessage = $dmReturnedMessage; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmReturnedMessage($dmReturnedMessage) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMessDownOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMessEnvelDownOutput.php b/src/Api/tMessEnvelDownOutput.php index b2c56ac..7e40c96 100644 --- a/src/Api/tMessEnvelDownOutput.php +++ b/src/Api/tMessEnvelDownOutput.php @@ -4,24 +4,25 @@ class tMessEnvelDownOutput { + /** - * @var tReturnedMessageEnvelope + * @var tReturnedMessageEnvelope $dmReturnedMessageEnvelope */ protected $dmReturnedMessageEnvelope = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tReturnedMessageEnvelope $dmReturnedMessageEnvelope - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmReturnedMessageEnvelope = null, $dmStatus = null) { - $this->dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope; - $this->dmStatus = $dmStatus; + $this->dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmReturnedMessageEnvelope = null, $dmStatus = null) */ public function getDmReturnedMessageEnvelope() { - return $this->dmReturnedMessageEnvelope; + return $this->dmReturnedMessageEnvelope; } /** * @param tReturnedMessageEnvelope $dmReturnedMessageEnvelope - * * @return \Defr\CzechDataBox\Api\tMessEnvelDownOutput */ public function setDmReturnedMessageEnvelope($dmReturnedMessageEnvelope) { - $this->dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope; - - return $this; + $this->dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmReturnedMessageEnvelope($dmReturnedMessageEnvelope) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMessEnvelDownOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMessageCreateInput.php b/src/Api/tMessageCreateInput.php index 19037a5..fe8b36e 100644 --- a/src/Api/tMessageCreateInput.php +++ b/src/Api/tMessageCreateInput.php @@ -4,24 +4,25 @@ class tMessageCreateInput { + /** - * @var dmEnvelope + * @var dmEnvelope $dmEnvelope */ protected $dmEnvelope = null; /** - * @var tFilesArray + * @var tFilesArray $dmFiles */ protected $dmFiles = null; /** - * @param dmEnvelope $dmEnvelope + * @param dmEnvelope $dmEnvelope * @param tFilesArray $dmFiles */ public function __construct($dmEnvelope = null, $dmFiles = null) { - $this->dmEnvelope = $dmEnvelope; - $this->dmFiles = $dmFiles; + $this->dmEnvelope = $dmEnvelope; + $this->dmFiles = $dmFiles; } /** @@ -29,19 +30,17 @@ public function __construct($dmEnvelope = null, $dmFiles = null) */ public function getDmEnvelope() { - return $this->dmEnvelope; + return $this->dmEnvelope; } /** * @param dmEnvelope $dmEnvelope - * * @return \Defr\CzechDataBox\Api\tMessageCreateInput */ public function setDmEnvelope($dmEnvelope) { - $this->dmEnvelope = $dmEnvelope; - - return $this; + $this->dmEnvelope = $dmEnvelope; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmEnvelope($dmEnvelope) */ public function getDmFiles() { - return $this->dmFiles; + return $this->dmFiles; } /** * @param tFilesArray $dmFiles - * * @return \Defr\CzechDataBox\Api\tMessageCreateInput */ public function setDmFiles($dmFiles) { - $this->dmFiles = $dmFiles; - - return $this; + $this->dmFiles = $dmFiles; + return $this; } + } diff --git a/src/Api/tMessageCreateOutput.php b/src/Api/tMessageCreateOutput.php index 339e44d..b785295 100644 --- a/src/Api/tMessageCreateOutput.php +++ b/src/Api/tMessageCreateOutput.php @@ -4,24 +4,25 @@ class tMessageCreateOutput { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** - * @param tIdDm $dmID + * @param tIdDm $dmID * @param tStatus $dmStatus */ public function __construct($dmID = null, $dmStatus = null) { - $this->dmID = $dmID; - $this->dmStatus = $dmStatus; + $this->dmID = $dmID; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmID = null, $dmStatus = null) */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tMessageCreateOutput */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmID($dmID) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMessageCreateOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMessageEnvelopeSub.php b/src/Api/tMessageEnvelopeSub.php index 1c252ce..bbfd8c6 100644 --- a/src/Api/tMessageEnvelopeSub.php +++ b/src/Api/tMessageEnvelopeSub.php @@ -4,157 +4,158 @@ class tMessageEnvelopeSub { + /** - * @var string + * @var string $dmSenderOrgUnit */ protected $dmSenderOrgUnit = null; /** - * @var int + * @var int $dmSenderOrgUnitNum */ protected $dmSenderOrgUnitNum = null; /** - * @var tIdDb + * @var tIdDb $dbIDRecipient */ protected $dbIDRecipient = null; /** - * @var string + * @var string $dmRecipientOrgUnit */ protected $dmRecipientOrgUnit = null; /** - * @var int + * @var int $dmRecipientOrgUnitNum */ protected $dmRecipientOrgUnitNum = null; /** - * @var string + * @var string $dmToHands */ protected $dmToHands = null; /** - * @var dmAnnotation + * @var dmAnnotation $dmAnnotation */ protected $dmAnnotation = null; /** - * @var dmRecipientRefNumber + * @var dmRecipientRefNumber $dmRecipientRefNumber */ protected $dmRecipientRefNumber = null; /** - * @var dmSenderRefNumber + * @var dmSenderRefNumber $dmSenderRefNumber */ protected $dmSenderRefNumber = null; /** - * @var dmRecipientIdent + * @var dmRecipientIdent $dmRecipientIdent */ protected $dmRecipientIdent = null; /** - * @var dmSenderIdent + * @var dmSenderIdent $dmSenderIdent */ protected $dmSenderIdent = null; /** - * @var int + * @var int $dmLegalTitleLaw */ protected $dmLegalTitleLaw = null; /** - * @var int + * @var int $dmLegalTitleYear */ protected $dmLegalTitleYear = null; /** - * @var string + * @var string $dmLegalTitleSect */ protected $dmLegalTitleSect = null; /** - * @var string + * @var string $dmLegalTitlePar */ protected $dmLegalTitlePar = null; /** - * @var string + * @var string $dmLegalTitlePoint */ protected $dmLegalTitlePoint = null; /** - * @var bool + * @var boolean $dmPersonalDelivery */ protected $dmPersonalDelivery = null; /** - * @var bool + * @var boolean $dmAllowSubstDelivery */ protected $dmAllowSubstDelivery = null; /** - * @var bool + * @var boolean $dmOVM */ protected $dmOVM = null; /** - * @var bool + * @var boolean $dmPublishOwnID */ protected $dmPublishOwnID = null; /** - * @var tDmType + * @var tDmType $dmType */ protected $dmType = null; /** - * @param string $dmSenderOrgUnit - * @param int $dmSenderOrgUnitNum - * @param tIdDb $dbIDRecipient - * @param string $dmRecipientOrgUnit - * @param int $dmRecipientOrgUnitNum - * @param string $dmToHands - * @param dmAnnotation $dmAnnotation + * @param string $dmSenderOrgUnit + * @param int $dmSenderOrgUnitNum + * @param tIdDb $dbIDRecipient + * @param string $dmRecipientOrgUnit + * @param int $dmRecipientOrgUnitNum + * @param string $dmToHands + * @param dmAnnotation $dmAnnotation * @param dmRecipientRefNumber $dmRecipientRefNumber - * @param dmSenderRefNumber $dmSenderRefNumber - * @param dmRecipientIdent $dmRecipientIdent - * @param dmSenderIdent $dmSenderIdent - * @param int $dmLegalTitleLaw - * @param int $dmLegalTitleYear - * @param string $dmLegalTitleSect - * @param string $dmLegalTitlePar - * @param string $dmLegalTitlePoint - * @param bool $dmPersonalDelivery - * @param bool $dmAllowSubstDelivery - * @param bool $dmOVM - * @param bool $dmPublishOwnID - * @param tDmType $dmType + * @param dmSenderRefNumber $dmSenderRefNumber + * @param dmRecipientIdent $dmRecipientIdent + * @param dmSenderIdent $dmSenderIdent + * @param int $dmLegalTitleLaw + * @param int $dmLegalTitleYear + * @param string $dmLegalTitleSect + * @param string $dmLegalTitlePar + * @param string $dmLegalTitlePoint + * @param boolean $dmPersonalDelivery + * @param boolean $dmAllowSubstDelivery + * @param boolean $dmOVM + * @param boolean $dmPublishOwnID + * @param tDmType $dmType */ public function __construct($dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, $dbIDRecipient = null, $dmRecipientOrgUnit = null, $dmRecipientOrgUnitNum = null, $dmToHands = null, $dmAnnotation = null, $dmRecipientRefNumber = null, $dmSenderRefNumber = null, $dmRecipientIdent = null, $dmSenderIdent = null, $dmLegalTitleLaw = null, $dmLegalTitleYear = null, $dmLegalTitleSect = null, $dmLegalTitlePar = null, $dmLegalTitlePoint = null, $dmPersonalDelivery = null, $dmAllowSubstDelivery = null, $dmOVM = null, $dmPublishOwnID = null, $dmType = null) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - $this->dbIDRecipient = $dbIDRecipient; - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - $this->dmToHands = $dmToHands; - $this->dmAnnotation = $dmAnnotation; - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - $this->dmSenderRefNumber = $dmSenderRefNumber; - $this->dmRecipientIdent = $dmRecipientIdent; - $this->dmSenderIdent = $dmSenderIdent; - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - $this->dmLegalTitleYear = $dmLegalTitleYear; - $this->dmLegalTitleSect = $dmLegalTitleSect; - $this->dmLegalTitlePar = $dmLegalTitlePar; - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - $this->dmPersonalDelivery = $dmPersonalDelivery; - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - $this->dmOVM = $dmOVM; - $this->dmPublishOwnID = $dmPublishOwnID; - $this->dmType = $dmType; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + $this->dbIDRecipient = $dbIDRecipient; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + $this->dmToHands = $dmToHands; + $this->dmAnnotation = $dmAnnotation; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + $this->dmSenderRefNumber = $dmSenderRefNumber; + $this->dmRecipientIdent = $dmRecipientIdent; + $this->dmSenderIdent = $dmSenderIdent; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + $this->dmLegalTitleYear = $dmLegalTitleYear; + $this->dmLegalTitleSect = $dmLegalTitleSect; + $this->dmLegalTitlePar = $dmLegalTitlePar; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + $this->dmPersonalDelivery = $dmPersonalDelivery; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + $this->dmOVM = $dmOVM; + $this->dmPublishOwnID = $dmPublishOwnID; + $this->dmType = $dmType; } /** @@ -162,19 +163,17 @@ public function __construct($dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, */ public function getDmSenderOrgUnit() { - return $this->dmSenderOrgUnit; + return $this->dmSenderOrgUnit; } /** * @param string $dmSenderOrgUnit - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmSenderOrgUnit($dmSenderOrgUnit) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - - return $this; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + return $this; } /** @@ -182,19 +181,17 @@ public function setDmSenderOrgUnit($dmSenderOrgUnit) */ public function getDmSenderOrgUnitNum() { - return $this->dmSenderOrgUnitNum; + return $this->dmSenderOrgUnitNum; } /** * @param int $dmSenderOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) { - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - - return $this; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + return $this; } /** @@ -202,19 +199,17 @@ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) */ public function getDbIDRecipient() { - return $this->dbIDRecipient; + return $this->dbIDRecipient; } /** * @param tIdDb $dbIDRecipient - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDbIDRecipient($dbIDRecipient) { - $this->dbIDRecipient = $dbIDRecipient; - - return $this; + $this->dbIDRecipient = $dbIDRecipient; + return $this; } /** @@ -222,19 +217,17 @@ public function setDbIDRecipient($dbIDRecipient) */ public function getDmRecipientOrgUnit() { - return $this->dmRecipientOrgUnit; + return $this->dmRecipientOrgUnit; } /** * @param string $dmRecipientOrgUnit - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) { - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - - return $this; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + return $this; } /** @@ -242,19 +235,17 @@ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) */ public function getDmRecipientOrgUnitNum() { - return $this->dmRecipientOrgUnitNum; + return $this->dmRecipientOrgUnitNum; } /** * @param int $dmRecipientOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) { - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - - return $this; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + return $this; } /** @@ -262,19 +253,17 @@ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) */ public function getDmToHands() { - return $this->dmToHands; + return $this->dmToHands; } /** * @param string $dmToHands - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmToHands($dmToHands) { - $this->dmToHands = $dmToHands; - - return $this; + $this->dmToHands = $dmToHands; + return $this; } /** @@ -282,19 +271,17 @@ public function setDmToHands($dmToHands) */ public function getDmAnnotation() { - return $this->dmAnnotation; + return $this->dmAnnotation; } /** * @param dmAnnotation $dmAnnotation - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmAnnotation($dmAnnotation) { - $this->dmAnnotation = $dmAnnotation; - - return $this; + $this->dmAnnotation = $dmAnnotation; + return $this; } /** @@ -302,19 +289,17 @@ public function setDmAnnotation($dmAnnotation) */ public function getDmRecipientRefNumber() { - return $this->dmRecipientRefNumber; + return $this->dmRecipientRefNumber; } /** * @param dmRecipientRefNumber $dmRecipientRefNumber - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmRecipientRefNumber($dmRecipientRefNumber) { - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - - return $this; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + return $this; } /** @@ -322,19 +307,17 @@ public function setDmRecipientRefNumber($dmRecipientRefNumber) */ public function getDmSenderRefNumber() { - return $this->dmSenderRefNumber; + return $this->dmSenderRefNumber; } /** * @param dmSenderRefNumber $dmSenderRefNumber - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmSenderRefNumber($dmSenderRefNumber) { - $this->dmSenderRefNumber = $dmSenderRefNumber; - - return $this; + $this->dmSenderRefNumber = $dmSenderRefNumber; + return $this; } /** @@ -342,19 +325,17 @@ public function setDmSenderRefNumber($dmSenderRefNumber) */ public function getDmRecipientIdent() { - return $this->dmRecipientIdent; + return $this->dmRecipientIdent; } /** * @param dmRecipientIdent $dmRecipientIdent - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmRecipientIdent($dmRecipientIdent) { - $this->dmRecipientIdent = $dmRecipientIdent; - - return $this; + $this->dmRecipientIdent = $dmRecipientIdent; + return $this; } /** @@ -362,19 +343,17 @@ public function setDmRecipientIdent($dmRecipientIdent) */ public function getDmSenderIdent() { - return $this->dmSenderIdent; + return $this->dmSenderIdent; } /** * @param dmSenderIdent $dmSenderIdent - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmSenderIdent($dmSenderIdent) { - $this->dmSenderIdent = $dmSenderIdent; - - return $this; + $this->dmSenderIdent = $dmSenderIdent; + return $this; } /** @@ -382,19 +361,17 @@ public function setDmSenderIdent($dmSenderIdent) */ public function getDmLegalTitleLaw() { - return $this->dmLegalTitleLaw; + return $this->dmLegalTitleLaw; } /** * @param int $dmLegalTitleLaw - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmLegalTitleLaw($dmLegalTitleLaw) { - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - - return $this; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + return $this; } /** @@ -402,19 +379,17 @@ public function setDmLegalTitleLaw($dmLegalTitleLaw) */ public function getDmLegalTitleYear() { - return $this->dmLegalTitleYear; + return $this->dmLegalTitleYear; } /** * @param int $dmLegalTitleYear - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmLegalTitleYear($dmLegalTitleYear) { - $this->dmLegalTitleYear = $dmLegalTitleYear; - - return $this; + $this->dmLegalTitleYear = $dmLegalTitleYear; + return $this; } /** @@ -422,19 +397,17 @@ public function setDmLegalTitleYear($dmLegalTitleYear) */ public function getDmLegalTitleSect() { - return $this->dmLegalTitleSect; + return $this->dmLegalTitleSect; } /** * @param string $dmLegalTitleSect - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmLegalTitleSect($dmLegalTitleSect) { - $this->dmLegalTitleSect = $dmLegalTitleSect; - - return $this; + $this->dmLegalTitleSect = $dmLegalTitleSect; + return $this; } /** @@ -442,19 +415,17 @@ public function setDmLegalTitleSect($dmLegalTitleSect) */ public function getDmLegalTitlePar() { - return $this->dmLegalTitlePar; + return $this->dmLegalTitlePar; } /** * @param string $dmLegalTitlePar - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmLegalTitlePar($dmLegalTitlePar) { - $this->dmLegalTitlePar = $dmLegalTitlePar; - - return $this; + $this->dmLegalTitlePar = $dmLegalTitlePar; + return $this; } /** @@ -462,99 +433,89 @@ public function setDmLegalTitlePar($dmLegalTitlePar) */ public function getDmLegalTitlePoint() { - return $this->dmLegalTitlePoint; + return $this->dmLegalTitlePoint; } /** * @param string $dmLegalTitlePoint - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmLegalTitlePoint($dmLegalTitlePoint) { - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - - return $this; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPersonalDelivery() { - return $this->dmPersonalDelivery; + return $this->dmPersonalDelivery; } /** - * @param bool $dmPersonalDelivery - * + * @param boolean $dmPersonalDelivery * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmPersonalDelivery($dmPersonalDelivery) { - $this->dmPersonalDelivery = $dmPersonalDelivery; - - return $this; + $this->dmPersonalDelivery = $dmPersonalDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAllowSubstDelivery() { - return $this->dmAllowSubstDelivery; + return $this->dmAllowSubstDelivery; } /** - * @param bool $dmAllowSubstDelivery - * + * @param boolean $dmAllowSubstDelivery * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmAllowSubstDelivery($dmAllowSubstDelivery) { - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - - return $this; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmOVM() { - return $this->dmOVM; + return $this->dmOVM; } /** - * @param bool $dmOVM - * + * @param boolean $dmOVM * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmOVM($dmOVM) { - $this->dmOVM = $dmOVM; - - return $this; + $this->dmOVM = $dmOVM; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPublishOwnID() { - return $this->dmPublishOwnID; + return $this->dmPublishOwnID; } /** - * @param bool $dmPublishOwnID - * + * @param boolean $dmPublishOwnID * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmPublishOwnID($dmPublishOwnID) { - $this->dmPublishOwnID = $dmPublishOwnID; - - return $this; + $this->dmPublishOwnID = $dmPublishOwnID; + return $this; } /** @@ -562,18 +523,17 @@ public function setDmPublishOwnID($dmPublishOwnID) */ public function getDmType() { - return $this->dmType; + return $this->dmType; } /** * @param tDmType $dmType - * * @return \Defr\CzechDataBox\Api\tMessageEnvelopeSub */ public function setDmType($dmType) { - $this->dmType = $dmType; - - return $this; + $this->dmType = $dmType; + return $this; } + } diff --git a/src/Api/tMessageVerifyOutput.php b/src/Api/tMessageVerifyOutput.php index e70061b..351d704 100644 --- a/src/Api/tMessageVerifyOutput.php +++ b/src/Api/tMessageVerifyOutput.php @@ -4,24 +4,25 @@ class tMessageVerifyOutput { + /** - * @var tHash + * @var tHash $dmHash */ protected $dmHash = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** - * @param tHash $dmHash + * @param tHash $dmHash * @param tStatus $dmStatus */ public function __construct($dmHash = null, $dmStatus = null) { - $this->dmHash = $dmHash; - $this->dmStatus = $dmStatus; + $this->dmHash = $dmHash; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmHash = null, $dmStatus = null) */ public function getDmHash() { - return $this->dmHash; + return $this->dmHash; } /** * @param tHash $dmHash - * * @return \Defr\CzechDataBox\Api\tMessageVerifyOutput */ public function setDmHash($dmHash) { - $this->dmHash = $dmHash; - - return $this; + $this->dmHash = $dmHash; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmHash($dmHash) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMessageVerifyOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMultipleMessageCreateInput.php b/src/Api/tMultipleMessageCreateInput.php index 414a667..55f1723 100644 --- a/src/Api/tMultipleMessageCreateInput.php +++ b/src/Api/tMultipleMessageCreateInput.php @@ -4,31 +4,32 @@ class tMultipleMessageCreateInput { + /** - * @var tMultipleMessageRecipients + * @var tMultipleMessageRecipients $dmRecipients */ protected $dmRecipients = null; /** - * @var dmEnvelope + * @var dmEnvelope $dmEnvelope */ protected $dmEnvelope = null; /** - * @var tFilesArray + * @var tFilesArray $dmFiles */ protected $dmFiles = null; /** * @param tMultipleMessageRecipients $dmRecipients - * @param dmEnvelope $dmEnvelope - * @param tFilesArray $dmFiles + * @param dmEnvelope $dmEnvelope + * @param tFilesArray $dmFiles */ public function __construct($dmRecipients = null, $dmEnvelope = null, $dmFiles = null) { - $this->dmRecipients = $dmRecipients; - $this->dmEnvelope = $dmEnvelope; - $this->dmFiles = $dmFiles; + $this->dmRecipients = $dmRecipients; + $this->dmEnvelope = $dmEnvelope; + $this->dmFiles = $dmFiles; } /** @@ -36,19 +37,17 @@ public function __construct($dmRecipients = null, $dmEnvelope = null, $dmFiles = */ public function getDmRecipients() { - return $this->dmRecipients; + return $this->dmRecipients; } /** * @param tMultipleMessageRecipients $dmRecipients - * * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput */ public function setDmRecipients($dmRecipients) { - $this->dmRecipients = $dmRecipients; - - return $this; + $this->dmRecipients = $dmRecipients; + return $this; } /** @@ -56,19 +55,17 @@ public function setDmRecipients($dmRecipients) */ public function getDmEnvelope() { - return $this->dmEnvelope; + return $this->dmEnvelope; } /** * @param dmEnvelope $dmEnvelope - * * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput */ public function setDmEnvelope($dmEnvelope) { - $this->dmEnvelope = $dmEnvelope; - - return $this; + $this->dmEnvelope = $dmEnvelope; + return $this; } /** @@ -76,18 +73,17 @@ public function setDmEnvelope($dmEnvelope) */ public function getDmFiles() { - return $this->dmFiles; + return $this->dmFiles; } /** * @param tFilesArray $dmFiles - * * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput */ public function setDmFiles($dmFiles) { - $this->dmFiles = $dmFiles; - - return $this; + $this->dmFiles = $dmFiles; + return $this; } + } diff --git a/src/Api/tMultipleMessageCreateOutput.php b/src/Api/tMultipleMessageCreateOutput.php index 9a0b376..fea5bd3 100644 --- a/src/Api/tMultipleMessageCreateOutput.php +++ b/src/Api/tMultipleMessageCreateOutput.php @@ -4,24 +4,25 @@ class tMultipleMessageCreateOutput { + /** - * @var tMultipleStatus + * @var tMultipleStatus $dmMultipleStatus */ protected $dmMultipleStatus = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param tMultipleStatus $dmMultipleStatus - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmMultipleStatus = null, $dmStatus = null) { - $this->dmMultipleStatus = $dmMultipleStatus; - $this->dmStatus = $dmStatus; + $this->dmMultipleStatus = $dmMultipleStatus; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmMultipleStatus = null, $dmStatus = null) */ public function getDmMultipleStatus() { - return $this->dmMultipleStatus; + return $this->dmMultipleStatus; } /** * @param tMultipleStatus $dmMultipleStatus - * * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateOutput */ public function setDmMultipleStatus($dmMultipleStatus) { - $this->dmMultipleStatus = $dmMultipleStatus; - - return $this; + $this->dmMultipleStatus = $dmMultipleStatus; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmMultipleStatus($dmMultipleStatus) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tMultipleMessageEnvelopeSub.php b/src/Api/tMultipleMessageEnvelopeSub.php index 43a1b00..9fc0e1e 100644 --- a/src/Api/tMultipleMessageEnvelopeSub.php +++ b/src/Api/tMultipleMessageEnvelopeSub.php @@ -4,122 +4,123 @@ class tMultipleMessageEnvelopeSub { + /** - * @var string + * @var string $dmSenderOrgUnit */ protected $dmSenderOrgUnit = null; /** - * @var int + * @var int $dmSenderOrgUnitNum */ protected $dmSenderOrgUnitNum = null; /** - * @var dmAnnotation + * @var dmAnnotation $dmAnnotation */ protected $dmAnnotation = null; /** - * @var dmRecipientRefNumber + * @var dmRecipientRefNumber $dmRecipientRefNumber */ protected $dmRecipientRefNumber = null; /** - * @var dmSenderRefNumber + * @var dmSenderRefNumber $dmSenderRefNumber */ protected $dmSenderRefNumber = null; /** - * @var dmRecipientIdent + * @var dmRecipientIdent $dmRecipientIdent */ protected $dmRecipientIdent = null; /** - * @var dmSenderIdent + * @var dmSenderIdent $dmSenderIdent */ protected $dmSenderIdent = null; /** - * @var int + * @var int $dmLegalTitleLaw */ protected $dmLegalTitleLaw = null; /** - * @var int + * @var int $dmLegalTitleYear */ protected $dmLegalTitleYear = null; /** - * @var string + * @var string $dmLegalTitleSect */ protected $dmLegalTitleSect = null; /** - * @var string + * @var string $dmLegalTitlePar */ protected $dmLegalTitlePar = null; /** - * @var string + * @var string $dmLegalTitlePoint */ protected $dmLegalTitlePoint = null; /** - * @var bool + * @var boolean $dmPersonalDelivery */ protected $dmPersonalDelivery = null; /** - * @var bool + * @var boolean $dmAllowSubstDelivery */ protected $dmAllowSubstDelivery = null; /** - * @var bool + * @var boolean $dmOVM */ protected $dmOVM = null; /** - * @var bool + * @var boolean $dmPublishOwnID */ protected $dmPublishOwnID = null; /** - * @param string $dmSenderOrgUnit - * @param int $dmSenderOrgUnitNum - * @param dmAnnotation $dmAnnotation + * @param string $dmSenderOrgUnit + * @param int $dmSenderOrgUnitNum + * @param dmAnnotation $dmAnnotation * @param dmRecipientRefNumber $dmRecipientRefNumber - * @param dmSenderRefNumber $dmSenderRefNumber - * @param dmRecipientIdent $dmRecipientIdent - * @param dmSenderIdent $dmSenderIdent - * @param int $dmLegalTitleLaw - * @param int $dmLegalTitleYear - * @param string $dmLegalTitleSect - * @param string $dmLegalTitlePar - * @param string $dmLegalTitlePoint - * @param bool $dmPersonalDelivery - * @param bool $dmAllowSubstDelivery - * @param bool $dmOVM - * @param bool $dmPublishOwnID + * @param dmSenderRefNumber $dmSenderRefNumber + * @param dmRecipientIdent $dmRecipientIdent + * @param dmSenderIdent $dmSenderIdent + * @param int $dmLegalTitleLaw + * @param int $dmLegalTitleYear + * @param string $dmLegalTitleSect + * @param string $dmLegalTitlePar + * @param string $dmLegalTitlePoint + * @param boolean $dmPersonalDelivery + * @param boolean $dmAllowSubstDelivery + * @param boolean $dmOVM + * @param boolean $dmPublishOwnID */ public function __construct($dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, $dmAnnotation = null, $dmRecipientRefNumber = null, $dmSenderRefNumber = null, $dmRecipientIdent = null, $dmSenderIdent = null, $dmLegalTitleLaw = null, $dmLegalTitleYear = null, $dmLegalTitleSect = null, $dmLegalTitlePar = null, $dmLegalTitlePoint = null, $dmPersonalDelivery = null, $dmAllowSubstDelivery = null, $dmOVM = null, $dmPublishOwnID = null) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - $this->dmAnnotation = $dmAnnotation; - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - $this->dmSenderRefNumber = $dmSenderRefNumber; - $this->dmRecipientIdent = $dmRecipientIdent; - $this->dmSenderIdent = $dmSenderIdent; - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - $this->dmLegalTitleYear = $dmLegalTitleYear; - $this->dmLegalTitleSect = $dmLegalTitleSect; - $this->dmLegalTitlePar = $dmLegalTitlePar; - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - $this->dmPersonalDelivery = $dmPersonalDelivery; - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - $this->dmOVM = $dmOVM; - $this->dmPublishOwnID = $dmPublishOwnID; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + $this->dmAnnotation = $dmAnnotation; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + $this->dmSenderRefNumber = $dmSenderRefNumber; + $this->dmRecipientIdent = $dmRecipientIdent; + $this->dmSenderIdent = $dmSenderIdent; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + $this->dmLegalTitleYear = $dmLegalTitleYear; + $this->dmLegalTitleSect = $dmLegalTitleSect; + $this->dmLegalTitlePar = $dmLegalTitlePar; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + $this->dmPersonalDelivery = $dmPersonalDelivery; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + $this->dmOVM = $dmOVM; + $this->dmPublishOwnID = $dmPublishOwnID; } /** @@ -127,19 +128,17 @@ public function __construct($dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, */ public function getDmSenderOrgUnit() { - return $this->dmSenderOrgUnit; + return $this->dmSenderOrgUnit; } /** * @param string $dmSenderOrgUnit - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmSenderOrgUnit($dmSenderOrgUnit) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - - return $this; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + return $this; } /** @@ -147,19 +146,17 @@ public function setDmSenderOrgUnit($dmSenderOrgUnit) */ public function getDmSenderOrgUnitNum() { - return $this->dmSenderOrgUnitNum; + return $this->dmSenderOrgUnitNum; } /** * @param int $dmSenderOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) { - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - - return $this; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + return $this; } /** @@ -167,19 +164,17 @@ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) */ public function getDmAnnotation() { - return $this->dmAnnotation; + return $this->dmAnnotation; } /** * @param dmAnnotation $dmAnnotation - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmAnnotation($dmAnnotation) { - $this->dmAnnotation = $dmAnnotation; - - return $this; + $this->dmAnnotation = $dmAnnotation; + return $this; } /** @@ -187,19 +182,17 @@ public function setDmAnnotation($dmAnnotation) */ public function getDmRecipientRefNumber() { - return $this->dmRecipientRefNumber; + return $this->dmRecipientRefNumber; } /** * @param dmRecipientRefNumber $dmRecipientRefNumber - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmRecipientRefNumber($dmRecipientRefNumber) { - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - - return $this; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + return $this; } /** @@ -207,19 +200,17 @@ public function setDmRecipientRefNumber($dmRecipientRefNumber) */ public function getDmSenderRefNumber() { - return $this->dmSenderRefNumber; + return $this->dmSenderRefNumber; } /** * @param dmSenderRefNumber $dmSenderRefNumber - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmSenderRefNumber($dmSenderRefNumber) { - $this->dmSenderRefNumber = $dmSenderRefNumber; - - return $this; + $this->dmSenderRefNumber = $dmSenderRefNumber; + return $this; } /** @@ -227,19 +218,17 @@ public function setDmSenderRefNumber($dmSenderRefNumber) */ public function getDmRecipientIdent() { - return $this->dmRecipientIdent; + return $this->dmRecipientIdent; } /** * @param dmRecipientIdent $dmRecipientIdent - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmRecipientIdent($dmRecipientIdent) { - $this->dmRecipientIdent = $dmRecipientIdent; - - return $this; + $this->dmRecipientIdent = $dmRecipientIdent; + return $this; } /** @@ -247,19 +236,17 @@ public function setDmRecipientIdent($dmRecipientIdent) */ public function getDmSenderIdent() { - return $this->dmSenderIdent; + return $this->dmSenderIdent; } /** * @param dmSenderIdent $dmSenderIdent - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmSenderIdent($dmSenderIdent) { - $this->dmSenderIdent = $dmSenderIdent; - - return $this; + $this->dmSenderIdent = $dmSenderIdent; + return $this; } /** @@ -267,19 +254,17 @@ public function setDmSenderIdent($dmSenderIdent) */ public function getDmLegalTitleLaw() { - return $this->dmLegalTitleLaw; + return $this->dmLegalTitleLaw; } /** * @param int $dmLegalTitleLaw - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmLegalTitleLaw($dmLegalTitleLaw) { - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - - return $this; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + return $this; } /** @@ -287,19 +272,17 @@ public function setDmLegalTitleLaw($dmLegalTitleLaw) */ public function getDmLegalTitleYear() { - return $this->dmLegalTitleYear; + return $this->dmLegalTitleYear; } /** * @param int $dmLegalTitleYear - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmLegalTitleYear($dmLegalTitleYear) { - $this->dmLegalTitleYear = $dmLegalTitleYear; - - return $this; + $this->dmLegalTitleYear = $dmLegalTitleYear; + return $this; } /** @@ -307,19 +290,17 @@ public function setDmLegalTitleYear($dmLegalTitleYear) */ public function getDmLegalTitleSect() { - return $this->dmLegalTitleSect; + return $this->dmLegalTitleSect; } /** * @param string $dmLegalTitleSect - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmLegalTitleSect($dmLegalTitleSect) { - $this->dmLegalTitleSect = $dmLegalTitleSect; - - return $this; + $this->dmLegalTitleSect = $dmLegalTitleSect; + return $this; } /** @@ -327,19 +308,17 @@ public function setDmLegalTitleSect($dmLegalTitleSect) */ public function getDmLegalTitlePar() { - return $this->dmLegalTitlePar; + return $this->dmLegalTitlePar; } /** * @param string $dmLegalTitlePar - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmLegalTitlePar($dmLegalTitlePar) { - $this->dmLegalTitlePar = $dmLegalTitlePar; - - return $this; + $this->dmLegalTitlePar = $dmLegalTitlePar; + return $this; } /** @@ -347,98 +326,89 @@ public function setDmLegalTitlePar($dmLegalTitlePar) */ public function getDmLegalTitlePoint() { - return $this->dmLegalTitlePoint; + return $this->dmLegalTitlePoint; } /** * @param string $dmLegalTitlePoint - * * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmLegalTitlePoint($dmLegalTitlePoint) { - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - - return $this; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPersonalDelivery() { - return $this->dmPersonalDelivery; + return $this->dmPersonalDelivery; } /** - * @param bool $dmPersonalDelivery - * + * @param boolean $dmPersonalDelivery * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmPersonalDelivery($dmPersonalDelivery) { - $this->dmPersonalDelivery = $dmPersonalDelivery; - - return $this; + $this->dmPersonalDelivery = $dmPersonalDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAllowSubstDelivery() { - return $this->dmAllowSubstDelivery; + return $this->dmAllowSubstDelivery; } /** - * @param bool $dmAllowSubstDelivery - * + * @param boolean $dmAllowSubstDelivery * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmAllowSubstDelivery($dmAllowSubstDelivery) { - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - - return $this; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmOVM() { - return $this->dmOVM; + return $this->dmOVM; } /** - * @param bool $dmOVM - * + * @param boolean $dmOVM * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmOVM($dmOVM) { - $this->dmOVM = $dmOVM; - - return $this; + $this->dmOVM = $dmOVM; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPublishOwnID() { - return $this->dmPublishOwnID; + return $this->dmPublishOwnID; } /** - * @param bool $dmPublishOwnID - * + * @param boolean $dmPublishOwnID * @return \Defr\CzechDataBox\Api\tMultipleMessageEnvelopeSub */ public function setDmPublishOwnID($dmPublishOwnID) { - $this->dmPublishOwnID = $dmPublishOwnID; - - return $this; + $this->dmPublishOwnID = $dmPublishOwnID; + return $this; } + } diff --git a/src/Api/tMultipleMessageRecipients.php b/src/Api/tMultipleMessageRecipients.php index ae84a0d..42d7a8f 100644 --- a/src/Api/tMultipleMessageRecipients.php +++ b/src/Api/tMultipleMessageRecipients.php @@ -4,8 +4,9 @@ class tMultipleMessageRecipients { + /** - * @var tRecipients + * @var tRecipients $dmRecipient */ protected $dmRecipient = null; @@ -14,7 +15,7 @@ class tMultipleMessageRecipients */ public function __construct($dmRecipient = null) { - $this->dmRecipient = $dmRecipient; + $this->dmRecipient = $dmRecipient; } /** @@ -22,18 +23,17 @@ public function __construct($dmRecipient = null) */ public function getDmRecipient() { - return $this->dmRecipient; + return $this->dmRecipient; } /** * @param tRecipients $dmRecipient - * * @return \Defr\CzechDataBox\Api\tMultipleMessageRecipients */ public function setDmRecipient($dmRecipient) { - $this->dmRecipient = $dmRecipient; - - return $this; + $this->dmRecipient = $dmRecipient; + return $this; } + } diff --git a/src/Api/tMultipleStatus.php b/src/Api/tMultipleStatus.php index 3b0f123..c80ecf5 100644 --- a/src/Api/tMultipleStatus.php +++ b/src/Api/tMultipleStatus.php @@ -4,8 +4,9 @@ class tMultipleStatus { + /** - * @var tMStatus + * @var tMStatus $dmSingleStatus */ protected $dmSingleStatus = null; @@ -14,7 +15,7 @@ class tMultipleStatus */ public function __construct($dmSingleStatus = null) { - $this->dmSingleStatus = $dmSingleStatus; + $this->dmSingleStatus = $dmSingleStatus; } /** @@ -22,18 +23,17 @@ public function __construct($dmSingleStatus = null) */ public function getDmSingleStatus() { - return $this->dmSingleStatus; + return $this->dmSingleStatus; } /** * @param tMStatus $dmSingleStatus - * * @return \Defr\CzechDataBox\Api\tMultipleStatus */ public function setDmSingleStatus($dmSingleStatus) { - $this->dmSingleStatus = $dmSingleStatus; - - return $this; + $this->dmSingleStatus = $dmSingleStatus; + return $this; } + } diff --git a/src/Api/tNewAccDataInput.php b/src/Api/tNewAccDataInput.php index 88618f7..ec92241 100644 --- a/src/Api/tNewAccDataInput.php +++ b/src/Api/tNewAccDataInput.php @@ -4,59 +4,60 @@ class tNewAccDataInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUserInfo + * @var tDbUserInfo $dbUserInfo */ protected $dbUserInfo = null; /** - * @var bool + * @var boolean $dbFeePaid */ protected $dbFeePaid = null; /** - * @var bool + * @var boolean $dbVirtual */ protected $dbVirtual = null; /** - * @var string + * @var string $email */ protected $email = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param tDbUserInfo $dbUserInfo - * @param bool $dbFeePaid - * @param bool $dbVirtual - * @param string $email - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param tDbUserInfo $dbUserInfo + * @param boolean $dbFeePaid + * @param boolean $dbVirtual + * @param string $email + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbFeePaid = null, $dbVirtual = null, $email = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbUserInfo = $dbUserInfo; - $this->dbFeePaid = $dbFeePaid; - $this->dbVirtual = $dbVirtual; - $this->email = $email; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbUserInfo = $dbUserInfo; + $this->dbFeePaid = $dbFeePaid; + $this->dbVirtual = $dbVirtual; + $this->email = $email; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -64,19 +65,17 @@ public function __construct($dbOwnerInfo = null, $dbUserInfo = null, $dbFeePaid */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -84,59 +83,53 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbUserInfo() { - return $this->dbUserInfo; + return $this->dbUserInfo; } /** * @param tDbUserInfo $dbUserInfo - * * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbUserInfo($dbUserInfo) { - $this->dbUserInfo = $dbUserInfo; - - return $this; + $this->dbUserInfo = $dbUserInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbFeePaid() { - return $this->dbFeePaid; + return $this->dbFeePaid; } /** - * @param bool $dbFeePaid - * + * @param boolean $dbFeePaid * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbFeePaid($dbFeePaid) { - $this->dbFeePaid = $dbFeePaid; - - return $this; + $this->dbFeePaid = $dbFeePaid; + return $this; } /** - * @return bool + * @return boolean */ public function getDbVirtual() { - return $this->dbVirtual; + return $this->dbVirtual; } /** - * @param bool $dbVirtual - * + * @param boolean $dbVirtual * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbVirtual($dbVirtual) { - $this->dbVirtual = $dbVirtual; - - return $this; + $this->dbVirtual = $dbVirtual; + return $this; } /** @@ -144,39 +137,35 @@ public function setDbVirtual($dbVirtual) */ public function getEmail() { - return $this->email; + return $this->email; } /** * @param string $email - * * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setEmail($email) { - $this->email = $email; - - return $this; + $this->email = $email; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -184,18 +173,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tNewAccDataInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tNewAccDataOutput.php b/src/Api/tNewAccDataOutput.php index 3951a2c..b574f23 100644 --- a/src/Api/tNewAccDataOutput.php +++ b/src/Api/tNewAccDataOutput.php @@ -4,31 +4,32 @@ class tNewAccDataOutput { + /** - * @var tUserID + * @var tUserID $dbUserID */ protected $dbUserID = null; /** - * @var tDbAccessDataId + * @var tDbAccessDataId $dbAccessDataId */ protected $dbAccessDataId = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; /** - * @param tUserID $dbUserID + * @param tUserID $dbUserID * @param tDbAccessDataId $dbAccessDataId - * @param tDbReqStatus $dbStatus + * @param tDbReqStatus $dbStatus */ public function __construct($dbUserID = null, $dbAccessDataId = null, $dbStatus = null) { - $this->dbUserID = $dbUserID; - $this->dbAccessDataId = $dbAccessDataId; - $this->dbStatus = $dbStatus; + $this->dbUserID = $dbUserID; + $this->dbAccessDataId = $dbAccessDataId; + $this->dbStatus = $dbStatus; } /** @@ -36,19 +37,17 @@ public function __construct($dbUserID = null, $dbAccessDataId = null, $dbStatus */ public function getDbUserID() { - return $this->dbUserID; + return $this->dbUserID; } /** * @param tUserID $dbUserID - * * @return \Defr\CzechDataBox\Api\tNewAccDataOutput */ public function setDbUserID($dbUserID) { - $this->dbUserID = $dbUserID; - - return $this; + $this->dbUserID = $dbUserID; + return $this; } /** @@ -56,19 +55,17 @@ public function setDbUserID($dbUserID) */ public function getDbAccessDataId() { - return $this->dbAccessDataId; + return $this->dbAccessDataId; } /** * @param tDbAccessDataId $dbAccessDataId - * * @return \Defr\CzechDataBox\Api\tNewAccDataOutput */ public function setDbAccessDataId($dbAccessDataId) { - $this->dbAccessDataId = $dbAccessDataId; - - return $this; + $this->dbAccessDataId = $dbAccessDataId; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbAccessDataId($dbAccessDataId) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tNewAccDataOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tNumOfMessagesInput.php b/src/Api/tNumOfMessagesInput.php index a33ed64..ae5ee1a 100644 --- a/src/Api/tNumOfMessagesInput.php +++ b/src/Api/tNumOfMessagesInput.php @@ -4,13 +4,16 @@ class tNumOfMessagesInput { + /** - * @var int + * @var int $statType */ protected $statType = null; + public function __construct() { + } /** @@ -18,18 +21,17 @@ public function __construct() */ public function getStatType() { - return $this->statType; + return $this->statType; } /** * @param int $statType - * * @return \Defr\CzechDataBox\Api\tNumOfMessagesInput */ public function setStatType($statType) { - $this->statType = $statType; - - return $this; + $this->statType = $statType; + return $this; } + } diff --git a/src/Api/tNumOfMessagesOutput.php b/src/Api/tNumOfMessagesOutput.php index e7aff2f..f59e79f 100644 --- a/src/Api/tNumOfMessagesOutput.php +++ b/src/Api/tNumOfMessagesOutput.php @@ -4,18 +4,19 @@ class tNumOfMessagesOutput { + /** - * @var int + * @var int $statResult */ protected $statResult = null; /** - * @var \DateTime + * @var \DateTime $statTime */ protected $statTime = null; /** - * @var tStatReqStatus + * @var tStatReqStatus $dbStatus */ protected $dbStatus = null; @@ -24,7 +25,7 @@ class tNumOfMessagesOutput */ public function __construct(\DateTime $statTime = null) { - $this->statTime = $statTime ? $statTime->format(\DateTime::ATOM) : null; + $this->statTime = $statTime ? $statTime->format(\DateTime::ATOM) : null; } /** @@ -32,19 +33,17 @@ public function __construct(\DateTime $statTime = null) */ public function getStatResult() { - return $this->statResult; + return $this->statResult; } /** * @param int $statResult - * * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput */ public function setStatResult($statResult) { - $this->statResult = $statResult; - - return $this; + $this->statResult = $statResult; + return $this; } /** @@ -52,27 +51,25 @@ public function setStatResult($statResult) */ public function getStatTime() { - if ($this->statTime == null) { - return; - } else { - try { - return new \DateTime($this->statTime); - } catch (\Exception $e) { - return false; - } + if ($this->statTime == null) { + return null; + } else { + try { + return new \DateTime($this->statTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $statTime - * * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput */ public function setStatTime(\DateTime $statTime) { - $this->statTime = $statTime->format(\DateTime::ATOM); - - return $this; + $this->statTime = $statTime->format(\DateTime::ATOM); + return $this; } /** @@ -80,18 +77,17 @@ public function setStatTime(\DateTime $statTime) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tStatReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tOwnerInfoInput.php b/src/Api/tOwnerInfoInput.php index 93c29d7..12015a7 100644 --- a/src/Api/tOwnerInfoInput.php +++ b/src/Api/tOwnerInfoInput.php @@ -4,31 +4,32 @@ class tOwnerInfoInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -36,39 +37,35 @@ public function __construct($dbOwnerInfo = null, $dbApproved = null, $dbExternRe */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tOwnerInfoInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tOwnerInfoInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -76,18 +73,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tOwnerInfoInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tPDZInfoInput.php b/src/Api/tPDZInfoInput.php index ba9de61..0400805 100644 --- a/src/Api/tPDZInfoInput.php +++ b/src/Api/tPDZInfoInput.php @@ -4,8 +4,9 @@ class tPDZInfoInput { + /** - * @var tIdDb + * @var tIdDb $PDZSender */ protected $PDZSender = null; @@ -14,7 +15,7 @@ class tPDZInfoInput */ public function __construct($PDZSender = null) { - $this->PDZSender = $PDZSender; + $this->PDZSender = $PDZSender; } /** @@ -22,18 +23,17 @@ public function __construct($PDZSender = null) */ public function getPDZSender() { - return $this->PDZSender; + return $this->PDZSender; } /** * @param tIdDb $PDZSender - * * @return \Defr\CzechDataBox\Api\tPDZInfoInput */ public function setPDZSender($PDZSender) { - $this->PDZSender = $PDZSender; - - return $this; + $this->PDZSender = $PDZSender; + return $this; } + } diff --git a/src/Api/tPDZInfoOutput.php b/src/Api/tPDZInfoOutput.php index 584d05a..e69b4ce 100644 --- a/src/Api/tPDZInfoOutput.php +++ b/src/Api/tPDZInfoOutput.php @@ -4,13 +4,14 @@ class tPDZInfoOutput { + /** - * @var tPDZRecArray + * @var tPDZRecArray $dbPDZRecords */ protected $dbPDZRecords = null; /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; @@ -20,8 +21,8 @@ class tPDZInfoOutput */ public function __construct($dbPDZRecords = null, $dbStatus = null) { - $this->dbPDZRecords = $dbPDZRecords; - $this->dbStatus = $dbStatus; + $this->dbPDZRecords = $dbPDZRecords; + $this->dbStatus = $dbStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dbPDZRecords = null, $dbStatus = null) */ public function getDbPDZRecords() { - return $this->dbPDZRecords; + return $this->dbPDZRecords; } /** * @param tPDZRecArray $dbPDZRecords - * * @return \Defr\CzechDataBox\Api\tPDZInfoOutput */ public function setDbPDZRecords($dbPDZRecords) { - $this->dbPDZRecords = $dbPDZRecords; - - return $this; + $this->dbPDZRecords = $dbPDZRecords; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbPDZRecords($dbPDZRecords) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tPDZInfoOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tPDZRec.php b/src/Api/tPDZRec.php index 6ca8e6b..94b38f4 100644 --- a/src/Api/tPDZRec.php +++ b/src/Api/tPDZRec.php @@ -4,52 +4,53 @@ class tPDZRec { + /** - * @var string + * @var string $PDZType */ protected $PDZType = null; /** - * @var tIdDb + * @var tIdDb $PDZRecip */ protected $PDZRecip = null; /** - * @var tIdDb + * @var tIdDb $PDZPayer */ protected $PDZPayer = null; /** - * @var \DateTime + * @var \DateTime $PDZExpire */ protected $PDZExpire = null; /** - * @var int + * @var int $PDZCnt */ protected $PDZCnt = null; /** - * @var string + * @var string $ODZIdent */ protected $ODZIdent = null; /** - * @param string $PDZType - * @param tIdDb $PDZRecip - * @param tIdDb $PDZPayer + * @param string $PDZType + * @param tIdDb $PDZRecip + * @param tIdDb $PDZPayer * @param \DateTime $PDZExpire - * @param int $PDZCnt - * @param string $ODZIdent + * @param int $PDZCnt + * @param string $ODZIdent */ public function __construct($PDZType = null, $PDZRecip = null, $PDZPayer = null, \DateTime $PDZExpire = null, $PDZCnt = null, $ODZIdent = null) { - $this->PDZType = $PDZType; - $this->PDZRecip = $PDZRecip; - $this->PDZPayer = $PDZPayer; - $this->PDZExpire = $PDZExpire ? $PDZExpire->format(\DateTime::ATOM) : null; - $this->PDZCnt = $PDZCnt; - $this->ODZIdent = $ODZIdent; + $this->PDZType = $PDZType; + $this->PDZRecip = $PDZRecip; + $this->PDZPayer = $PDZPayer; + $this->PDZExpire = $PDZExpire ? $PDZExpire->format(\DateTime::ATOM) : null; + $this->PDZCnt = $PDZCnt; + $this->ODZIdent = $ODZIdent; } /** @@ -57,19 +58,17 @@ public function __construct($PDZType = null, $PDZRecip = null, $PDZPayer = null, */ public function getPDZType() { - return $this->PDZType; + return $this->PDZType; } /** * @param string $PDZType - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setPDZType($PDZType) { - $this->PDZType = $PDZType; - - return $this; + $this->PDZType = $PDZType; + return $this; } /** @@ -77,19 +76,17 @@ public function setPDZType($PDZType) */ public function getPDZRecip() { - return $this->PDZRecip; + return $this->PDZRecip; } /** * @param tIdDb $PDZRecip - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setPDZRecip($PDZRecip) { - $this->PDZRecip = $PDZRecip; - - return $this; + $this->PDZRecip = $PDZRecip; + return $this; } /** @@ -97,19 +94,17 @@ public function setPDZRecip($PDZRecip) */ public function getPDZPayer() { - return $this->PDZPayer; + return $this->PDZPayer; } /** * @param tIdDb $PDZPayer - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setPDZPayer($PDZPayer) { - $this->PDZPayer = $PDZPayer; - - return $this; + $this->PDZPayer = $PDZPayer; + return $this; } /** @@ -117,27 +112,25 @@ public function setPDZPayer($PDZPayer) */ public function getPDZExpire() { - if ($this->PDZExpire == null) { - return; - } else { - try { - return new \DateTime($this->PDZExpire); - } catch (\Exception $e) { - return false; - } + if ($this->PDZExpire == null) { + return null; + } else { + try { + return new \DateTime($this->PDZExpire); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $PDZExpire - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setPDZExpire(\DateTime $PDZExpire) { - $this->PDZExpire = $PDZExpire->format(\DateTime::ATOM); - - return $this; + $this->PDZExpire = $PDZExpire->format(\DateTime::ATOM); + return $this; } /** @@ -145,19 +138,17 @@ public function setPDZExpire(\DateTime $PDZExpire) */ public function getPDZCnt() { - return $this->PDZCnt; + return $this->PDZCnt; } /** * @param int $PDZCnt - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setPDZCnt($PDZCnt) { - $this->PDZCnt = $PDZCnt; - - return $this; + $this->PDZCnt = $PDZCnt; + return $this; } /** @@ -165,18 +156,17 @@ public function setPDZCnt($PDZCnt) */ public function getODZIdent() { - return $this->ODZIdent; + return $this->ODZIdent; } /** * @param string $ODZIdent - * * @return \Defr\CzechDataBox\Api\tPDZRec */ public function setODZIdent($ODZIdent) { - $this->ODZIdent = $ODZIdent; - - return $this; + $this->ODZIdent = $ODZIdent; + return $this; } + } diff --git a/src/Api/tPDZRecArray.php b/src/Api/tPDZRecArray.php index 716d4a9..aa7404b 100644 --- a/src/Api/tPDZRecArray.php +++ b/src/Api/tPDZRecArray.php @@ -4,8 +4,9 @@ class tPDZRecArray { + /** - * @var tPDZRec + * @var tPDZRec $dbPDZRecord */ protected $dbPDZRecord = null; @@ -14,7 +15,7 @@ class tPDZRecArray */ public function __construct($dbPDZRecord = null) { - $this->dbPDZRecord = $dbPDZRecord; + $this->dbPDZRecord = $dbPDZRecord; } /** @@ -22,18 +23,17 @@ public function __construct($dbPDZRecord = null) */ public function getDbPDZRecord() { - return $this->dbPDZRecord; + return $this->dbPDZRecord; } /** * @param tPDZRec $dbPDZRecord - * * @return \Defr\CzechDataBox\Api\tPDZRecArray */ public function setDbPDZRecord($dbPDZRecord) { - $this->dbPDZRecord = $dbPDZRecord; - - return $this; + $this->dbPDZRecord = $dbPDZRecord; + return $this; } + } diff --git a/src/Api/tRecipients.php b/src/Api/tRecipients.php index 9d2f058..fcbb341 100644 --- a/src/Api/tRecipients.php +++ b/src/Api/tRecipients.php @@ -4,38 +4,39 @@ class tRecipients { + /** - * @var tIdDb + * @var tIdDb $dbIDRecipient */ protected $dbIDRecipient = null; /** - * @var string + * @var string $dmRecipientOrgUnit */ protected $dmRecipientOrgUnit = null; /** - * @var int + * @var int $dmRecipientOrgUnitNum */ protected $dmRecipientOrgUnitNum = null; /** - * @var string + * @var string $dmToHands */ protected $dmToHands = null; /** - * @param tIdDb $dbIDRecipient + * @param tIdDb $dbIDRecipient * @param string $dmRecipientOrgUnit - * @param int $dmRecipientOrgUnitNum + * @param int $dmRecipientOrgUnitNum * @param string $dmToHands */ public function __construct($dbIDRecipient = null, $dmRecipientOrgUnit = null, $dmRecipientOrgUnitNum = null, $dmToHands = null) { - $this->dbIDRecipient = $dbIDRecipient; - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - $this->dmToHands = $dmToHands; + $this->dbIDRecipient = $dbIDRecipient; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + $this->dmToHands = $dmToHands; } /** @@ -43,19 +44,17 @@ public function __construct($dbIDRecipient = null, $dmRecipientOrgUnit = null, $ */ public function getDbIDRecipient() { - return $this->dbIDRecipient; + return $this->dbIDRecipient; } /** * @param tIdDb $dbIDRecipient - * * @return \Defr\CzechDataBox\Api\tRecipients */ public function setDbIDRecipient($dbIDRecipient) { - $this->dbIDRecipient = $dbIDRecipient; - - return $this; + $this->dbIDRecipient = $dbIDRecipient; + return $this; } /** @@ -63,19 +62,17 @@ public function setDbIDRecipient($dbIDRecipient) */ public function getDmRecipientOrgUnit() { - return $this->dmRecipientOrgUnit; + return $this->dmRecipientOrgUnit; } /** * @param string $dmRecipientOrgUnit - * * @return \Defr\CzechDataBox\Api\tRecipients */ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) { - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - - return $this; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + return $this; } /** @@ -83,19 +80,17 @@ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) */ public function getDmRecipientOrgUnitNum() { - return $this->dmRecipientOrgUnitNum; + return $this->dmRecipientOrgUnitNum; } /** * @param int $dmRecipientOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tRecipients */ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) { - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - - return $this; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + return $this; } /** @@ -103,18 +98,17 @@ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) */ public function getDmToHands() { - return $this->dmToHands; + return $this->dmToHands; } /** * @param string $dmToHands - * * @return \Defr\CzechDataBox\Api\tRecipients */ public function setDmToHands($dmToHands) { - $this->dmToHands = $dmToHands; - - return $this; + $this->dmToHands = $dmToHands; + return $this; } + } diff --git a/src/Api/tRecord.php b/src/Api/tRecord.php index 2bb0f71..9b8b0ad 100644 --- a/src/Api/tRecord.php +++ b/src/Api/tRecord.php @@ -4,234 +4,235 @@ class tRecord { + /** - * @var dmOrdinal + * @var dmOrdinal $dmOrdinal */ protected $dmOrdinal = null; /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; /** - * @var tIdDb + * @var tIdDb $dbIDSender */ protected $dbIDSender = null; /** - * @var dmSender + * @var dmSender $dmSender */ protected $dmSender = null; /** - * @var dmSenderAddress + * @var dmSenderAddress $dmSenderAddress */ protected $dmSenderAddress = null; /** - * @var int + * @var int $dmSenderType */ protected $dmSenderType = null; /** - * @var dmRecipient + * @var dmRecipient $dmRecipient */ protected $dmRecipient = null; /** - * @var dmRecipientAddress + * @var dmRecipientAddress $dmRecipientAddress */ protected $dmRecipientAddress = null; /** - * @var bool + * @var boolean $dmAmbiguousRecipient */ protected $dmAmbiguousRecipient = null; /** - * @var string + * @var string $dmSenderOrgUnit */ protected $dmSenderOrgUnit = null; /** - * @var int + * @var int $dmSenderOrgUnitNum */ protected $dmSenderOrgUnitNum = null; /** - * @var tIdDb + * @var tIdDb $dbIDRecipient */ protected $dbIDRecipient = null; /** - * @var string + * @var string $dmRecipientOrgUnit */ protected $dmRecipientOrgUnit = null; /** - * @var int + * @var int $dmRecipientOrgUnitNum */ protected $dmRecipientOrgUnitNum = null; /** - * @var string + * @var string $dmToHands */ protected $dmToHands = null; /** - * @var dmAnnotation + * @var dmAnnotation $dmAnnotation */ protected $dmAnnotation = null; /** - * @var dmRecipientRefNumber + * @var dmRecipientRefNumber $dmRecipientRefNumber */ protected $dmRecipientRefNumber = null; /** - * @var dmSenderRefNumber + * @var dmSenderRefNumber $dmSenderRefNumber */ protected $dmSenderRefNumber = null; /** - * @var dmRecipientIdent + * @var dmRecipientIdent $dmRecipientIdent */ protected $dmRecipientIdent = null; /** - * @var dmSenderIdent + * @var dmSenderIdent $dmSenderIdent */ protected $dmSenderIdent = null; /** - * @var int + * @var int $dmLegalTitleLaw */ protected $dmLegalTitleLaw = null; /** - * @var int + * @var int $dmLegalTitleYear */ protected $dmLegalTitleYear = null; /** - * @var string + * @var string $dmLegalTitleSect */ protected $dmLegalTitleSect = null; /** - * @var string + * @var string $dmLegalTitlePar */ protected $dmLegalTitlePar = null; /** - * @var string + * @var string $dmLegalTitlePoint */ protected $dmLegalTitlePoint = null; /** - * @var bool + * @var boolean $dmPersonalDelivery */ protected $dmPersonalDelivery = null; /** - * @var bool + * @var boolean $dmAllowSubstDelivery */ protected $dmAllowSubstDelivery = null; /** - * @var int + * @var int $dmMessageStatus */ protected $dmMessageStatus = null; /** - * @var int + * @var int $dmAttachmentSize */ protected $dmAttachmentSize = null; /** - * @var \DateTime + * @var \DateTime $dmDeliveryTime */ protected $dmDeliveryTime = null; /** - * @var \DateTime + * @var \DateTime $dmAcceptanceTime */ protected $dmAcceptanceTime = null; /** - * @var anonymous48 + * @var anonymous48 $dmType */ protected $dmType = null; /** - * @param dmOrdinal $dmOrdinal - * @param tIdDm $dmID - * @param tIdDb $dbIDSender - * @param dmSender $dmSender - * @param dmSenderAddress $dmSenderAddress - * @param int $dmSenderType - * @param dmRecipient $dmRecipient - * @param dmRecipientAddress $dmRecipientAddress - * @param bool $dmAmbiguousRecipient - * @param string $dmSenderOrgUnit - * @param int $dmSenderOrgUnitNum - * @param tIdDb $dbIDRecipient - * @param string $dmRecipientOrgUnit - * @param int $dmRecipientOrgUnitNum - * @param string $dmToHands - * @param dmAnnotation $dmAnnotation + * @param dmOrdinal $dmOrdinal + * @param tIdDm $dmID + * @param tIdDb $dbIDSender + * @param dmSender $dmSender + * @param dmSenderAddress $dmSenderAddress + * @param int $dmSenderType + * @param dmRecipient $dmRecipient + * @param dmRecipientAddress $dmRecipientAddress + * @param boolean $dmAmbiguousRecipient + * @param string $dmSenderOrgUnit + * @param int $dmSenderOrgUnitNum + * @param tIdDb $dbIDRecipient + * @param string $dmRecipientOrgUnit + * @param int $dmRecipientOrgUnitNum + * @param string $dmToHands + * @param dmAnnotation $dmAnnotation * @param dmRecipientRefNumber $dmRecipientRefNumber - * @param dmSenderRefNumber $dmSenderRefNumber - * @param dmRecipientIdent $dmRecipientIdent - * @param dmSenderIdent $dmSenderIdent - * @param int $dmLegalTitleLaw - * @param int $dmLegalTitleYear - * @param string $dmLegalTitleSect - * @param string $dmLegalTitlePar - * @param string $dmLegalTitlePoint - * @param bool $dmPersonalDelivery - * @param bool $dmAllowSubstDelivery - * @param int $dmMessageStatus - * @param int $dmAttachmentSize - * @param \DateTime $dmDeliveryTime - * @param \DateTime $dmAcceptanceTime - * @param anonymous48 $dmType + * @param dmSenderRefNumber $dmSenderRefNumber + * @param dmRecipientIdent $dmRecipientIdent + * @param dmSenderIdent $dmSenderIdent + * @param int $dmLegalTitleLaw + * @param int $dmLegalTitleYear + * @param string $dmLegalTitleSect + * @param string $dmLegalTitlePar + * @param string $dmLegalTitlePoint + * @param boolean $dmPersonalDelivery + * @param boolean $dmAllowSubstDelivery + * @param int $dmMessageStatus + * @param int $dmAttachmentSize + * @param \DateTime $dmDeliveryTime + * @param \DateTime $dmAcceptanceTime + * @param anonymous48 $dmType */ public function __construct($dmOrdinal = null, $dmID = null, $dbIDSender = null, $dmSender = null, $dmSenderAddress = null, $dmSenderType = null, $dmRecipient = null, $dmRecipientAddress = null, $dmAmbiguousRecipient = null, $dmSenderOrgUnit = null, $dmSenderOrgUnitNum = null, $dbIDRecipient = null, $dmRecipientOrgUnit = null, $dmRecipientOrgUnitNum = null, $dmToHands = null, $dmAnnotation = null, $dmRecipientRefNumber = null, $dmSenderRefNumber = null, $dmRecipientIdent = null, $dmSenderIdent = null, $dmLegalTitleLaw = null, $dmLegalTitleYear = null, $dmLegalTitleSect = null, $dmLegalTitlePar = null, $dmLegalTitlePoint = null, $dmPersonalDelivery = null, $dmAllowSubstDelivery = null, $dmMessageStatus = null, $dmAttachmentSize = null, \DateTime $dmDeliveryTime = null, \DateTime $dmAcceptanceTime = null, $dmType = null) { - $this->dmOrdinal = $dmOrdinal; - $this->dmID = $dmID; - $this->dbIDSender = $dbIDSender; - $this->dmSender = $dmSender; - $this->dmSenderAddress = $dmSenderAddress; - $this->dmSenderType = $dmSenderType; - $this->dmRecipient = $dmRecipient; - $this->dmRecipientAddress = $dmRecipientAddress; - $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - $this->dbIDRecipient = $dbIDRecipient; - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - $this->dmToHands = $dmToHands; - $this->dmAnnotation = $dmAnnotation; - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - $this->dmSenderRefNumber = $dmSenderRefNumber; - $this->dmRecipientIdent = $dmRecipientIdent; - $this->dmSenderIdent = $dmSenderIdent; - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - $this->dmLegalTitleYear = $dmLegalTitleYear; - $this->dmLegalTitleSect = $dmLegalTitleSect; - $this->dmLegalTitlePar = $dmLegalTitlePar; - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - $this->dmPersonalDelivery = $dmPersonalDelivery; - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - $this->dmMessageStatus = $dmMessageStatus; - $this->dmAttachmentSize = $dmAttachmentSize; - $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; - $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; - $this->dmType = $dmType; + $this->dmOrdinal = $dmOrdinal; + $this->dmID = $dmID; + $this->dbIDSender = $dbIDSender; + $this->dmSender = $dmSender; + $this->dmSenderAddress = $dmSenderAddress; + $this->dmSenderType = $dmSenderType; + $this->dmRecipient = $dmRecipient; + $this->dmRecipientAddress = $dmRecipientAddress; + $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + $this->dbIDRecipient = $dbIDRecipient; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + $this->dmToHands = $dmToHands; + $this->dmAnnotation = $dmAnnotation; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + $this->dmSenderRefNumber = $dmSenderRefNumber; + $this->dmRecipientIdent = $dmRecipientIdent; + $this->dmSenderIdent = $dmSenderIdent; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + $this->dmLegalTitleYear = $dmLegalTitleYear; + $this->dmLegalTitleSect = $dmLegalTitleSect; + $this->dmLegalTitlePar = $dmLegalTitlePar; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + $this->dmPersonalDelivery = $dmPersonalDelivery; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + $this->dmMessageStatus = $dmMessageStatus; + $this->dmAttachmentSize = $dmAttachmentSize; + $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; + $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; + $this->dmType = $dmType; } /** @@ -239,19 +240,17 @@ public function __construct($dmOrdinal = null, $dmID = null, $dbIDSender = null, */ public function getDmOrdinal() { - return $this->dmOrdinal; + return $this->dmOrdinal; } /** * @param dmOrdinal $dmOrdinal - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmOrdinal($dmOrdinal) { - $this->dmOrdinal = $dmOrdinal; - - return $this; + $this->dmOrdinal = $dmOrdinal; + return $this; } /** @@ -259,19 +258,17 @@ public function setDmOrdinal($dmOrdinal) */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } /** @@ -279,19 +276,17 @@ public function setDmID($dmID) */ public function getDbIDSender() { - return $this->dbIDSender; + return $this->dbIDSender; } /** * @param tIdDb $dbIDSender - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDbIDSender($dbIDSender) { - $this->dbIDSender = $dbIDSender; - - return $this; + $this->dbIDSender = $dbIDSender; + return $this; } /** @@ -299,19 +294,17 @@ public function setDbIDSender($dbIDSender) */ public function getDmSender() { - return $this->dmSender; + return $this->dmSender; } /** * @param dmSender $dmSender - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSender($dmSender) { - $this->dmSender = $dmSender; - - return $this; + $this->dmSender = $dmSender; + return $this; } /** @@ -319,19 +312,17 @@ public function setDmSender($dmSender) */ public function getDmSenderAddress() { - return $this->dmSenderAddress; + return $this->dmSenderAddress; } /** * @param dmSenderAddress $dmSenderAddress - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderAddress($dmSenderAddress) { - $this->dmSenderAddress = $dmSenderAddress; - - return $this; + $this->dmSenderAddress = $dmSenderAddress; + return $this; } /** @@ -339,19 +330,17 @@ public function setDmSenderAddress($dmSenderAddress) */ public function getDmSenderType() { - return $this->dmSenderType; + return $this->dmSenderType; } /** * @param int $dmSenderType - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderType($dmSenderType) { - $this->dmSenderType = $dmSenderType; - - return $this; + $this->dmSenderType = $dmSenderType; + return $this; } /** @@ -359,19 +348,17 @@ public function setDmSenderType($dmSenderType) */ public function getDmRecipient() { - return $this->dmRecipient; + return $this->dmRecipient; } /** * @param dmRecipient $dmRecipient - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipient($dmRecipient) { - $this->dmRecipient = $dmRecipient; - - return $this; + $this->dmRecipient = $dmRecipient; + return $this; } /** @@ -379,39 +366,35 @@ public function setDmRecipient($dmRecipient) */ public function getDmRecipientAddress() { - return $this->dmRecipientAddress; + return $this->dmRecipientAddress; } /** * @param dmRecipientAddress $dmRecipientAddress - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipientAddress($dmRecipientAddress) { - $this->dmRecipientAddress = $dmRecipientAddress; - - return $this; + $this->dmRecipientAddress = $dmRecipientAddress; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAmbiguousRecipient() { - return $this->dmAmbiguousRecipient; + return $this->dmAmbiguousRecipient; } /** - * @param bool $dmAmbiguousRecipient - * + * @param boolean $dmAmbiguousRecipient * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmAmbiguousRecipient($dmAmbiguousRecipient) { - $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; - - return $this; + $this->dmAmbiguousRecipient = $dmAmbiguousRecipient; + return $this; } /** @@ -419,19 +402,17 @@ public function setDmAmbiguousRecipient($dmAmbiguousRecipient) */ public function getDmSenderOrgUnit() { - return $this->dmSenderOrgUnit; + return $this->dmSenderOrgUnit; } /** * @param string $dmSenderOrgUnit - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderOrgUnit($dmSenderOrgUnit) { - $this->dmSenderOrgUnit = $dmSenderOrgUnit; - - return $this; + $this->dmSenderOrgUnit = $dmSenderOrgUnit; + return $this; } /** @@ -439,19 +420,17 @@ public function setDmSenderOrgUnit($dmSenderOrgUnit) */ public function getDmSenderOrgUnitNum() { - return $this->dmSenderOrgUnitNum; + return $this->dmSenderOrgUnitNum; } /** * @param int $dmSenderOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) { - $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; - - return $this; + $this->dmSenderOrgUnitNum = $dmSenderOrgUnitNum; + return $this; } /** @@ -459,19 +438,17 @@ public function setDmSenderOrgUnitNum($dmSenderOrgUnitNum) */ public function getDbIDRecipient() { - return $this->dbIDRecipient; + return $this->dbIDRecipient; } /** * @param tIdDb $dbIDRecipient - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDbIDRecipient($dbIDRecipient) { - $this->dbIDRecipient = $dbIDRecipient; - - return $this; + $this->dbIDRecipient = $dbIDRecipient; + return $this; } /** @@ -479,19 +456,17 @@ public function setDbIDRecipient($dbIDRecipient) */ public function getDmRecipientOrgUnit() { - return $this->dmRecipientOrgUnit; + return $this->dmRecipientOrgUnit; } /** * @param string $dmRecipientOrgUnit - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) { - $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; - - return $this; + $this->dmRecipientOrgUnit = $dmRecipientOrgUnit; + return $this; } /** @@ -499,19 +474,17 @@ public function setDmRecipientOrgUnit($dmRecipientOrgUnit) */ public function getDmRecipientOrgUnitNum() { - return $this->dmRecipientOrgUnitNum; + return $this->dmRecipientOrgUnitNum; } /** * @param int $dmRecipientOrgUnitNum - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) { - $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; - - return $this; + $this->dmRecipientOrgUnitNum = $dmRecipientOrgUnitNum; + return $this; } /** @@ -519,19 +492,17 @@ public function setDmRecipientOrgUnitNum($dmRecipientOrgUnitNum) */ public function getDmToHands() { - return $this->dmToHands; + return $this->dmToHands; } /** * @param string $dmToHands - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmToHands($dmToHands) { - $this->dmToHands = $dmToHands; - - return $this; + $this->dmToHands = $dmToHands; + return $this; } /** @@ -539,19 +510,17 @@ public function setDmToHands($dmToHands) */ public function getDmAnnotation() { - return $this->dmAnnotation; + return $this->dmAnnotation; } /** * @param dmAnnotation $dmAnnotation - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmAnnotation($dmAnnotation) { - $this->dmAnnotation = $dmAnnotation; - - return $this; + $this->dmAnnotation = $dmAnnotation; + return $this; } /** @@ -559,19 +528,17 @@ public function setDmAnnotation($dmAnnotation) */ public function getDmRecipientRefNumber() { - return $this->dmRecipientRefNumber; + return $this->dmRecipientRefNumber; } /** * @param dmRecipientRefNumber $dmRecipientRefNumber - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipientRefNumber($dmRecipientRefNumber) { - $this->dmRecipientRefNumber = $dmRecipientRefNumber; - - return $this; + $this->dmRecipientRefNumber = $dmRecipientRefNumber; + return $this; } /** @@ -579,19 +546,17 @@ public function setDmRecipientRefNumber($dmRecipientRefNumber) */ public function getDmSenderRefNumber() { - return $this->dmSenderRefNumber; + return $this->dmSenderRefNumber; } /** * @param dmSenderRefNumber $dmSenderRefNumber - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderRefNumber($dmSenderRefNumber) { - $this->dmSenderRefNumber = $dmSenderRefNumber; - - return $this; + $this->dmSenderRefNumber = $dmSenderRefNumber; + return $this; } /** @@ -599,19 +564,17 @@ public function setDmSenderRefNumber($dmSenderRefNumber) */ public function getDmRecipientIdent() { - return $this->dmRecipientIdent; + return $this->dmRecipientIdent; } /** * @param dmRecipientIdent $dmRecipientIdent - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmRecipientIdent($dmRecipientIdent) { - $this->dmRecipientIdent = $dmRecipientIdent; - - return $this; + $this->dmRecipientIdent = $dmRecipientIdent; + return $this; } /** @@ -619,19 +582,17 @@ public function setDmRecipientIdent($dmRecipientIdent) */ public function getDmSenderIdent() { - return $this->dmSenderIdent; + return $this->dmSenderIdent; } /** * @param dmSenderIdent $dmSenderIdent - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmSenderIdent($dmSenderIdent) { - $this->dmSenderIdent = $dmSenderIdent; - - return $this; + $this->dmSenderIdent = $dmSenderIdent; + return $this; } /** @@ -639,19 +600,17 @@ public function setDmSenderIdent($dmSenderIdent) */ public function getDmLegalTitleLaw() { - return $this->dmLegalTitleLaw; + return $this->dmLegalTitleLaw; } /** * @param int $dmLegalTitleLaw - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmLegalTitleLaw($dmLegalTitleLaw) { - $this->dmLegalTitleLaw = $dmLegalTitleLaw; - - return $this; + $this->dmLegalTitleLaw = $dmLegalTitleLaw; + return $this; } /** @@ -659,19 +618,17 @@ public function setDmLegalTitleLaw($dmLegalTitleLaw) */ public function getDmLegalTitleYear() { - return $this->dmLegalTitleYear; + return $this->dmLegalTitleYear; } /** * @param int $dmLegalTitleYear - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmLegalTitleYear($dmLegalTitleYear) { - $this->dmLegalTitleYear = $dmLegalTitleYear; - - return $this; + $this->dmLegalTitleYear = $dmLegalTitleYear; + return $this; } /** @@ -679,19 +636,17 @@ public function setDmLegalTitleYear($dmLegalTitleYear) */ public function getDmLegalTitleSect() { - return $this->dmLegalTitleSect; + return $this->dmLegalTitleSect; } /** * @param string $dmLegalTitleSect - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmLegalTitleSect($dmLegalTitleSect) { - $this->dmLegalTitleSect = $dmLegalTitleSect; - - return $this; + $this->dmLegalTitleSect = $dmLegalTitleSect; + return $this; } /** @@ -699,19 +654,17 @@ public function setDmLegalTitleSect($dmLegalTitleSect) */ public function getDmLegalTitlePar() { - return $this->dmLegalTitlePar; + return $this->dmLegalTitlePar; } /** * @param string $dmLegalTitlePar - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmLegalTitlePar($dmLegalTitlePar) { - $this->dmLegalTitlePar = $dmLegalTitlePar; - - return $this; + $this->dmLegalTitlePar = $dmLegalTitlePar; + return $this; } /** @@ -719,59 +672,53 @@ public function setDmLegalTitlePar($dmLegalTitlePar) */ public function getDmLegalTitlePoint() { - return $this->dmLegalTitlePoint; + return $this->dmLegalTitlePoint; } /** * @param string $dmLegalTitlePoint - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmLegalTitlePoint($dmLegalTitlePoint) { - $this->dmLegalTitlePoint = $dmLegalTitlePoint; - - return $this; + $this->dmLegalTitlePoint = $dmLegalTitlePoint; + return $this; } /** - * @return bool + * @return boolean */ public function getDmPersonalDelivery() { - return $this->dmPersonalDelivery; + return $this->dmPersonalDelivery; } /** - * @param bool $dmPersonalDelivery - * + * @param boolean $dmPersonalDelivery * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmPersonalDelivery($dmPersonalDelivery) { - $this->dmPersonalDelivery = $dmPersonalDelivery; - - return $this; + $this->dmPersonalDelivery = $dmPersonalDelivery; + return $this; } /** - * @return bool + * @return boolean */ public function getDmAllowSubstDelivery() { - return $this->dmAllowSubstDelivery; + return $this->dmAllowSubstDelivery; } /** - * @param bool $dmAllowSubstDelivery - * + * @param boolean $dmAllowSubstDelivery * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmAllowSubstDelivery($dmAllowSubstDelivery) { - $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; - - return $this; + $this->dmAllowSubstDelivery = $dmAllowSubstDelivery; + return $this; } /** @@ -779,19 +726,17 @@ public function setDmAllowSubstDelivery($dmAllowSubstDelivery) */ public function getDmMessageStatus() { - return $this->dmMessageStatus; + return $this->dmMessageStatus; } /** * @param int $dmMessageStatus - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmMessageStatus($dmMessageStatus) { - $this->dmMessageStatus = $dmMessageStatus; - - return $this; + $this->dmMessageStatus = $dmMessageStatus; + return $this; } /** @@ -799,19 +744,17 @@ public function setDmMessageStatus($dmMessageStatus) */ public function getDmAttachmentSize() { - return $this->dmAttachmentSize; + return $this->dmAttachmentSize; } /** * @param int $dmAttachmentSize - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmAttachmentSize($dmAttachmentSize) { - $this->dmAttachmentSize = $dmAttachmentSize; - - return $this; + $this->dmAttachmentSize = $dmAttachmentSize; + return $this; } /** @@ -819,27 +762,25 @@ public function setDmAttachmentSize($dmAttachmentSize) */ public function getDmDeliveryTime() { - if ($this->dmDeliveryTime == null) { - return; - } else { - try { - return new \DateTime($this->dmDeliveryTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmDeliveryTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmDeliveryTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmDeliveryTime - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) { - $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); - - return $this; + $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); + return $this; } /** @@ -847,27 +788,25 @@ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) */ public function getDmAcceptanceTime() { - if ($this->dmAcceptanceTime == null) { - return; - } else { - try { - return new \DateTime($this->dmAcceptanceTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmAcceptanceTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmAcceptanceTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmAcceptanceTime - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) { - $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); - - return $this; + $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); + return $this; } /** @@ -875,18 +814,17 @@ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) */ public function getDmType() { - return $this->dmType; + return $this->dmType; } /** * @param anonymous48 $dmType - * * @return \Defr\CzechDataBox\Api\tRecord */ public function setDmType($dmType) { - $this->dmType = $dmType; - - return $this; + $this->dmType = $dmType; + return $this; } + } diff --git a/src/Api/tRecordsArray.php b/src/Api/tRecordsArray.php index 9e3b290..d320565 100644 --- a/src/Api/tRecordsArray.php +++ b/src/Api/tRecordsArray.php @@ -4,8 +4,9 @@ class tRecordsArray { + /** - * @var tRecord + * @var tRecord $dmRecord */ protected $dmRecord = null; @@ -14,7 +15,7 @@ class tRecordsArray */ public function __construct($dmRecord = null) { - $this->dmRecord = $dmRecord; + $this->dmRecord = $dmRecord; } /** @@ -22,18 +23,17 @@ public function __construct($dmRecord = null) */ public function getDmRecord() { - return $this->dmRecord; + return $this->dmRecord; } /** * @param tRecord $dmRecord - * * @return \Defr\CzechDataBox\Api\tRecordsArray */ public function setDmRecord($dmRecord) { - $this->dmRecord = $dmRecord; - - return $this; + $this->dmRecord = $dmRecord; + return $this; } + } diff --git a/src/Api/tReqStatusOutput.php b/src/Api/tReqStatusOutput.php index 0838a94..bb68566 100644 --- a/src/Api/tReqStatusOutput.php +++ b/src/Api/tReqStatusOutput.php @@ -4,8 +4,9 @@ class tReqStatusOutput { + /** - * @var tDbReqStatus + * @var tDbReqStatus $dbStatus */ protected $dbStatus = null; @@ -14,7 +15,7 @@ class tReqStatusOutput */ public function __construct($dbStatus = null) { - $this->dbStatus = $dbStatus; + $this->dbStatus = $dbStatus; } /** @@ -22,18 +23,17 @@ public function __construct($dbStatus = null) */ public function getDbStatus() { - return $this->dbStatus; + return $this->dbStatus; } /** * @param tDbReqStatus $dbStatus - * * @return \Defr\CzechDataBox\Api\tReqStatusOutput */ public function setDbStatus($dbStatus) { - $this->dbStatus = $dbStatus; - - return $this; + $this->dbStatus = $dbStatus; + return $this; } + } diff --git a/src/Api/tResignDocInput.php b/src/Api/tResignDocInput.php new file mode 100644 index 0000000..e41fe63 --- /dev/null +++ b/src/Api/tResignDocInput.php @@ -0,0 +1,39 @@ +dmDoc = $dmDoc; + } + + /** + * @return base64Binary + */ + public function getDmDoc() + { + return $this->dmDoc; + } + + /** + * @param base64Binary $dmDoc + * @return \Defr\CzechDataBox\Api\tResignDocInput + */ + public function setDmDoc($dmDoc) + { + $this->dmDoc = $dmDoc; + return $this; + } + +} diff --git a/src/Api/tResignDocOutput.php b/src/Api/tResignDocOutput.php new file mode 100644 index 0000000..b5bdeb5 --- /dev/null +++ b/src/Api/tResignDocOutput.php @@ -0,0 +1,89 @@ +dmResultDoc = $dmResultDoc; + $this->dmValidTo = $dmValidTo; + $this->dmStatus = $dmStatus; + } + + /** + * @return base64Binary + */ + public function getDmResultDoc() + { + return $this->dmResultDoc; + } + + /** + * @param base64Binary $dmResultDoc + * @return \Defr\CzechDataBox\Api\tResignDocOutput + */ + public function setDmResultDoc($dmResultDoc) + { + $this->dmResultDoc = $dmResultDoc; + return $this; + } + + /** + * @return date + */ + public function getDmValidTo() + { + return $this->dmValidTo; + } + + /** + * @param date $dmValidTo + * @return \Defr\CzechDataBox\Api\tResignDocOutput + */ + public function setDmValidTo($dmValidTo) + { + $this->dmValidTo = $dmValidTo; + return $this; + } + + /** + * @return tStatus + */ + public function getDmStatus() + { + return $this->dmStatus; + } + + /** + * @param tStatus $dmStatus + * @return \Defr\CzechDataBox\Api\tResignDocOutput + */ + public function setDmStatus($dmStatus) + { + $this->dmStatus = $dmStatus; + return $this; + } + +} diff --git a/src/Api/tReturnedMessage.php b/src/Api/tReturnedMessage.php index 92c9f8d..d930456 100644 --- a/src/Api/tReturnedMessage.php +++ b/src/Api/tReturnedMessage.php @@ -4,66 +4,67 @@ class tReturnedMessage { + /** - * @var dmDm + * @var dmDm $dmDm */ protected $dmDm = null; /** - * @var tHash + * @var tHash $dmHash */ protected $dmHash = null; /** - * @var base64Binary + * @var base64Binary $dmQTimestamp */ protected $dmQTimestamp = null; /** - * @var \DateTime + * @var \DateTime $dmDeliveryTime */ protected $dmDeliveryTime = null; /** - * @var \DateTime + * @var \DateTime $dmAcceptanceTime */ protected $dmAcceptanceTime = null; /** - * @var int + * @var int $dmMessageStatus */ protected $dmMessageStatus = null; /** - * @var int + * @var int $dmAttachmentSize */ protected $dmAttachmentSize = null; /** - * @var tDmType + * @var tDmType $dmType */ protected $dmType = null; /** - * @param dmDm $dmDm - * @param tHash $dmHash + * @param dmDm $dmDm + * @param tHash $dmHash * @param base64Binary $dmQTimestamp - * @param \DateTime $dmDeliveryTime - * @param \DateTime $dmAcceptanceTime - * @param int $dmMessageStatus - * @param int $dmAttachmentSize - * @param tDmType $dmType + * @param \DateTime $dmDeliveryTime + * @param \DateTime $dmAcceptanceTime + * @param int $dmMessageStatus + * @param int $dmAttachmentSize + * @param tDmType $dmType */ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, \DateTime $dmDeliveryTime = null, \DateTime $dmAcceptanceTime = null, $dmMessageStatus = null, $dmAttachmentSize = null, $dmType = null) { - $this->dmDm = $dmDm; - $this->dmHash = $dmHash; - $this->dmQTimestamp = $dmQTimestamp; - $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; - $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; - $this->dmMessageStatus = $dmMessageStatus; - $this->dmAttachmentSize = $dmAttachmentSize; - $this->dmType = $dmType; + $this->dmDm = $dmDm; + $this->dmHash = $dmHash; + $this->dmQTimestamp = $dmQTimestamp; + $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; + $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; + $this->dmMessageStatus = $dmMessageStatus; + $this->dmAttachmentSize = $dmAttachmentSize; + $this->dmType = $dmType; } /** @@ -71,19 +72,17 @@ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, */ public function getDmDm() { - return $this->dmDm; + return $this->dmDm; } /** * @param dmDm $dmDm - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmDm($dmDm) { - $this->dmDm = $dmDm; - - return $this; + $this->dmDm = $dmDm; + return $this; } /** @@ -91,19 +90,17 @@ public function setDmDm($dmDm) */ public function getDmHash() { - return $this->dmHash; + return $this->dmHash; } /** * @param tHash $dmHash - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmHash($dmHash) { - $this->dmHash = $dmHash; - - return $this; + $this->dmHash = $dmHash; + return $this; } /** @@ -111,19 +108,17 @@ public function setDmHash($dmHash) */ public function getDmQTimestamp() { - return $this->dmQTimestamp; + return $this->dmQTimestamp; } /** * @param base64Binary $dmQTimestamp - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmQTimestamp($dmQTimestamp) { - $this->dmQTimestamp = $dmQTimestamp; - - return $this; + $this->dmQTimestamp = $dmQTimestamp; + return $this; } /** @@ -131,27 +126,25 @@ public function setDmQTimestamp($dmQTimestamp) */ public function getDmDeliveryTime() { - if ($this->dmDeliveryTime == null) { - return; - } else { - try { - return new \DateTime($this->dmDeliveryTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmDeliveryTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmDeliveryTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmDeliveryTime - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) { - $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); - - return $this; + $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); + return $this; } /** @@ -159,27 +152,25 @@ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) */ public function getDmAcceptanceTime() { - if ($this->dmAcceptanceTime == null) { - return; - } else { - try { - return new \DateTime($this->dmAcceptanceTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmAcceptanceTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmAcceptanceTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmAcceptanceTime - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) { - $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); - - return $this; + $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); + return $this; } /** @@ -187,19 +178,17 @@ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) */ public function getDmMessageStatus() { - return $this->dmMessageStatus; + return $this->dmMessageStatus; } /** * @param int $dmMessageStatus - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmMessageStatus($dmMessageStatus) { - $this->dmMessageStatus = $dmMessageStatus; - - return $this; + $this->dmMessageStatus = $dmMessageStatus; + return $this; } /** @@ -207,19 +196,17 @@ public function setDmMessageStatus($dmMessageStatus) */ public function getDmAttachmentSize() { - return $this->dmAttachmentSize; + return $this->dmAttachmentSize; } /** * @param int $dmAttachmentSize - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmAttachmentSize($dmAttachmentSize) { - $this->dmAttachmentSize = $dmAttachmentSize; - - return $this; + $this->dmAttachmentSize = $dmAttachmentSize; + return $this; } /** @@ -227,18 +214,17 @@ public function setDmAttachmentSize($dmAttachmentSize) */ public function getDmType() { - return $this->dmType; + return $this->dmType; } /** * @param tDmType $dmType - * * @return \Defr\CzechDataBox\Api\tReturnedMessage */ public function setDmType($dmType) { - $this->dmType = $dmType; - - return $this; + $this->dmType = $dmType; + return $this; } + } diff --git a/src/Api/tReturnedMessageEnvelope.php b/src/Api/tReturnedMessageEnvelope.php index 09d8297..c7ba96d 100644 --- a/src/Api/tReturnedMessageEnvelope.php +++ b/src/Api/tReturnedMessageEnvelope.php @@ -4,66 +4,67 @@ class tReturnedMessageEnvelope { + /** - * @var dmDm + * @var dmDm $dmDm */ protected $dmDm = null; /** - * @var tHash + * @var tHash $dmHash */ protected $dmHash = null; /** - * @var base64Binary + * @var base64Binary $dmQTimestamp */ protected $dmQTimestamp = null; /** - * @var \DateTime + * @var \DateTime $dmDeliveryTime */ protected $dmDeliveryTime = null; /** - * @var \DateTime + * @var \DateTime $dmAcceptanceTime */ protected $dmAcceptanceTime = null; /** - * @var int + * @var int $dmMessageStatus */ protected $dmMessageStatus = null; /** - * @var int + * @var int $dmAttachmentSize */ protected $dmAttachmentSize = null; /** - * @var tDmType + * @var tDmType $dmType */ protected $dmType = null; /** - * @param dmDm $dmDm - * @param tHash $dmHash + * @param dmDm $dmDm + * @param tHash $dmHash * @param base64Binary $dmQTimestamp - * @param \DateTime $dmDeliveryTime - * @param \DateTime $dmAcceptanceTime - * @param int $dmMessageStatus - * @param int $dmAttachmentSize - * @param tDmType $dmType + * @param \DateTime $dmDeliveryTime + * @param \DateTime $dmAcceptanceTime + * @param int $dmMessageStatus + * @param int $dmAttachmentSize + * @param tDmType $dmType */ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, \DateTime $dmDeliveryTime = null, \DateTime $dmAcceptanceTime = null, $dmMessageStatus = null, $dmAttachmentSize = null, $dmType = null) { - $this->dmDm = $dmDm; - $this->dmHash = $dmHash; - $this->dmQTimestamp = $dmQTimestamp; - $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; - $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; - $this->dmMessageStatus = $dmMessageStatus; - $this->dmAttachmentSize = $dmAttachmentSize; - $this->dmType = $dmType; + $this->dmDm = $dmDm; + $this->dmHash = $dmHash; + $this->dmQTimestamp = $dmQTimestamp; + $this->dmDeliveryTime = $dmDeliveryTime ? $dmDeliveryTime->format(\DateTime::ATOM) : null; + $this->dmAcceptanceTime = $dmAcceptanceTime ? $dmAcceptanceTime->format(\DateTime::ATOM) : null; + $this->dmMessageStatus = $dmMessageStatus; + $this->dmAttachmentSize = $dmAttachmentSize; + $this->dmType = $dmType; } /** @@ -71,19 +72,17 @@ public function __construct($dmDm = null, $dmHash = null, $dmQTimestamp = null, */ public function getDmDm() { - return $this->dmDm; + return $this->dmDm; } /** * @param dmDm $dmDm - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmDm($dmDm) { - $this->dmDm = $dmDm; - - return $this; + $this->dmDm = $dmDm; + return $this; } /** @@ -91,19 +90,17 @@ public function setDmDm($dmDm) */ public function getDmHash() { - return $this->dmHash; + return $this->dmHash; } /** * @param tHash $dmHash - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmHash($dmHash) { - $this->dmHash = $dmHash; - - return $this; + $this->dmHash = $dmHash; + return $this; } /** @@ -111,19 +108,17 @@ public function setDmHash($dmHash) */ public function getDmQTimestamp() { - return $this->dmQTimestamp; + return $this->dmQTimestamp; } /** * @param base64Binary $dmQTimestamp - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmQTimestamp($dmQTimestamp) { - $this->dmQTimestamp = $dmQTimestamp; - - return $this; + $this->dmQTimestamp = $dmQTimestamp; + return $this; } /** @@ -131,27 +126,25 @@ public function setDmQTimestamp($dmQTimestamp) */ public function getDmDeliveryTime() { - if ($this->dmDeliveryTime == null) { - return; - } else { - try { - return new \DateTime($this->dmDeliveryTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmDeliveryTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmDeliveryTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmDeliveryTime - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) { - $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); - - return $this; + $this->dmDeliveryTime = $dmDeliveryTime->format(\DateTime::ATOM); + return $this; } /** @@ -159,27 +152,25 @@ public function setDmDeliveryTime(\DateTime $dmDeliveryTime) */ public function getDmAcceptanceTime() { - if ($this->dmAcceptanceTime == null) { - return; - } else { - try { - return new \DateTime($this->dmAcceptanceTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmAcceptanceTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmAcceptanceTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmAcceptanceTime - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) { - $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); - - return $this; + $this->dmAcceptanceTime = $dmAcceptanceTime->format(\DateTime::ATOM); + return $this; } /** @@ -187,19 +178,17 @@ public function setDmAcceptanceTime(\DateTime $dmAcceptanceTime) */ public function getDmMessageStatus() { - return $this->dmMessageStatus; + return $this->dmMessageStatus; } /** * @param int $dmMessageStatus - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmMessageStatus($dmMessageStatus) { - $this->dmMessageStatus = $dmMessageStatus; - - return $this; + $this->dmMessageStatus = $dmMessageStatus; + return $this; } /** @@ -207,19 +196,17 @@ public function setDmMessageStatus($dmMessageStatus) */ public function getDmAttachmentSize() { - return $this->dmAttachmentSize; + return $this->dmAttachmentSize; } /** * @param int $dmAttachmentSize - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmAttachmentSize($dmAttachmentSize) { - $this->dmAttachmentSize = $dmAttachmentSize; - - return $this; + $this->dmAttachmentSize = $dmAttachmentSize; + return $this; } /** @@ -227,18 +214,17 @@ public function setDmAttachmentSize($dmAttachmentSize) */ public function getDmType() { - return $this->dmType; + return $this->dmType; } /** * @param tDmType $dmType - * * @return \Defr\CzechDataBox\Api\tReturnedMessageEnvelope */ public function setDmType($dmType) { - $this->dmType = $dmType; - - return $this; + $this->dmType = $dmType; + return $this; } + } diff --git a/src/Api/tSignDelivMessOutput.php b/src/Api/tSignDelivMessOutput.php index 88a0f41..2b41db9 100644 --- a/src/Api/tSignDelivMessOutput.php +++ b/src/Api/tSignDelivMessOutput.php @@ -4,24 +4,25 @@ class tSignDelivMessOutput { + /** - * @var base64Binary + * @var base64Binary $dmSignature */ protected $dmSignature = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param base64Binary $dmSignature - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmSignature = null, $dmStatus = null) { - $this->dmSignature = $dmSignature; - $this->dmStatus = $dmStatus; + $this->dmSignature = $dmSignature; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmSignature = null, $dmStatus = null) */ public function getDmSignature() { - return $this->dmSignature; + return $this->dmSignature; } /** * @param base64Binary $dmSignature - * * @return \Defr\CzechDataBox\Api\tSignDelivMessOutput */ public function setDmSignature($dmSignature) { - $this->dmSignature = $dmSignature; - - return $this; + $this->dmSignature = $dmSignature; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmSignature($dmSignature) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tSignDelivMessOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tSignedMessDownOutput.php b/src/Api/tSignedMessDownOutput.php index a0f83dd..543386c 100644 --- a/src/Api/tSignedMessDownOutput.php +++ b/src/Api/tSignedMessDownOutput.php @@ -4,24 +4,25 @@ class tSignedMessDownOutput { + /** - * @var base64Binary + * @var base64Binary $dmSignature */ protected $dmSignature = null; /** - * @var tStatus + * @var tStatus $dmStatus */ protected $dmStatus = null; /** * @param base64Binary $dmSignature - * @param tStatus $dmStatus + * @param tStatus $dmStatus */ public function __construct($dmSignature = null, $dmStatus = null) { - $this->dmSignature = $dmSignature; - $this->dmStatus = $dmStatus; + $this->dmSignature = $dmSignature; + $this->dmStatus = $dmStatus; } /** @@ -29,19 +30,17 @@ public function __construct($dmSignature = null, $dmStatus = null) */ public function getDmSignature() { - return $this->dmSignature; + return $this->dmSignature; } /** * @param base64Binary $dmSignature - * * @return \Defr\CzechDataBox\Api\tSignedMessDownOutput */ public function setDmSignature($dmSignature) { - $this->dmSignature = $dmSignature; - - return $this; + $this->dmSignature = $dmSignature; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmSignature($dmSignature) */ public function getDmStatus() { - return $this->dmStatus; + return $this->dmStatus; } /** * @param tStatus $dmStatus - * * @return \Defr\CzechDataBox\Api\tSignedMessDownOutput */ public function setDmStatus($dmStatus) { - $this->dmStatus = $dmStatus; - - return $this; + $this->dmStatus = $dmStatus; + return $this; } + } diff --git a/src/Api/tStatReqStatus.php b/src/Api/tStatReqStatus.php index b0d0873..ca99be8 100644 --- a/src/Api/tStatReqStatus.php +++ b/src/Api/tStatReqStatus.php @@ -4,13 +4,14 @@ class tStatReqStatus { + /** - * @var string + * @var string $dbStatusCode */ protected $dbStatusCode = null; /** - * @var string + * @var string $dbStatusMessage */ protected $dbStatusMessage = null; @@ -20,8 +21,8 @@ class tStatReqStatus */ public function __construct($dbStatusCode = null, $dbStatusMessage = null) { - $this->dbStatusCode = $dbStatusCode; - $this->dbStatusMessage = $dbStatusMessage; + $this->dbStatusCode = $dbStatusCode; + $this->dbStatusMessage = $dbStatusMessage; } /** @@ -29,19 +30,17 @@ public function __construct($dbStatusCode = null, $dbStatusMessage = null) */ public function getDbStatusCode() { - return $this->dbStatusCode; + return $this->dbStatusCode; } /** * @param string $dbStatusCode - * * @return \Defr\CzechDataBox\Api\tStatReqStatus */ public function setDbStatusCode($dbStatusCode) { - $this->dbStatusCode = $dbStatusCode; - - return $this; + $this->dbStatusCode = $dbStatusCode; + return $this; } /** @@ -49,18 +48,17 @@ public function setDbStatusCode($dbStatusCode) */ public function getDbStatusMessage() { - return $this->dbStatusMessage; + return $this->dbStatusMessage; } /** * @param string $dbStatusMessage - * * @return \Defr\CzechDataBox\Api\tStatReqStatus */ public function setDbStatusMessage($dbStatusMessage) { - $this->dbStatusMessage = $dbStatusMessage; - - return $this; + $this->dbStatusMessage = $dbStatusMessage; + return $this; } + } diff --git a/src/Api/tStateChangesArray.php b/src/Api/tStateChangesArray.php index 0cc5763..3b4e9a3 100644 --- a/src/Api/tStateChangesArray.php +++ b/src/Api/tStateChangesArray.php @@ -4,8 +4,9 @@ class tStateChangesArray { + /** - * @var tStateChangesRecord + * @var tStateChangesRecord $dmRecord */ protected $dmRecord = null; @@ -14,7 +15,7 @@ class tStateChangesArray */ public function __construct($dmRecord = null) { - $this->dmRecord = $dmRecord; + $this->dmRecord = $dmRecord; } /** @@ -22,18 +23,17 @@ public function __construct($dmRecord = null) */ public function getDmRecord() { - return $this->dmRecord; + return $this->dmRecord; } /** * @param tStateChangesRecord $dmRecord - * * @return \Defr\CzechDataBox\Api\tStateChangesArray */ public function setDmRecord($dmRecord) { - $this->dmRecord = $dmRecord; - - return $this; + $this->dmRecord = $dmRecord; + return $this; } + } diff --git a/src/Api/tStateChangesRecord.php b/src/Api/tStateChangesRecord.php index 19ce892..361774c 100644 --- a/src/Api/tStateChangesRecord.php +++ b/src/Api/tStateChangesRecord.php @@ -4,31 +4,32 @@ class tStateChangesRecord { + /** - * @var tIdDm + * @var tIdDm $dmID */ protected $dmID = null; /** - * @var \DateTime + * @var \DateTime $dmEventTime */ protected $dmEventTime = null; /** - * @var int + * @var int $dmMessageStatus */ protected $dmMessageStatus = null; /** - * @param tIdDm $dmID + * @param tIdDm $dmID * @param \DateTime $dmEventTime - * @param int $dmMessageStatus + * @param int $dmMessageStatus */ public function __construct($dmID = null, \DateTime $dmEventTime = null, $dmMessageStatus = null) { - $this->dmID = $dmID; - $this->dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null; - $this->dmMessageStatus = $dmMessageStatus; + $this->dmID = $dmID; + $this->dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null; + $this->dmMessageStatus = $dmMessageStatus; } /** @@ -36,19 +37,17 @@ public function __construct($dmID = null, \DateTime $dmEventTime = null, $dmMess */ public function getDmID() { - return $this->dmID; + return $this->dmID; } /** * @param tIdDm $dmID - * * @return \Defr\CzechDataBox\Api\tStateChangesRecord */ public function setDmID($dmID) { - $this->dmID = $dmID; - - return $this; + $this->dmID = $dmID; + return $this; } /** @@ -56,27 +55,25 @@ public function setDmID($dmID) */ public function getDmEventTime() { - if ($this->dmEventTime == null) { - return; - } else { - try { - return new \DateTime($this->dmEventTime); - } catch (\Exception $e) { - return false; - } + if ($this->dmEventTime == null) { + return null; + } else { + try { + return new \DateTime($this->dmEventTime); + } catch (\Exception $e) { + return false; } + } } /** * @param \DateTime $dmEventTime - * * @return \Defr\CzechDataBox\Api\tStateChangesRecord */ public function setDmEventTime(\DateTime $dmEventTime) { - $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM); - - return $this; + $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM); + return $this; } /** @@ -84,18 +81,17 @@ public function setDmEventTime(\DateTime $dmEventTime) */ public function getDmMessageStatus() { - return $this->dmMessageStatus; + return $this->dmMessageStatus; } /** * @param int $dmMessageStatus - * * @return \Defr\CzechDataBox\Api\tStateChangesRecord */ public function setDmMessageStatus($dmMessageStatus) { - $this->dmMessageStatus = $dmMessageStatus; - - return $this; + $this->dmMessageStatus = $dmMessageStatus; + return $this; } + } diff --git a/src/Api/tStatus.php b/src/Api/tStatus.php index a8fb033..4d96857 100644 --- a/src/Api/tStatus.php +++ b/src/Api/tStatus.php @@ -4,13 +4,14 @@ class tStatus { + /** - * @var string + * @var string $dmStatusCode */ protected $dmStatusCode = null; /** - * @var string + * @var string $dmStatusMessage */ protected $dmStatusMessage = null; @@ -20,8 +21,8 @@ class tStatus */ public function __construct($dmStatusCode = null, $dmStatusMessage = null) { - $this->dmStatusCode = $dmStatusCode; - $this->dmStatusMessage = $dmStatusMessage; + $this->dmStatusCode = $dmStatusCode; + $this->dmStatusMessage = $dmStatusMessage; } /** @@ -29,19 +30,17 @@ public function __construct($dmStatusCode = null, $dmStatusMessage = null) */ public function getDmStatusCode() { - return $this->dmStatusCode; + return $this->dmStatusCode; } /** * @param string $dmStatusCode - * * @return \Defr\CzechDataBox\Api\tStatus */ public function setDmStatusCode($dmStatusCode) { - $this->dmStatusCode = $dmStatusCode; - - return $this; + $this->dmStatusCode = $dmStatusCode; + return $this; } /** @@ -49,18 +48,17 @@ public function setDmStatusCode($dmStatusCode) */ public function getDmStatusMessage() { - return $this->dmStatusMessage; + return $this->dmStatusMessage; } /** * @param string $dmStatusMessage - * * @return \Defr\CzechDataBox\Api\tStatus */ public function setDmStatusMessage($dmStatusMessage) { - $this->dmStatusMessage = $dmStatusMessage; - - return $this; + $this->dmStatusMessage = $dmStatusMessage; + return $this; } + } diff --git a/src/Api/tUpdDBUserInput.php b/src/Api/tUpdDBUserInput.php index 70d80c2..090ca91 100644 --- a/src/Api/tUpdDBUserInput.php +++ b/src/Api/tUpdDBUserInput.php @@ -4,45 +4,46 @@ class tUpdDBUserInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOwnerInfo */ protected $dbOwnerInfo = null; /** - * @var tDbUserInfo + * @var tDbUserInfo $dbOldUserInfo */ protected $dbOldUserInfo = null; /** - * @var tDbUserInfo + * @var tDbUserInfo $dbNewUserInfo */ protected $dbNewUserInfo = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOwnerInfo - * @param tDbUserInfo $dbOldUserInfo - * @param tDbUserInfo $dbNewUserInfo - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param tDbUserInfo $dbOldUserInfo + * @param tDbUserInfo $dbNewUserInfo + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOwnerInfo = null, $dbOldUserInfo = null, $dbNewUserInfo = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOwnerInfo = $dbOwnerInfo; - $this->dbOldUserInfo = $dbOldUserInfo; - $this->dbNewUserInfo = $dbNewUserInfo; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOwnerInfo = $dbOwnerInfo; + $this->dbOldUserInfo = $dbOldUserInfo; + $this->dbNewUserInfo = $dbNewUserInfo; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -50,19 +51,17 @@ public function __construct($dbOwnerInfo = null, $dbOldUserInfo = null, $dbNewUs */ public function getDbOwnerInfo() { - return $this->dbOwnerInfo; + return $this->dbOwnerInfo; } /** * @param tDbOwnerInfo $dbOwnerInfo - * * @return \Defr\CzechDataBox\Api\tUpdDBUserInput */ public function setDbOwnerInfo($dbOwnerInfo) { - $this->dbOwnerInfo = $dbOwnerInfo; - - return $this; + $this->dbOwnerInfo = $dbOwnerInfo; + return $this; } /** @@ -70,19 +69,17 @@ public function setDbOwnerInfo($dbOwnerInfo) */ public function getDbOldUserInfo() { - return $this->dbOldUserInfo; + return $this->dbOldUserInfo; } /** * @param tDbUserInfo $dbOldUserInfo - * * @return \Defr\CzechDataBox\Api\tUpdDBUserInput */ public function setDbOldUserInfo($dbOldUserInfo) { - $this->dbOldUserInfo = $dbOldUserInfo; - - return $this; + $this->dbOldUserInfo = $dbOldUserInfo; + return $this; } /** @@ -90,39 +87,35 @@ public function setDbOldUserInfo($dbOldUserInfo) */ public function getDbNewUserInfo() { - return $this->dbNewUserInfo; + return $this->dbNewUserInfo; } /** * @param tDbUserInfo $dbNewUserInfo - * * @return \Defr\CzechDataBox\Api\tUpdDBUserInput */ public function setDbNewUserInfo($dbNewUserInfo) { - $this->dbNewUserInfo = $dbNewUserInfo; - - return $this; + $this->dbNewUserInfo = $dbNewUserInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tUpdDBUserInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -130,18 +123,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tUpdDBUserInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tUpdateDBInput.php b/src/Api/tUpdateDBInput.php index e48dd17..08339b8 100644 --- a/src/Api/tUpdateDBInput.php +++ b/src/Api/tUpdateDBInput.php @@ -4,38 +4,39 @@ class tUpdateDBInput { + /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbOldOwnerInfo */ protected $dbOldOwnerInfo = null; /** - * @var tDbOwnerInfo + * @var tDbOwnerInfo $dbNewOwnerInfo */ protected $dbNewOwnerInfo = null; /** - * @var bool + * @var boolean $dbApproved */ protected $dbApproved = null; /** - * @var string + * @var string $dbExternRefNumber */ protected $dbExternRefNumber = null; /** * @param tDbOwnerInfo $dbOldOwnerInfo * @param tDbOwnerInfo $dbNewOwnerInfo - * @param bool $dbApproved - * @param string $dbExternRefNumber + * @param boolean $dbApproved + * @param string $dbExternRefNumber */ public function __construct($dbOldOwnerInfo = null, $dbNewOwnerInfo = null, $dbApproved = null, $dbExternRefNumber = null) { - $this->dbOldOwnerInfo = $dbOldOwnerInfo; - $this->dbNewOwnerInfo = $dbNewOwnerInfo; - $this->dbApproved = $dbApproved; - $this->dbExternRefNumber = $dbExternRefNumber; + $this->dbOldOwnerInfo = $dbOldOwnerInfo; + $this->dbNewOwnerInfo = $dbNewOwnerInfo; + $this->dbApproved = $dbApproved; + $this->dbExternRefNumber = $dbExternRefNumber; } /** @@ -43,19 +44,17 @@ public function __construct($dbOldOwnerInfo = null, $dbNewOwnerInfo = null, $dbA */ public function getDbOldOwnerInfo() { - return $this->dbOldOwnerInfo; + return $this->dbOldOwnerInfo; } /** * @param tDbOwnerInfo $dbOldOwnerInfo - * * @return \Defr\CzechDataBox\Api\tUpdateDBInput */ public function setDbOldOwnerInfo($dbOldOwnerInfo) { - $this->dbOldOwnerInfo = $dbOldOwnerInfo; - - return $this; + $this->dbOldOwnerInfo = $dbOldOwnerInfo; + return $this; } /** @@ -63,39 +62,35 @@ public function setDbOldOwnerInfo($dbOldOwnerInfo) */ public function getDbNewOwnerInfo() { - return $this->dbNewOwnerInfo; + return $this->dbNewOwnerInfo; } /** * @param tDbOwnerInfo $dbNewOwnerInfo - * * @return \Defr\CzechDataBox\Api\tUpdateDBInput */ public function setDbNewOwnerInfo($dbNewOwnerInfo) { - $this->dbNewOwnerInfo = $dbNewOwnerInfo; - - return $this; + $this->dbNewOwnerInfo = $dbNewOwnerInfo; + return $this; } /** - * @return bool + * @return boolean */ public function getDbApproved() { - return $this->dbApproved; + return $this->dbApproved; } /** - * @param bool $dbApproved - * + * @param boolean $dbApproved * @return \Defr\CzechDataBox\Api\tUpdateDBInput */ public function setDbApproved($dbApproved) { - $this->dbApproved = $dbApproved; - - return $this; + $this->dbApproved = $dbApproved; + return $this; } /** @@ -103,18 +98,17 @@ public function setDbApproved($dbApproved) */ public function getDbExternRefNumber() { - return $this->dbExternRefNumber; + return $this->dbExternRefNumber; } /** * @param string $dbExternRefNumber - * * @return \Defr\CzechDataBox\Api\tUpdateDBInput */ public function setDbExternRefNumber($dbExternRefNumber) { - $this->dbExternRefNumber = $dbExternRefNumber; - - return $this; + $this->dbExternRefNumber = $dbExternRefNumber; + return $this; } + } diff --git a/src/Api/tUserType.php b/src/Api/tUserType.php index 70b8bb9..9934178 100644 --- a/src/Api/tUserType.php +++ b/src/Api/tUserType.php @@ -11,4 +11,6 @@ class tUserType const OFFICIAL = 'OFFICIAL'; const OFFICIAL_CERT = 'OFFICIAL_CERT'; const LIQUIDATOR = 'LIQUIDATOR'; + + } diff --git a/src/DataBox.php b/src/DataBox.php index b4b0f76..bd6eec6 100644 --- a/src/DataBox.php +++ b/src/DataBox.php @@ -196,8 +196,6 @@ private function getServiceURL($serviceType) $res = $res . 'df'; break; case DataBoxHelper::ACCESS_WS: - $res = $res . 'DsManage'; - break; case DataBoxHelper::STAT_WS: $res = $res . 'DsManage'; break; diff --git a/src/DataBoxSimpleApi.php b/src/DataBoxSimpleApi.php index 344b917..c39f60d 100644 --- a/src/DataBoxSimpleApi.php +++ b/src/DataBoxSimpleApi.php @@ -85,7 +85,7 @@ public function getListOfReceivedMessages($days = 90, $limit = 1000) $params = new tListOfFReceivedInput(); $params->setDmToTime(new \DateTime()) - ->setDmFromTime((new \DateTime())->sub(new \DateInterval('P' . $days . 'D'))) + ->setDmFromTime((new \DateTime())->sub(new \DateInterval('P'.$days.'D'))) ->setDmLimit($limit) ->setDmOffset(0) ->setDmRecipientOrgUnitNum(null) @@ -115,7 +115,7 @@ public function getListOfSentMessages($days = 90, $limit = 1000) $params = new tListOfSentInput(); $params->setDmToTime(new \DateTime()) - ->setDmFromTime((new \DateTime())->sub(new \DateInterval('P' . $days . 'D'))) + ->setDmFromTime((new \DateTime())->sub(new \DateInterval('P'.$days.'D'))) ->setDmLimit($limit) ->setDmOffset(0) ->setDmSenderOrgUnitNum(null) @@ -157,7 +157,9 @@ public function downloadSignedReceivedMessage($dataMessageId) { $file = $this->getLocationForMessage($dataMessageId, 'r'); if (false === $file->getIsExist()) { - $content = $this->dataBox->DmOperationsWebService()->SignedMessageDownload((new tIDMessInput())->setDmID($dataMessageId))->getDmSignature(); + $content = $this->dataBox->DmOperationsWebService()->SignedMessageDownload( + (new tIDMessInput())->setDmID($dataMessageId) + )->getDmSignature(); $file->save($content); } @@ -177,7 +179,9 @@ public function downloadSignedSentMessage($dataMessageId) { $file = $this->getLocationForMessage($dataMessageId, 's'); if (false === $file->getIsExist()) { - $content = $this->dataBox->DmOperationsWebService()->SignedSentMessageDownload((new tIDMessInput())->setDmID($dataMessageId))->getDmSignature(); + $content = $this->dataBox->DmOperationsWebService()->SignedSentMessageDownload( + (new tIDMessInput())->setDmID($dataMessageId) + )->getDmSignature(); $file->save($content); } @@ -197,7 +201,9 @@ public function downloadDeliveryInfo($dataMessageId) { $file = $this->getLocationForMessage($dataMessageId, 'di'); if (false === $file->getIsExist()) { - $content = $this->dataBox->DmInfoWebService()->GetSignedDeliveryInfo((new tIDMessInput())->setDmID($dataMessageId))->getDmSignature(); + $content = $this->dataBox->DmInfoWebService()->GetSignedDeliveryInfo( + (new tIDMessInput())->setDmID($dataMessageId) + )->getDmSignature(); $file->save($content); } @@ -217,7 +223,9 @@ public function getReceivedDataMessageAttachments($dataMessageId) { /** @var dmFile[] $attachments */ - $attachments = $this->dataBox->DmOperationsWebService()->MessageDownload(new tIDMessInput($dataMessageId))->getDmReturnedMessage()->getDmDm()->dmFiles->getDmFile(); + $attachments = $this->dataBox->DmOperationsWebService()->MessageDownload( + new tIDMessInput($dataMessageId) + )->getDmReturnedMessage()->getDmDm()->dmFiles->getDmFile(); $files = []; foreach ($attachments as $attachment) { @@ -235,9 +243,9 @@ public function getReceivedDataMessageAttachments($dataMessageId) /** * Vytvoří základní zprávu k odeslání * - * @param string $recipient Recipient's DataBox ID - * @param string $subject Message annotation - * @param array $attachments Paths to files attached to the message + * @param string $recipient Recipient's DataBox ID + * @param string $subject Message annotation + * @param array $attachments Paths to files attached to the message * * @return tMessageCreateInput * @throws DataBoxException @@ -277,7 +285,8 @@ function ($filePath) { $file->setDmEncodedContent(\file_get_contents($filePath)); return $file; - }, $attachments + }, + $attachments ); @@ -338,12 +347,12 @@ private function returnAsArray($input) private function getLocationForMessage($messageId, $suffix = null) { if ($suffix !== null && substr($suffix, 1, 1) != '_') { - $suffix = '_' . $suffix; + $suffix = '_'.$suffix; } $hash = md5($messageId); - $subFolder = substr($hash, 0, 2) . '/' . substr($hash, 2, 2) . '/' . substr($hash, 4, 2); - $location = $this->dataBox->getDirectory() . '/' . $subFolder . '/' . $messageId . strtoupper($suffix) . '.zfo'; + $subFolder = substr($hash, 0, 2).'/'.substr($hash, 2, 2).'/'.substr($hash, 4, 2); + $location = $this->dataBox->getDirectory().'/'.$subFolder.'/'.$messageId.strtoupper($suffix).'.zfo'; return new DataBoxMessageFile($location); } @@ -357,8 +366,8 @@ private function getLocationForMessage($messageId, $suffix = null) private function getLocationForAttachment($messageId, $fileName) { $hash = md5($messageId); - $subFolder = substr($hash, 0, 2) . '/' . substr($hash, 2, 2) . '/' . substr($hash, 4, 2); - $location = $this->dataBox->getDirectory() . '/' . $subFolder . '/' . $messageId . '/' . $fileName; + $subFolder = substr($hash, 0, 2).'/'.substr($hash, 2, 2).'/'.substr($hash, 4, 2); + $location = $this->dataBox->getDirectory().'/'.$subFolder.'/'.$messageId.'/'.$fileName; return new DataBoxMessageAttachment($location); } diff --git a/utilities/classes_generator.php b/utilities/classes_generator.php index c186c3f..e51ffbe 100644 --- a/utilities/classes_generator.php +++ b/utilities/classes_generator.php @@ -8,7 +8,7 @@ $generator = new Generator(); $classesLocation = __DIR__ . '/../src/Api/'; -if (count(@scandir($classesLocation)) > 1) { +if (count(@scandir($classesLocation)) > 2) { throw new \Exception('Classes are already generated.'); }