├── .editorconfig
├── .github
└── workflows
│ └── test.yaml
├── .gitignore
├── .php-version
├── LICENSE
├── README.md
├── Resources
├── IsdsStat.xsd
├── all_trusted.pem
├── dbTypes.xsd
├── db_access.wsdl
├── db_manipulations.wsdl
├── db_search.wsdl
├── dmBaseTypes.xsd
├── dm_VoDZ.wsdl
├── dm_info.wsdl
├── dm_operations.wsdl
├── isds_stat.wsdl
├── isds_wsdl_v303.txt
├── logo.png
├── postsignum_qca2_root.pem
├── postsignum_qca2_sub.pem
├── postsignum_qca_root.pem
└── postsignum_qca_sub.pem
├── composer.json
├── composer.lock
├── config.ini.dist
├── examples
├── bootstrap.php
├── find_data_box.php
├── information_about_databox.php
├── list_of_received_messages.php
└── simple_api.php
├── phpcs.xml
├── phpstan.neon
├── phpunit.xml.dist
├── src
├── Api
│ ├── AuthenticateBigMessage.php
│ ├── AuthenticateBigMessageResponse.php
│ ├── BigMessageDownload.php
│ ├── BigMessageDownloadResponse.php
│ ├── DataBoxAccess.php
│ ├── DataBoxSearch.php
│ ├── DmInfoWebService.php
│ ├── DmOperationsWebService.php
│ ├── DownloadAttachment.php
│ ├── DownloadAttachmentResponse.php
│ ├── GetConstants.php
│ ├── GetMessageAuthor2Response.php
│ ├── IsdsStat.php
│ ├── RegisterForNotifications.php
│ ├── RegisterForNotificationsResponse.php
│ ├── SignedBigMessageDownload.php
│ ├── SignedBigMessageDownloadResponse.php
│ ├── SignedSentBigMessageDownload.php
│ ├── SignedSentBigMessageDownloadResponse.php
│ ├── UploadAttachment.php
│ ├── UploadAttachmentResponse.php
│ ├── ciRecords.php
│ ├── constRecords.php
│ ├── dbID.php
│ ├── dbOwnerInfo.php
│ ├── dbUserInfo.php
│ ├── dmAttHash1.php
│ ├── dmAttHash2.php
│ ├── dmDm.php
│ ├── dmEnvelope.php
│ ├── dmExtFile.php
│ ├── dmFile.php
│ ├── dmFiles.php
│ ├── dmMessageAuthor.php
│ ├── dmPublishOwnID.php
│ ├── dmReturnedMessage.php
│ ├── dmXMLContent.php
│ ├── maItem.php
│ ├── tAddDBUserInput.php
│ ├── tAddDBUserInput2.php
│ ├── tAddDBUserOutput.php
│ ├── tAddDBUserOutput2.php
│ ├── tAuthenticateMessageInput.php
│ ├── tAuthenticateMessageOutput.php
│ ├── tBigMessEnvelope.php
│ ├── tBigMessageInput.php
│ ├── tBigMessageOutput.php
│ ├── tChangeDBsTypeInput.php
│ ├── tChangeDBsTypeOutput.php
│ ├── tChangeLogRow.php
│ ├── tCheckDBOutput.php
│ ├── tChngPasswInput.php
│ ├── tCiRecord.php
│ ├── tConstRecord.php
│ ├── tCreateDBInput.php
│ ├── tCreateDBInput2.php
│ ├── tCreateDBOutput.php
│ ├── tCreateDBOutput2.php
│ ├── tDBCreditInfoInput.php
│ ├── tDBCreditInfoOutput.php
│ ├── tDTInfoInput.php
│ ├── tDTInfoOutput.php
│ ├── tDbOwnerInfo.php
│ ├── tDbOwnerInfoExt.php
│ ├── tDbOwnerInfoExt2.php
│ ├── tDbOwnersArray.php
│ ├── tDbOwnersArray2.php
│ ├── tDbReqStatus.php
│ ├── tDbType.php
│ ├── tDbUserInfo.php
│ ├── tDbUserInfoExt.php
│ ├── tDbUserInfoExt2.php
│ ├── tDbUsersArray.php
│ ├── tDbUsersArray2.php
│ ├── tDelDBUserInput.php
│ ├── tDelDBUserInput2.php
│ ├── tDeleteDBInput.php
│ ├── tDeleteDBInput2.php
│ ├── tDeleteDBPromptlyInput.php
│ ├── tDelivery.php
│ ├── tDeliveryMessageOutput.php
│ ├── tDisableExternallyInput.php
│ ├── tDisableExternallyInput2.php
│ ├── tDummyInput.php
│ ├── tEraseMessageIntput.php
│ ├── tEraseMessageOutput.php
│ ├── tEvent.php
│ ├── tEventsArray.php
│ ├── tFile.php
│ ├── tFilesArray.php
│ ├── tFindDBInput.php
│ ├── tFindDBInput2.php
│ ├── tFindDBOuput.php
│ ├── tFindDBOuput2.php
│ ├── tFindPersonalDBInput.php
│ ├── tFindPersonalDBOutput.php
│ ├── tGetAuthorInput.php
│ ├── tGetAuthorOutput.php
│ ├── tGetConstsOutput.php
│ ├── tGetDBListInput.php
│ ├── tGetDBListOutput.php
│ ├── tGetDBStatusInput.php
│ ├── tGetDBStatusOutput.php
│ ├── tGetDBUsers2Output.php
│ ├── tGetListOfErasedInput.php
│ ├── tGetListOfErasedOutput.php
│ ├── tGetOwnInfoOutput.php
│ ├── tGetOwnInfoOutput2.php
│ ├── tGetPasswInfoOutput.php
│ ├── tGetStateChangesInput.php
│ ├── tGetStateChangesOutput.php
│ ├── tGetUserInfoOutput.php
│ ├── tGetUserInfoOutput2.php
│ ├── tHash.php
│ ├── tIDMessInput.php
│ ├── tISDSSearchInput.php
│ ├── tISDSSearchInput3.php
│ ├── tISDSSearchOutput.php
│ ├── tISDSSearchOutput2.php
│ ├── tIdDBDUInput.php
│ ├── tIdDBDUInputAttrs2.php
│ ├── tIdDBInput.php
│ ├── tIdDBInputAttrs.php
│ ├── tListForNotifInput.php
│ ├── tListForNotifOutput.php
│ ├── tListOfFReceivedInput.php
│ ├── tListOfMessOutput.php
│ ├── tListOfSentInput.php
│ ├── tMStatus.php
│ ├── tMarkMessOutput.php
│ ├── tMessDownOutput.php
│ ├── tMessEnvelDownOutput.php
│ ├── tMessageCreateInput.php
│ ├── tMessageCreateOutput.php
│ ├── tMessageEnvelopeSub.php
│ ├── tMessageVerifyOutput.php
│ ├── tMultipleMessageCreateInput.php
│ ├── tMultipleMessageCreateOutput.php
│ ├── tMultipleMessageEnvelopeSub.php
│ ├── tMultipleMessageRecipients.php
│ ├── tMultipleStatus.php
│ ├── tNewAccDataInput.php
│ ├── tNewAccDataInput2.php
│ ├── tNewAccDataOutput.php
│ ├── tNewAccDataOutput2.php
│ ├── tNtfRecord.php
│ ├── tNtfRecordsArray.php
│ ├── tNumOfMessagesInput.php
│ ├── tNumOfMessagesOutput.php
│ ├── tOwnerInfoInput.php
│ ├── tPDZInfoInput.php
│ ├── tPDZInfoOutput.php
│ ├── tPDZRec.php
│ ├── tPDZRecArray.php
│ ├── tPDZSendInput.php
│ ├── tPDZSendOutput.php
│ ├── tPickUpAsyncInput.php
│ ├── tPickUpAsyncOutput.php
│ ├── tRecipients.php
│ ├── tRecord.php
│ ├── tRecordsArray.php
│ ├── tReqStatusOutput.php
│ ├── tResignDocInput.php
│ ├── tResignDocOutput.php
│ ├── tReturnedMessage.php
│ ├── tReturnedMessageEnvelope.php
│ ├── tSignDelivMessOutput.php
│ ├── tSignedMessDownOutput.php
│ ├── tStatReqStatus.php
│ ├── tStateChangesArray.php
│ ├── tStateChangesRecord.php
│ ├── tStatus.php
│ ├── tUpdDBUserInput.php
│ ├── tUpdDBUserInput2.php
│ ├── tUpdateDBInput.php
│ ├── tUpdateDBInput2.php
│ ├── tUserType.php
│ ├── tdbPeriod.php
│ ├── tdbPeriodsArray.php
│ ├── tdbPersOwnersArray.php
│ ├── tdbPersonalOwnerInfo.php
│ ├── tdbResult.php
│ ├── tdbResult2.php
│ ├── tdbResultsArray.php
│ └── tdbResultsArray2.php
├── ApiExtensions
│ └── dmFile.php
├── DataBox.php
├── DataBoxException.php
├── DataBoxHelper.php
├── DataBoxMessageAttachment.php
├── DataBoxMessageFile.php
└── DataBoxSimpleApi.php
├── tests
├── DataBoxSimpleApiTest.php
└── DataBoxTest.php
└── utilities
├── .gitignore
├── .php-version
├── classes_generator.php
├── composer.json
└── composer.lock
/.editorconfig:
--------------------------------------------------------------------------------
1 | # .editorconfig
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | end_of_line = lf
7 | insert_final_newline = true
8 | trim_trailing_whitespace = true
9 | indent_style = space
10 | indent_size = 4
11 |
--------------------------------------------------------------------------------
/.github/workflows/test.yaml:
--------------------------------------------------------------------------------
1 | name: PHPUnit
2 |
3 | on:
4 | push:
5 | branches:
6 | - '**'
7 | tags-ignore:
8 | - '**'
9 |
10 | jobs:
11 | run:
12 | runs-on: ubuntu-latest
13 | strategy:
14 | matrix:
15 | php-versions:
16 | - 8.0
17 | - 8.1
18 | - 8.2
19 | name: PHP ${{ matrix.php-versions }} test
20 |
21 | steps:
22 |
23 | - uses: actions/checkout@v3
24 |
25 | - name: Setup PHP
26 | uses: shivammathur/setup-php@v2
27 | with:
28 | php-version: ${{ matrix.php-versions }}
29 | tools: phpunit:9.6
30 | coverage: none
31 |
32 | - name: Install dependencies
33 | run: composer install --prefer-dist --dev
34 |
35 | - run: composer check
36 |
37 | - run: phpunit
38 | env:
39 | DATABOX_LOGIN: ${{ secrets.DATABOX_LOGIN }}
40 | DATABOX_PASSWORD: ${{ secrets.DATABOX_PASSWORD }}
41 | DATABOX_PRODUCTION: ${{ secrets.DATABOX_PRODUCTION }}
42 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | vendor/
2 | .git/
3 | .idea/
4 | config.ini
5 | .phpunit.result.cache
6 | .phpcs-cache
7 | phpunit.xml
8 |
--------------------------------------------------------------------------------
/.php-version:
--------------------------------------------------------------------------------
1 | 8.0
2 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 - 2023 Dennis Fridrich
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/Resources/IsdsStat.xsd:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | návratový typ WS
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Resources/isds_stat.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/Resources/isds_wsdl_v303.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dfridrich/CzechDataBox/9044e116479a4516e33c2e064714bdb190aab3da/Resources/isds_wsdl_v303.txt
--------------------------------------------------------------------------------
/Resources/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dfridrich/CzechDataBox/9044e116479a4516e33c2e064714bdb190aab3da/Resources/logo.png
--------------------------------------------------------------------------------
/Resources/postsignum_qca2_root.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIFnDCCBISgAwIBAgIBZDANBgkqhkiG9w0BAQsFADBbMQswCQYDVQQGEwJDWjEs
3 | MCoGA1UECgwjxIxlc2vDoSBwb8WhdGEsIHMucC4gW0nEjCA0NzExNDk4M10xHjAc
4 | BgNVBAMTFVBvc3RTaWdudW0gUm9vdCBRQ0EgMjAeFw0xMDAxMTkwODA0MzFaFw0y
5 | NTAxMTkwODA0MzFaMFsxCzAJBgNVBAYTAkNaMSwwKgYDVQQKDCPEjGVza8OhIHBv
6 | xaF0YSwgcy5wLiBbScSMIDQ3MTE0OTgzXTEeMBwGA1UEAxMVUG9zdFNpZ251bSBS
7 | b290IFFDQSAyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoFz8yBxf
8 | 2gf1uN0GGXknvGHwurpp4Lw3ZPWZB6nEBDGjSGIXK0Or6Xa3ZT+tVDTeUUjT133G
9 | 7Vs51D6z/ShWy+9T7a1f6XInakewyFj8PT0EdZ4tAybNYdEUO/dShg2WvUyfZfXH
10 | 0jmmZm6qUDy0VfKQfiyWchQRi/Ax6zXaU2+X3hXBfvRMr5l6zgxYVATEyxCfOLM9
11 | a5U6lhpyCDf2Gg6dPc5Cy6QwYGGpYER1fzLGsN9stdutkwlP13DHU1Sp6W5ywtfL
12 | owYaV1bqOOdARbAoJ7q8LO6EBjyIVr03mFusPaMCOzcEn3zL5XafknM36Vqtdmqz
13 | iWR+3URAUgqE0wIDAQABo4ICaTCCAmUwgaUGA1UdHwSBnTCBmjAxoC+gLYYraHR0
14 | cDovL3d3dy5wb3N0c2lnbnVtLmN6L2NybC9wc3Jvb3RxY2EyLmNybDAyoDCgLoYs
15 | aHR0cDovL3d3dzIucG9zdHNpZ251bS5jei9jcmwvcHNyb290cWNhMi5jcmwwMaAv
16 | oC2GK2h0dHA6Ly9wb3N0c2lnbnVtLnR0Yy5jei9jcmwvcHNyb290cWNhMi5jcmww
17 | gfEGA1UdIASB6TCB5jCB4wYEVR0gADCB2jCB1wYIKwYBBQUHAgIwgcoagcdUZW50
18 | byBrdmFsaWZpa292YW55IHN5c3RlbW92eSBjZXJ0aWZpa2F0IGJ5bCB2eWRhbiBw
19 | b2RsZSB6YWtvbmEgMjI3LzIwMDBTYi4gYSBuYXZhem55Y2ggcHJlZHBpc3UvVGhp
20 | cyBxdWFsaWZpZWQgc3lzdGVtIGNlcnRpZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3Jk
21 | aW5nIHRvIExhdyBObyAyMjcvMjAwMENvbGwuIGFuZCByZWxhdGVkIHJlZ3VsYXRp
22 | b25zMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQW
23 | BBQVKYzFRWmruLPD6v5LuDHY3PDndjCBgwYDVR0jBHwweoAUFSmMxUVpq7izw+r+
24 | S7gx2Nzw53ahX6RdMFsxCzAJBgNVBAYTAkNaMSwwKgYDVQQKDCPEjGVza8OhIHBv
25 | xaF0YSwgcy5wLiBbScSMIDQ3MTE0OTgzXTEeMBwGA1UEAxMVUG9zdFNpZ251bSBS
26 | b290IFFDQSAyggFkMA0GCSqGSIb3DQEBCwUAA4IBAQBeKtoLQKFqWJEgLNxPbQNN
27 | 5OTjbpOTEEkq2jFI0tUhtRx//6zwuqJCzfO/KqggUrHBca+GV/qXcNzNAlytyM71
28 | fMv/VwgL9gBHTN/IFIw100JbciI23yFQTdF/UoEfK/m+IFfirxSRi8LRERdXHTEb
29 | vwxMXIzZVXloWvX64UwWtf4Tvw5bAoPj0O1Z2ly4aMTAT2a+y+z184UhuZ/oGyMw
30 | eIakmFM7M7RrNki507jiSLTzuaFMCpyWOX7ULIhzY6xKdm5iQLjTvExn2JTvVChF
31 | Y+jUu/G0zAdLyeU4vaXdQm1A8AEiJPTd0Z9LAxL6Sq2iraLNN36+NyEK/ts3mPLL
32 | -----END CERTIFICATE-----
33 |
--------------------------------------------------------------------------------
/Resources/postsignum_qca2_sub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIGXzCCBUegAwIBAgIBcTANBgkqhkiG9w0BAQsFADBbMQswCQYDVQQGEwJDWjEs
3 | MCoGA1UECgwjxIxlc2vDoSBwb8WhdGEsIHMucC4gW0nEjCA0NzExNDk4M10xHjAc
4 | BgNVBAMTFVBvc3RTaWdudW0gUm9vdCBRQ0EgMjAeFw0xMDAxMTkxMTMxMjBaFw0y
5 | MDAxMTkxMTMwMjBaMF8xCzAJBgNVBAYTAkNaMSwwKgYDVQQKDCPEjGVza8OhIHBv
6 | xaF0YSwgcy5wLiBbScSMIDQ3MTE0OTgzXTEiMCAGA1UEAxMZUG9zdFNpZ251bSBR
7 | dWFsaWZpZWQgQ0EgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKbR
8 | ReVFlmMooQD/ZzJA9M793LcZivHRvWEG8jsEpp2xTayR17ovs8OMeoYKjvGo6PDf
9 | kCJs+sBYS0q5WQFApdWkyl/tUOw1oZ2SPSq6uYLJUyOYSKPMOgKz4u3XuB4Ki1Z+
10 | i8Fb7zeRye6eqahK+tql3ZAJnrJKgC4X2Ta1RKkxK+Hu1bdhWJA3gwL+WkIZbL/P
11 | YIzjet++T8ssWK1PWdBXsSfKOTikNzZt2VPETAQDBpOYxqAgLfCRbcb9KU2WIMT3
12 | NNxILu3sNl+OM9gV/GWO943JHsOMAVyJSQREaZksG5KDzzNzQS/LsbYkFtnJAmmh
13 | 7g9p9Ci6cEJ+pfBTtMECAwEAAaOCAygwggMkMIHxBgNVHSAEgekwgeYwgeMGBFUd
14 | IAAwgdowgdcGCCsGAQUFBwICMIHKGoHHVGVudG8ga3ZhbGlmaWtvdmFueSBzeXN0
15 | ZW1vdnkgY2VydGlmaWthdCBieWwgdnlkYW4gcG9kbGUgemFrb25hIDIyNy8yMDAw
16 | U2IuIGEgbmF2YXpueWNoIHByZWRwaXN1L1RoaXMgcXVhbGlmaWVkIHN5c3RlbSBj
17 | ZXJ0aWZpY2F0ZSB3YXMgaXNzdWVkIGFjY29yZGluZyB0byBMYXcgTm8gMjI3LzIw
18 | MDBDb2xsLiBhbmQgcmVsYXRlZCByZWd1bGF0aW9uczASBgNVHRMBAf8ECDAGAQH/
19 | AgEAMIG8BggrBgEFBQcBAQSBrzCBrDA3BggrBgEFBQcwAoYraHR0cDovL3d3dy5w
20 | b3N0c2lnbnVtLmN6L2NydC9wc3Jvb3RxY2EyLmNydDA4BggrBgEFBQcwAoYsaHR0
21 | cDovL3d3dzIucG9zdHNpZ251bS5jei9jcnQvcHNyb290cWNhMi5jcnQwNwYIKwYB
22 | BQUHMAKGK2h0dHA6Ly9wb3N0c2lnbnVtLnR0Yy5jei9jcnQvcHNyb290cWNhMi5j
23 | cnQwDgYDVR0PAQH/BAQDAgEGMIGDBgNVHSMEfDB6gBQVKYzFRWmruLPD6v5LuDHY
24 | 3PDndqFfpF0wWzELMAkGA1UEBhMCQ1oxLDAqBgNVBAoMI8SMZXNrw6EgcG/FoXRh
25 | LCBzLnAuIFtJxIwgNDcxMTQ5ODNdMR4wHAYDVQQDExVQb3N0U2lnbnVtIFJvb3Qg
26 | UUNBIDKCAWQwgaUGA1UdHwSBnTCBmjAxoC+gLYYraHR0cDovL3d3dy5wb3N0c2ln
27 | bnVtLmN6L2NybC9wc3Jvb3RxY2EyLmNybDAyoDCgLoYsaHR0cDovL3d3dzIucG9z
28 | dHNpZ251bS5jei9jcmwvcHNyb290cWNhMi5jcmwwMaAvoC2GK2h0dHA6Ly9wb3N0
29 | c2lnbnVtLnR0Yy5jei9jcmwvcHNyb290cWNhMi5jcmwwHQYDVR0OBBYEFInoTN+L
30 | Jjk+1yQuEg565+Yn5daXMA0GCSqGSIb3DQEBCwUAA4IBAQB17M2VB48AXCVfVeeO
31 | Lo0LIJZcg5EyHUKurbnff6tQOmyT7gzpkJNY3I3ijW2ErBfUM/6HefMxYKKWSs4j
32 | XqGSK5QfxG0B0O3uGfHPS4WFftaPSAnWk1tiJZ4c43+zSJCcH33n9pDmvt8n0j+6
33 | cQAZIWh4PPpmkvUg3uN4E0bzZHnH2uKzMvpVnE6wKml6oV+PUfPASPIYQw9gFEAN
34 | cMzp10hXJHrnOo0alPklymZdTVssBXwdzhSBsFel1eVBSvVOx6+y8zdbrkRLOvTV
35 | nSMb6zH+fsygU40mimdo30rY/6N+tdQhbM/sTCxgdWAy2g0elAN1zi9Jx6aQ76wo
36 | Dcn+
37 | -----END CERTIFICATE-----
38 |
--------------------------------------------------------------------------------
/Resources/postsignum_qca_root.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIGKjCCBRKgAwIBAgIBATANBgkqhkiG9w0BAQUFADBZMQswCQYDVQQGEwJDWjEs
3 | MCoGA1UECgwjxIxlc2vDoSBwb8WhdGEsIHMucC4gW0nEjCA0NzExNDk4M10xHDAa
4 | BgNVBAMTE1Bvc3RTaWdudW0gUm9vdCBRQ0EwHhcNMDUwNDA2MDk0NTExWhcNMzAw
5 | NDA2MDk0MjI3WjBZMQswCQYDVQQGEwJDWjEsMCoGA1UECgwjxIxlc2vDoSBwb8Wh
6 | dGEsIHMucC4gW0nEjCA0NzExNDk4M10xHDAaBgNVBAMTE1Bvc3RTaWdudW0gUm9v
7 | dCBRQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4OrLAx+0mAPpc
8 | fvUNrOic7u6DJcokEJLoWSv0ZurD5pXVZG+zN9pKX5P3iH7DZtuZ2qwzg4tHReCe
9 | u6SR+aAn962eG2ZEw1uv411QrZUgVkOe8Tvfr0Cv1HOzgZn0AFZNZ8TnHS67SMP/
10 | z//VyFLqSBm44QtJDeiAvzwLXFAp5HYeIBMXVMfp1aY2t8RN7B0WSgO8aU1UgRvi
11 | KR4qCJao0iCuQV/4f0Exf1o4AyjXlTZ4wbKD5ZAwuI8a+aZKjtIW1Ucioa/0kyLx
12 | 3DHLq0Lsll5OaVP2awfPkxXGyPOSYrEXxoNm32CfKeXjY1xTIwm0cIx5AEpNP8t7
13 | Ku5hPwY7AgMBAAGjggL7MIIC9zCCAYsGA1UdHwSCAYIwggF+MDCgLqAshipodHRw
14 | Oi8vd3d3LnBvc3RzaWdudW0uY3ovY3JsL3Bzcm9vdHFjYS5jcmwwMKAuoCyGKmh0
15 | dHA6Ly9wb3N0c2lnbnVtLnR0Yy5jei9jcmwvcHNyb290cWNhLmNybDCBiqCBh6CB
16 | hIaBgWxkYXA6Ly9xY2EucG9zdHNpZ251bS5jei9jbiUzZFBvc3RTaWdudW0lMjBS
17 | b290JTIwUUNBLG8lM2RDZXNrYSUyMHBvc3RhJTIwcy5wLiUyMFtJQyUyMDQ3MTE0
18 | OTgzXSxjJTNkQ1o/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdDCBiqCBh6CBhIaB
19 | gWxkYXA6Ly9wb3N0c2lnbnVtLnR0Yy5jei9jbiUzZFBvc3RTaWdudW0lMjBSb290
20 | JTIwUUNBLG8lM2RDZXNrYSUyMHBvc3RhJTIwcy5wLiUyMFtJQyUyMDQ3MTE0OTgz
21 | XSxjJTNkQ1o/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdDCBoQYDVR0gBIGZMIGW
22 | MIGTBgRVHSAAMIGKMIGHBggrBgEFBQcCAjB7GnlUZW50byBjZXJ0aWZpa2F0IGJ5
23 | bCB2eWRhbiBqYWtvIGt2YWxpZmlrb3Zhbnkgc3lzdGVtb3Z5IGNlcnRpZmlrYXQg
24 | dmUgc215c2x1IHpha29uYSAyMjcvMjAwMCBTYi4gYSBuYXZhenVqaWNpY2ggcHJl
25 | ZHBpc3UuMA8GA1UdEwQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQW
26 | BBQrHdGdefXVeB4CPIJK6N3uQ68pRDCBgQYDVR0jBHoweIAUKx3RnXn11XgeAjyC
27 | Sujd7kOvKUShXaRbMFkxCzAJBgNVBAYTAkNaMSwwKgYDVQQKDCPEjGVza8OhIHBv
28 | xaF0YSwgcy5wLiBbScSMIDQ3MTE0OTgzXTEcMBoGA1UEAxMTUG9zdFNpZ251bSBS
29 | b290IFFDQYIBATANBgkqhkiG9w0BAQUFAAOCAQEAsWkApNYzof7ZKmroU3aDOnR/
30 | 2ObgD0SnE3N+/KYYSGCzLf4HQtGspMjUEDMULUqAWQF76ZbPRbv6FSVyk5YuAxkI
31 | DvNknsfTxz6mCnGNsL/qgTYaK2TLk8A1b6VEXMD0MjOXODm5ooa+sSNxzT3JBbTC
32 | AJbtJ6OrDmqVE9X+88M39L1z7YTHPaTt1i7HGrKfYf42TWp0oGD+o0lJQoqAwHOj
33 | ASVmDEs4iUUi6y3jboBJtZSoUDkzK5mRlJELWtdvANTpcrf/DLj7CbG9wKYIUH0D
34 | KQuvApdC79JbGojTzZiMOVBH9H+v/8suZgFdQqBwF82mwSZwxHmn149grQLkJg==
35 | -----END CERTIFICATE-----
36 |
--------------------------------------------------------------------------------
/Resources/postsignum_qca_sub.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIGLjCCBRagAwIBAgIBHDANBgkqhkiG9w0BAQUFADBZMQswCQYDVQQGEwJDWjEs
3 | MCoGA1UECgwjxIxlc2vDoSBwb8WhdGEsIHMucC4gW0nEjCA0NzExNDk4M10xHDAa
4 | BgNVBAMTE1Bvc3RTaWdudW0gUm9vdCBRQ0EwHhcNMDUwNDA3MDgzMzE3WhcNMjAw
5 | NDA3MDgzMjI2WjBdMQswCQYDVQQGEwJDWjEsMCoGA1UECgwjxIxlc2vDoSBwb8Wh
6 | dGEsIHMucC4gW0nEjCA0NzExNDk4M10xIDAeBgNVBAMTF1Bvc3RTaWdudW0gUXVh
7 | bGlmaWVkIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsWvwIoOT
8 | m8tAM8GOrDPt7532/qvT4rh7iDWPKP7PIHNnvIY7l1HJIenOWA0qPqtccu1VZxtg
9 | +PAIrSw2CbopaWOPiDG8W5WFZbxI0xPAHr1mPvla4rSW84Gk0iptmHtfMHBVTJxR
10 | tBAd6+WFThuELG8qoN1hqu/9Q77mb891WKlR5q1GBsbf0+WXuS3N5LU0sMPzSszY
11 | FpyX1wJO331Cubda3JFU69Jjnz+5l3bcKliZhcDhEhdDQFTDglwc5MB/hxR7J4pz
12 | PgvIlmUipQlHefVmvCdwnu3tm/oLLDpLUT773EFiBB0j5MoQPiP5DSzziWvGuJf5
13 | 8VlFbY/QveyFKwIDAQABo4IC+zCCAvcwgaEGA1UdIASBmTCBljCBkwYEVR0gADCB
14 | ijCBhwYIKwYBBQUHAgIwexp5VGVudG8gY2VydGlmaWthdCBieWwgdnlkYW4gamFr
15 | byBrdmFsaWZpa292YW55IHN5c3RlbW92eSBjZXJ0aWZpa2F0IHZlIHNteXNsdSB6
16 | YWtvbmEgMjI3LzIwMDAgU2IuIGEgbmF2YXp1amljaWNoIHByZWRwaXN1LjAPBgNV
17 | HRMECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjCBgQYDVR0jBHoweIAUKx3RnXn1
18 | 1XgeAjyCSujd7kOvKUShXaRbMFkxCzAJBgNVBAYTAkNaMSwwKgYDVQQKDCPEjGVz
19 | a8OhIHBvxaF0YSwgcy5wLiBbScSMIDQ3MTE0OTgzXTEcMBoGA1UEAxMTUG9zdFNp
20 | Z251bSBSb290IFFDQYIBATCCAYsGA1UdHwSCAYIwggF+MDCgLqAshipodHRwOi8v
21 | d3d3LnBvc3RzaWdudW0uY3ovY3JsL3Bzcm9vdHFjYS5jcmwwMKAuoCyGKmh0dHA6
22 | Ly9wb3N0c2lnbnVtLnR0Yy5jei9jcmwvcHNyb290cWNhLmNybDCBiqCBh6CBhIaB
23 | gWxkYXA6Ly9xY2EucG9zdHNpZ251bS5jei9jbiUzZFBvc3RTaWdudW0lMjBSb290
24 | JTIwUUNBLG8lM2RDZXNrYSUyMHBvc3RhJTIwcy5wLiUyMFtJQyUyMDQ3MTE0OTgz
25 | XSxjJTNkQ1o/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdDCBiqCBh6CBhIaBgWxk
26 | YXA6Ly9wb3N0c2lnbnVtLnR0Yy5jei9jbiUzZFBvc3RTaWdudW0lMjBSb290JTIw
27 | UUNBLG8lM2RDZXNrYSUyMHBvc3RhJTIwcy5wLiUyMFtJQyUyMDQ3MTE0OTgzXSxj
28 | JTNkQ1o/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdDAdBgNVHQ4EFgQUp5+2jomT
29 | mmV2CZqV+ER+aYJq3gswDQYJKoZIhvcNAQEFBQADggEBACkRE++TGTBboYXi1Skh
30 | lR66Y9Eo4xvJctW4Pao6VCZJlU5M3cHy2dM1Du4OvHwlKHvcP/w66xo++ves30sC
31 | rg7OQaqLR8KfJsX4wkvBKYC6D2K7aZqUAfCVABcWZkVdr9fwMp+59Yl39UyCxRlP
32 | vH1unHylO/ibSxH9Lsl+N0ioFugmW50vYEFP4vy6blRPMW5Akwa+SP00vV2YejRn
33 | 5I6RHxV/nq9A0gGxBZq4U4sSbg+oLs0szBqTWt4EEYLMleexttp+7H1eOX3spsn3
34 | WodbhcSWXDyVjR29Ezbhs5Lo6aAQSl5ZL38h8L1AiCSUFG/SmwjJmnpCGDrRwEsZ
35 | Xr0=
36 | -----END CERTIFICATE-----
37 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dfridrich/czech-data-box",
3 | "type": "library",
4 | "description": "Knihovna pro komunikaci s datovou schránkou v PHP.",
5 | "keywords": [
6 | "php",
7 | "library",
8 | "ISDS",
9 | "Datové schránky"
10 | ],
11 | "homepage": "https://github.com/dfridrich/CzechDataBox",
12 | "license": "MIT",
13 | "authors": [
14 | {
15 | "name": "Dennis Fridrich",
16 | "email": "fridrich.dennis@gmail.com"
17 | }
18 | ],
19 | "require": {
20 | "php": ">=8.0.0",
21 | "ext-soap": "*"
22 | },
23 | "require-dev": {
24 | "phpunit/phpunit": "^9",
25 | "symfony/var-dumper": "^6.0",
26 | "phpstan/phpstan": "^1.10",
27 | "squizlabs/php_codesniffer": "^3.7"
28 | },
29 | "autoload": {
30 | "psr-4": {
31 | "Defr\\CzechDataBox\\": "src/"
32 | }
33 | },
34 | "autoload-dev": {
35 | "psr-4": {
36 | "Defr\\CzechDataBox\\": "tests/"
37 | }
38 | },
39 | "scripts": {
40 | "phpcs": "@php -d memor_limit=2G vendor/bin/phpcs -sp",
41 | "phpcbf": "@php -d memor_limit=2G vendor/bin/phpcbf -sp",
42 | "phpstan": [
43 | "Composer\\Config::disableProcessTimeout",
44 | "@php -d memory_limit=2G vendor/bin/phpstan analyse -c phpstan.neon"
45 | ],
46 | "check": [
47 | "@phpcs",
48 | "@phpstan"
49 | ]
50 |
51 | },
52 | "config": {
53 | "allow-plugins": {
54 | "dealerdirect/phpcodesniffer-composer-installer": true
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/config.ini.dist:
--------------------------------------------------------------------------------
1 | [DataBox]
2 |
3 | login = 'login'
4 | password = 'password'
5 |
6 | ; 1 = real DataBox, 0 = testing DataBox
7 | production = 0
8 |
--------------------------------------------------------------------------------
/examples/bootstrap.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(DATABOX_LOGIN, DATABOX_PASSWORD, DATABOX_PRODUCTION);
10 |
11 | $owner = new \Defr\CzechDataBox\Api\tDbOwnerInfo();
12 |
13 | $owner->setPnFirstName('Dennis')
14 | ->setPnLastName('Fridrich')
15 | ->setDbType(\Defr\CzechDataBox\Api\tDbType::FO);
16 |
17 | /** @var \Defr\CzechDataBox\Api\tDbOwnersArray $response */
18 | $response = $dataBox->DataBoxSearch()
19 | ->FindDataBox(new \Defr\CzechDataBox\Api\tFindDBInput($owner))
20 | ->getDbResults();
21 |
22 | var_dump($response);
--------------------------------------------------------------------------------
/examples/information_about_databox.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(DATABOX_LOGIN, DATABOX_PASSWORD, DATABOX_PRODUCTION);
10 |
11 | /** @var \Defr\CzechDataBox\Api\tDbOwnerInfo $response */
12 | $response = $dataBox->DataBoxAccess()
13 | ->GetOwnerInfoFromLogin(new \Defr\CzechDataBox\Api\tDummyInput(null))
14 | ->getDbOwnerInfo();
15 |
16 | var_dump($response);
--------------------------------------------------------------------------------
/examples/list_of_received_messages.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(DATABOX_LOGIN, DATABOX_PASSWORD, DATABOX_PRODUCTION);
10 |
11 | $list = new \Defr\CzechDataBox\Api\tListOfFReceivedInput();
12 |
13 | /** @var \Defr\CzechDataBox\Api\tRecordsArray $response */
14 | $messages = $dataBox->DmInfoWebService()
15 | ->GetListOfReceivedMessages($list)
16 | ->getDmRecords()
17 | ->getDmRecord();
18 |
19 | var_dump($messages);
--------------------------------------------------------------------------------
/examples/simple_api.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(DATABOX_LOGIN, DATABOX_PASSWORD, DATABOX_PRODUCTION);
12 |
13 | $simpleApi = $dataBox->getSimpleApi();
14 |
15 | echo "
Information about data box
";
16 | var_dump($simpleApi->getDataBoxInfo());
17 | echo "
";
18 |
19 | echo "Get password expires date
";
20 | var_dump($simpleApi->getPasswordExpires());
21 | echo "
";
22 |
23 | echo "Information about logged in user
";
24 | var_dump($simpleApi->getUserInfo());
25 | echo "
";
26 |
27 | echo "Get list of received messages
";
28 | $messages = $simpleApi->getListOfReceivedMessages();
29 | foreach ($messages as $message) {
30 | echo "Msg# " . $message->getDmID() . "
";
31 | var_dump($message);
32 | echo "Signed message
";
33 | var_dump($simpleApi->downloadSignedReceivedMessage($message->getDmID()));
34 | echo "Delivery info
";
35 | var_dump($simpleApi->downloadDeliveryInfo($message->getDmID()));
36 | echo "Attachments
";
37 | var_dump($simpleApi->getReceivedDataMessageAttachments($message->getDmID()));
38 | }
39 | echo "
";
40 |
41 | echo "Get list of sent messages
";
42 | $messages = $simpleApi->getListOfSentMessages();
43 | foreach ($messages as $message) {
44 | echo "Msg# " . $message->getDmID() . "
";
45 | var_dump($message);
46 | echo "Signed message
";
47 | var_dump($simpleApi->downloadSignedSentMessage($message->getDmID()));
48 | echo "Delivery info
";
49 | var_dump($simpleApi->downloadDeliveryInfo($message->getDmID()));
50 | }
51 | echo "
";
52 |
53 | echo "Find data box by ID
";
54 | var_dump($simpleApi->findDataBoxById('wucb4dd'));
55 | echo "
";
56 |
57 | echo "Stats
";
58 | var_dump($simpleApi->getStats());
59 | echo "
";
--------------------------------------------------------------------------------
/phpcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | src/
14 | tests/
15 |
16 |
17 | src/Api/
18 | src/ApiExtensions/
19 |
20 |
21 |
22 | src/
23 |
24 |
25 |
26 | src/
27 |
28 |
29 |
30 | src/Api/
31 | src/ApiExtensions/
32 |
33 |
34 |
35 | src/Api/
36 | src/ApiExtensions/
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/phpstan.neon:
--------------------------------------------------------------------------------
1 | parameters:
2 | level: 2
3 | paths:
4 | - src
5 | - tests
6 |
7 | ignoreErrors:
8 | - '#has invalid type#'
9 | - '#has invalid return#'
10 | - '#has unknown class#'
11 |
--------------------------------------------------------------------------------
/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | ./src
7 |
8 |
9 |
10 |
11 | ./tests
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/Api/AuthenticateBigMessage.php:
--------------------------------------------------------------------------------
1 | dmMessage = $dmMessage;
19 | }
20 |
21 | /**
22 | * @return base64Binary
23 | */
24 | public function getDmMessage()
25 | {
26 | return $this->dmMessage;
27 | }
28 |
29 | /**
30 | * @param base64Binary $dmMessage
31 | * @return \Defr\CzechDataBox\Api\AuthenticateBigMessage
32 | */
33 | public function setDmMessage($dmMessage)
34 | {
35 | $this->dmMessage = $dmMessage;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/AuthenticateBigMessageResponse.php:
--------------------------------------------------------------------------------
1 | dmAuthResult = $dmAuthResult;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return boolean
30 | */
31 | public function getDmAuthResult()
32 | {
33 | return $this->dmAuthResult;
34 | }
35 |
36 | /**
37 | * @param boolean $dmAuthResult
38 | * @return \Defr\CzechDataBox\Api\AuthenticateBigMessageResponse
39 | */
40 | public function setDmAuthResult($dmAuthResult)
41 | {
42 | $this->dmAuthResult = $dmAuthResult;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\AuthenticateBigMessageResponse
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/BigMessageDownload.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
19 | }
20 |
21 | /**
22 | * @return tIdDm
23 | */
24 | public function getDmID()
25 | {
26 | return $this->dmID;
27 | }
28 |
29 | /**
30 | * @param tIdDm $dmID
31 | * @return \Defr\CzechDataBox\Api\BigMessageDownload
32 | */
33 | public function setDmID($dmID)
34 | {
35 | $this->dmID = $dmID;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/BigMessageDownloadResponse.php:
--------------------------------------------------------------------------------
1 | dmReturnedMessage = $dmReturnedMessage;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return dmReturnedMessage
30 | */
31 | public function getDmReturnedMessage()
32 | {
33 | return $this->dmReturnedMessage;
34 | }
35 |
36 | /**
37 | * @param dmReturnedMessage $dmReturnedMessage
38 | * @return \Defr\CzechDataBox\Api\BigMessageDownloadResponse
39 | */
40 | public function setDmReturnedMessage($dmReturnedMessage)
41 | {
42 | $this->dmReturnedMessage = $dmReturnedMessage;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\BigMessageDownloadResponse
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/DownloadAttachment.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
25 | $this->attNum = $attNum;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getDmID()
32 | {
33 | return $this->dmID;
34 | }
35 |
36 | /**
37 | * @param string $dmID
38 | * @return \Defr\CzechDataBox\Api\DownloadAttachment
39 | */
40 | public function setDmID($dmID)
41 | {
42 | $this->dmID = $dmID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return int
48 | */
49 | public function getAttNum()
50 | {
51 | return $this->attNum;
52 | }
53 |
54 | /**
55 | * @param int $attNum
56 | * @return \Defr\CzechDataBox\Api\DownloadAttachment
57 | */
58 | public function setAttNum($attNum)
59 | {
60 | $this->attNum = $attNum;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/DownloadAttachmentResponse.php:
--------------------------------------------------------------------------------
1 | dmFile = $dmFile;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return dmFile
30 | */
31 | public function getDmFile()
32 | {
33 | return $this->dmFile;
34 | }
35 |
36 | /**
37 | * @param dmFile $dmFile
38 | * @return \Defr\CzechDataBox\Api\DownloadAttachmentResponse
39 | */
40 | public function setDmFile($dmFile)
41 | {
42 | $this->dmFile = $dmFile;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\DownloadAttachmentResponse
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/GetConstants.php:
--------------------------------------------------------------------------------
1 | constDate = $constDate;
19 | }
20 |
21 | /**
22 | * @return date
23 | */
24 | public function getConstDate()
25 | {
26 | return $this->constDate;
27 | }
28 |
29 | /**
30 | * @param date $constDate
31 | * @return \Defr\CzechDataBox\Api\GetConstants
32 | */
33 | public function setConstDate($constDate)
34 | {
35 | $this->constDate = $constDate;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/GetMessageAuthor2Response.php:
--------------------------------------------------------------------------------
1 | dmMessageAuthor = $dmMessageAuthor;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return dmMessageAuthor
30 | */
31 | public function getDmMessageAuthor()
32 | {
33 | return $this->dmMessageAuthor;
34 | }
35 |
36 | /**
37 | * @param dmMessageAuthor $dmMessageAuthor
38 | * @return \Defr\CzechDataBox\Api\GetMessageAuthor2Response
39 | */
40 | public function setDmMessageAuthor($dmMessageAuthor)
41 | {
42 | $this->dmMessageAuthor = $dmMessageAuthor;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\GetMessageAuthor2Response
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/IsdsStat.php:
--------------------------------------------------------------------------------
1 | 'Defr\\CzechDataBox\\Api\\tNumOfMessagesInput',
13 | 'tNumOfMessagesOutput' => 'Defr\\CzechDataBox\\Api\\tNumOfMessagesOutput',
14 | 'tStatReqStatus' => 'Defr\\CzechDataBox\\Api\\tStatReqStatus',
15 | );
16 |
17 | /**
18 | * @param array $options A array of config values
19 | * @param string $wsdl The wsdl file to use
20 | */
21 | public function __construct(array $options = array(), $wsdl = null)
22 | {
23 | foreach (self::$classmap as $key => $value) {
24 | if (!isset($options['classmap'][$key])) {
25 | $options['classmap'][$key] = $value;
26 | }
27 | }
28 | $options = array_merge(array (
29 | 'features' => 1,
30 | ), $options);
31 | if (!$wsdl) {
32 | $wsdl = '/Users/dennis/sites/CzechDataBox/Resources/isds_stat.wsdl';
33 | }
34 | parent::__construct($wsdl, $options);
35 | }
36 |
37 | /**
38 | * @param tNumOfMessagesInput $parameter
39 | * @return tNumOfMessagesOutput
40 | */
41 | public function NumOfMessages(tNumOfMessagesInput $parameter)
42 | {
43 | return $this->__soapCall('NumOfMessages', array($parameter));
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/Api/RegisterForNotifications.php:
--------------------------------------------------------------------------------
1 | action = $action;
19 | }
20 |
21 | /**
22 | * @return int
23 | */
24 | public function getAction()
25 | {
26 | return $this->action;
27 | }
28 |
29 | /**
30 | * @param int $action
31 | * @return \Defr\CzechDataBox\Api\RegisterForNotifications
32 | */
33 | public function setAction($action)
34 | {
35 | $this->action = $action;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/RegisterForNotificationsResponse.php:
--------------------------------------------------------------------------------
1 | dmStatus = $dmStatus;
19 | }
20 |
21 | /**
22 | * @return tStatus
23 | */
24 | public function getDmStatus()
25 | {
26 | return $this->dmStatus;
27 | }
28 |
29 | /**
30 | * @param tStatus $dmStatus
31 | * @return \Defr\CzechDataBox\Api\RegisterForNotificationsResponse
32 | */
33 | public function setDmStatus($dmStatus)
34 | {
35 | $this->dmStatus = $dmStatus;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/SignedBigMessageDownload.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
19 | }
20 |
21 | /**
22 | * @return tIdDm
23 | */
24 | public function getDmID()
25 | {
26 | return $this->dmID;
27 | }
28 |
29 | /**
30 | * @param tIdDm $dmID
31 | * @return \Defr\CzechDataBox\Api\SignedBigMessageDownload
32 | */
33 | public function setDmID($dmID)
34 | {
35 | $this->dmID = $dmID;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/SignedBigMessageDownloadResponse.php:
--------------------------------------------------------------------------------
1 | dmSignature = $dmSignature;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDmSignature()
32 | {
33 | return $this->dmSignature;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dmSignature
38 | * @return \Defr\CzechDataBox\Api\SignedBigMessageDownloadResponse
39 | */
40 | public function setDmSignature($dmSignature)
41 | {
42 | $this->dmSignature = $dmSignature;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\SignedBigMessageDownloadResponse
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/SignedSentBigMessageDownload.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
19 | }
20 |
21 | /**
22 | * @return tIdDm
23 | */
24 | public function getDmID()
25 | {
26 | return $this->dmID;
27 | }
28 |
29 | /**
30 | * @param tIdDm $dmID
31 | * @return \Defr\CzechDataBox\Api\SignedSentBigMessageDownload
32 | */
33 | public function setDmID($dmID)
34 | {
35 | $this->dmID = $dmID;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/SignedSentBigMessageDownloadResponse.php:
--------------------------------------------------------------------------------
1 | dmSignature = $dmSignature;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDmSignature()
32 | {
33 | return $this->dmSignature;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dmSignature
38 | * @return \Defr\CzechDataBox\Api\SignedSentBigMessageDownloadResponse
39 | */
40 | public function setDmSignature($dmSignature)
41 | {
42 | $this->dmSignature = $dmSignature;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\SignedSentBigMessageDownloadResponse
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/UploadAttachment.php:
--------------------------------------------------------------------------------
1 | dmFile = $dmFile;
19 | }
20 |
21 | /**
22 | * @return dmFile
23 | */
24 | public function getDmFile()
25 | {
26 | return $this->dmFile;
27 | }
28 |
29 | /**
30 | * @param dmFile $dmFile
31 | * @return \Defr\CzechDataBox\Api\UploadAttachment
32 | */
33 | public function setDmFile($dmFile)
34 | {
35 | $this->dmFile = $dmFile;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/ciRecords.php:
--------------------------------------------------------------------------------
1 | ciRecord = $ciRecord;
19 | }
20 |
21 | /**
22 | * @return tCiRecord
23 | */
24 | public function getCiRecord()
25 | {
26 | return $this->ciRecord;
27 | }
28 |
29 | /**
30 | * @param tCiRecord $ciRecord
31 | * @return \Defr\CzechDataBox\Api\ciRecords
32 | */
33 | public function setCiRecord($ciRecord)
34 | {
35 | $this->ciRecord = $ciRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/constRecords.php:
--------------------------------------------------------------------------------
1 | constRecord = $constRecord;
19 | }
20 |
21 | /**
22 | * @return tConstRecord
23 | */
24 | public function getConstRecord()
25 | {
26 | return $this->constRecord;
27 | }
28 |
29 | /**
30 | * @param tConstRecord $constRecord
31 | * @return \Defr\CzechDataBox\Api\constRecords
32 | */
33 | public function setConstRecord($constRecord)
34 | {
35 | $this->constRecord = $constRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/dbID.php:
--------------------------------------------------------------------------------
1 | _ = $_;
37 | $this->guid = $guid;
38 | $this->subject = $subject;
39 | $this->branch = $branch;
40 | }
41 |
42 | /**
43 | * @return tIdDb
44 | */
45 | public function get_()
46 | {
47 | return $this->_;
48 | }
49 |
50 | /**
51 | * @param tIdDb $_
52 | * @return \Defr\CzechDataBox\Api\dbID
53 | */
54 | public function set_($_)
55 | {
56 | $this->_ = $_;
57 | return $this;
58 | }
59 |
60 | /**
61 | * @return string
62 | */
63 | public function getGuid()
64 | {
65 | return $this->guid;
66 | }
67 |
68 | /**
69 | * @param string $guid
70 | * @return \Defr\CzechDataBox\Api\dbID
71 | */
72 | public function setGuid($guid)
73 | {
74 | $this->guid = $guid;
75 | return $this;
76 | }
77 |
78 | /**
79 | * @return string
80 | */
81 | public function getSubject()
82 | {
83 | return $this->subject;
84 | }
85 |
86 | /**
87 | * @param string $subject
88 | * @return \Defr\CzechDataBox\Api\dbID
89 | */
90 | public function setSubject($subject)
91 | {
92 | $this->subject = $subject;
93 | return $this;
94 | }
95 |
96 | /**
97 | * @return string
98 | */
99 | public function getBranch()
100 | {
101 | return $this->branch;
102 | }
103 |
104 | /**
105 | * @param string $branch
106 | * @return \Defr\CzechDataBox\Api\dbID
107 | */
108 | public function setBranch($branch)
109 | {
110 | $this->branch = $branch;
111 | return $this;
112 | }
113 | }
114 |
--------------------------------------------------------------------------------
/src/Api/dbUserInfo.php:
--------------------------------------------------------------------------------
1 | AIFOTicket = $AIFOTicket;
19 | }
20 |
21 | /**
22 | * @return string
23 | */
24 | public function getAIFOTicket()
25 | {
26 | return $this->AIFOTicket;
27 | }
28 |
29 | /**
30 | * @param string $AIFOTicket
31 | * @return \Defr\CzechDataBox\Api\dbUserInfo
32 | */
33 | public function setAIFOTicket($AIFOTicket)
34 | {
35 | $this->AIFOTicket = $AIFOTicket;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/dmAttHash1.php:
--------------------------------------------------------------------------------
1 | _ = $_;
25 | $this->AttHashAlg = $AttHashAlg;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function get_()
32 | {
33 | return $this->_;
34 | }
35 |
36 | /**
37 | * @param string $_
38 | * @return \Defr\CzechDataBox\Api\dmAttHash1
39 | */
40 | public function set_($_)
41 | {
42 | $this->_ = $_;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getAttHashAlg()
50 | {
51 | return $this->AttHashAlg;
52 | }
53 |
54 | /**
55 | * @param string $AttHashAlg
56 | * @return \Defr\CzechDataBox\Api\dmAttHash1
57 | */
58 | public function setAttHashAlg($AttHashAlg)
59 | {
60 | $this->AttHashAlg = $AttHashAlg;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/dmAttHash2.php:
--------------------------------------------------------------------------------
1 | _ = $_;
25 | $this->AttHashAlg = $AttHashAlg;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function get_()
32 | {
33 | return $this->_;
34 | }
35 |
36 | /**
37 | * @param string $_
38 | * @return \Defr\CzechDataBox\Api\dmAttHash2
39 | */
40 | public function set_($_)
41 | {
42 | $this->_ = $_;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getAttHashAlg()
50 | {
51 | return $this->AttHashAlg;
52 | }
53 |
54 | /**
55 | * @param string $AttHashAlg
56 | * @return \Defr\CzechDataBox\Api\dmAttHash2
57 | */
58 | public function setAttHashAlg($AttHashAlg)
59 | {
60 | $this->AttHashAlg = $AttHashAlg;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/dmEnvelope.php:
--------------------------------------------------------------------------------
1 | dmExtFile = $dmExtFile;
25 | $this->dmFile = $dmFile;
26 | }
27 |
28 | /**
29 | * @return dmExtFile
30 | */
31 | public function getDmExtFile()
32 | {
33 | return $this->dmExtFile;
34 | }
35 |
36 | /**
37 | * @param dmExtFile $dmExtFile
38 | * @return \Defr\CzechDataBox\Api\dmFiles
39 | */
40 | public function setDmExtFile($dmExtFile)
41 | {
42 | $this->dmExtFile = $dmExtFile;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return dmFile
48 | */
49 | public function getDmFile()
50 | {
51 | return $this->dmFile;
52 | }
53 |
54 | /**
55 | * @param dmFile $dmFile
56 | * @return \Defr\CzechDataBox\Api\dmFiles
57 | */
58 | public function setDmFile($dmFile)
59 | {
60 | $this->dmFile = $dmFile;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/dmMessageAuthor.php:
--------------------------------------------------------------------------------
1 | maItem = $maItem;
19 | }
20 |
21 | /**
22 | * @return maItem
23 | */
24 | public function getMaItem()
25 | {
26 | return $this->maItem;
27 | }
28 |
29 | /**
30 | * @param maItem $maItem
31 | * @return \Defr\CzechDataBox\Api\dmMessageAuthor
32 | */
33 | public function setMaItem($maItem)
34 | {
35 | $this->maItem = $maItem;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/dmPublishOwnID.php:
--------------------------------------------------------------------------------
1 | _ = $_;
25 | $this->IdLevel = $IdLevel;
26 | }
27 |
28 | /**
29 | * @return boolean
30 | */
31 | public function get_()
32 | {
33 | return $this->_;
34 | }
35 |
36 | /**
37 | * @param boolean $_
38 | * @return \Defr\CzechDataBox\Api\dmPublishOwnID
39 | */
40 | public function set_($_)
41 | {
42 | $this->_ = $_;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return int
48 | */
49 | public function getIdLevel()
50 | {
51 | return $this->IdLevel;
52 | }
53 |
54 | /**
55 | * @param int $IdLevel
56 | * @return \Defr\CzechDataBox\Api\dmPublishOwnID
57 | */
58 | public function setIdLevel($IdLevel)
59 | {
60 | $this->IdLevel = $IdLevel;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/dmXMLContent.php:
--------------------------------------------------------------------------------
1 | any = $any;
19 | }
20 |
21 | /**
22 | * @return string
23 | */
24 | public function getAny()
25 | {
26 | return $this->any;
27 | }
28 |
29 | /**
30 | * @param string $any
31 | * @return \Defr\CzechDataBox\Api\dmXMLContent
32 | */
33 | public function setAny($any)
34 | {
35 | $this->any = $any;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/maItem.php:
--------------------------------------------------------------------------------
1 | key = $key;
25 | $this->value = $value;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getKey()
32 | {
33 | return $this->key;
34 | }
35 |
36 | /**
37 | * @param string $key
38 | * @return \Defr\CzechDataBox\Api\maItem
39 | */
40 | public function setKey($key)
41 | {
42 | $this->key = $key;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getValue()
50 | {
51 | return $this->value;
52 | }
53 |
54 | /**
55 | * @param string $value
56 | * @return \Defr\CzechDataBox\Api\maItem
57 | */
58 | public function setValue($value)
59 | {
60 | $this->value = $value;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tAddDBUserOutput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbAccessDataId = $dbAccessDataId;
32 | $this->dbStatus = $dbStatus;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return tDbAccessDataId
55 | */
56 | public function getDbAccessDataId()
57 | {
58 | return $this->dbAccessDataId;
59 | }
60 |
61 | /**
62 | * @param tDbAccessDataId $dbAccessDataId
63 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput
64 | */
65 | public function setDbAccessDataId($dbAccessDataId)
66 | {
67 | $this->dbAccessDataId = $dbAccessDataId;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tDbReqStatus
73 | */
74 | public function getDbStatus()
75 | {
76 | return $this->dbStatus;
77 | }
78 |
79 | /**
80 | * @param tDbReqStatus $dbStatus
81 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput
82 | */
83 | public function setDbStatus($dbStatus)
84 | {
85 | $this->dbStatus = $dbStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tAddDBUserOutput2.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbAccessDataId = $dbAccessDataId;
32 | $this->dbStatus = $dbStatus;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput2
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return tDbAccessDataId
55 | */
56 | public function getDbAccessDataId()
57 | {
58 | return $this->dbAccessDataId;
59 | }
60 |
61 | /**
62 | * @param tDbAccessDataId $dbAccessDataId
63 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput2
64 | */
65 | public function setDbAccessDataId($dbAccessDataId)
66 | {
67 | $this->dbAccessDataId = $dbAccessDataId;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tDbReqStatus
73 | */
74 | public function getDbStatus()
75 | {
76 | return $this->dbStatus;
77 | }
78 |
79 | /**
80 | * @param tDbReqStatus $dbStatus
81 | * @return \Defr\CzechDataBox\Api\tAddDBUserOutput2
82 | */
83 | public function setDbStatus($dbStatus)
84 | {
85 | $this->dbStatus = $dbStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tAuthenticateMessageInput.php:
--------------------------------------------------------------------------------
1 | dmMessage = $dmMessage;
19 | }
20 |
21 | /**
22 | * @return base64Binary
23 | */
24 | public function getDmMessage()
25 | {
26 | return $this->dmMessage;
27 | }
28 |
29 | /**
30 | * @param base64Binary $dmMessage
31 | * @return \Defr\CzechDataBox\Api\tAuthenticateMessageInput
32 | */
33 | public function setDmMessage($dmMessage)
34 | {
35 | $this->dmMessage = $dmMessage;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tAuthenticateMessageOutput.php:
--------------------------------------------------------------------------------
1 | dmAuthResult = $dmAuthResult;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return boolean
30 | */
31 | public function getDmAuthResult()
32 | {
33 | return $this->dmAuthResult;
34 | }
35 |
36 | /**
37 | * @param boolean $dmAuthResult
38 | * @return \Defr\CzechDataBox\Api\tAuthenticateMessageOutput
39 | */
40 | public function setDmAuthResult($dmAuthResult)
41 | {
42 | $this->dmAuthResult = $dmAuthResult;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tAuthenticateMessageOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tBigMessageInput.php:
--------------------------------------------------------------------------------
1 | dmEnvelope = $dmEnvelope;
25 | $this->dmFiles = $dmFiles;
26 | }
27 |
28 | /**
29 | * @return tBigMessEnvelope
30 | */
31 | public function getDmEnvelope()
32 | {
33 | return $this->dmEnvelope;
34 | }
35 |
36 | /**
37 | * @param tBigMessEnvelope $dmEnvelope
38 | * @return \Defr\CzechDataBox\Api\tBigMessageInput
39 | */
40 | public function setDmEnvelope($dmEnvelope)
41 | {
42 | $this->dmEnvelope = $dmEnvelope;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return dmFiles
48 | */
49 | public function getDmFiles()
50 | {
51 | return $this->dmFiles;
52 | }
53 |
54 | /**
55 | * @param dmFiles $dmFiles
56 | * @return \Defr\CzechDataBox\Api\tBigMessageInput
57 | */
58 | public function setDmFiles($dmFiles)
59 | {
60 | $this->dmFiles = $dmFiles;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tBigMessageOutput.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tIdDm
30 | */
31 | public function getDmID()
32 | {
33 | return $this->dmID;
34 | }
35 |
36 | /**
37 | * @param tIdDm $dmID
38 | * @return \Defr\CzechDataBox\Api\tBigMessageOutput
39 | */
40 | public function setDmID($dmID)
41 | {
42 | $this->dmID = $dmID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tBigMessageOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tChangeDBsTypeInput.php:
--------------------------------------------------------------------------------
1 | refNumber = $refNumber;
31 | $this->newDBType = $newDBType;
32 | $this->IDsFile = $IDsFile;
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | public function getRefNumber()
39 | {
40 | return $this->refNumber;
41 | }
42 |
43 | /**
44 | * @param string $refNumber
45 | * @return \Defr\CzechDataBox\Api\tChangeDBsTypeInput
46 | */
47 | public function setRefNumber($refNumber)
48 | {
49 | $this->refNumber = $refNumber;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return string
55 | */
56 | public function getNewDBType()
57 | {
58 | return $this->newDBType;
59 | }
60 |
61 | /**
62 | * @param string $newDBType
63 | * @return \Defr\CzechDataBox\Api\tChangeDBsTypeInput
64 | */
65 | public function setNewDBType($newDBType)
66 | {
67 | $this->newDBType = $newDBType;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return base64Binary
73 | */
74 | public function getIDsFile()
75 | {
76 | return $this->IDsFile;
77 | }
78 |
79 | /**
80 | * @param base64Binary $IDsFile
81 | * @return \Defr\CzechDataBox\Api\tChangeDBsTypeInput
82 | */
83 | public function setIDsFile($IDsFile)
84 | {
85 | $this->IDsFile = $IDsFile;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tChangeDBsTypeOutput.php:
--------------------------------------------------------------------------------
1 | changeLogFile = $changeLogFile;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getChangeLogFile()
32 | {
33 | return $this->changeLogFile;
34 | }
35 |
36 | /**
37 | * @param base64Binary $changeLogFile
38 | * @return \Defr\CzechDataBox\Api\tChangeDBsTypeOutput
39 | */
40 | public function setChangeLogFile($changeLogFile)
41 | {
42 | $this->changeLogFile = $changeLogFile;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tChangeDBsTypeOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tChangeLogRow.php:
--------------------------------------------------------------------------------
1 | changeLogRow = $changeLogRow;
19 | }
20 |
21 | /**
22 | * @return string
23 | */
24 | public function getChangeLogRow()
25 | {
26 | return $this->changeLogRow;
27 | }
28 |
29 | /**
30 | * @param string $changeLogRow
31 | * @return \Defr\CzechDataBox\Api\tChangeLogRow
32 | */
33 | public function setChangeLogRow($changeLogRow)
34 | {
35 | $this->changeLogRow = $changeLogRow;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tCheckDBOutput.php:
--------------------------------------------------------------------------------
1 | dbState = $dbState;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return int
30 | */
31 | public function getDbState()
32 | {
33 | return $this->dbState;
34 | }
35 |
36 | /**
37 | * @param int $dbState
38 | * @return \Defr\CzechDataBox\Api\tCheckDBOutput
39 | */
40 | public function setDbState($dbState)
41 | {
42 | $this->dbState = $dbState;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tCheckDBOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tChngPasswInput.php:
--------------------------------------------------------------------------------
1 | dbOldPassword = $dbOldPassword;
25 | $this->dbNewPassword = $dbNewPassword;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getDbOldPassword()
32 | {
33 | return $this->dbOldPassword;
34 | }
35 |
36 | /**
37 | * @param string $dbOldPassword
38 | * @return \Defr\CzechDataBox\Api\tChngPasswInput
39 | */
40 | public function setDbOldPassword($dbOldPassword)
41 | {
42 | $this->dbOldPassword = $dbOldPassword;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getDbNewPassword()
50 | {
51 | return $this->dbNewPassword;
52 | }
53 |
54 | /**
55 | * @param string $dbNewPassword
56 | * @return \Defr\CzechDataBox\Api\tChngPasswInput
57 | */
58 | public function setDbNewPassword($dbNewPassword)
59 | {
60 | $this->dbNewPassword = $dbNewPassword;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tConstRecord.php:
--------------------------------------------------------------------------------
1 | cName = $cName;
37 | $this->cValue = $cValue;
38 | $this->cFrom = $cFrom;
39 | $this->cTo = $cTo;
40 | }
41 |
42 | /**
43 | * @return string
44 | */
45 | public function getCName()
46 | {
47 | return $this->cName;
48 | }
49 |
50 | /**
51 | * @param string $cName
52 | * @return \Defr\CzechDataBox\Api\tConstRecord
53 | */
54 | public function setCName($cName)
55 | {
56 | $this->cName = $cName;
57 | return $this;
58 | }
59 |
60 | /**
61 | * @return string
62 | */
63 | public function getCValue()
64 | {
65 | return $this->cValue;
66 | }
67 |
68 | /**
69 | * @param string $cValue
70 | * @return \Defr\CzechDataBox\Api\tConstRecord
71 | */
72 | public function setCValue($cValue)
73 | {
74 | $this->cValue = $cValue;
75 | return $this;
76 | }
77 |
78 | /**
79 | * @return date
80 | */
81 | public function getCFrom()
82 | {
83 | return $this->cFrom;
84 | }
85 |
86 | /**
87 | * @param date $cFrom
88 | * @return \Defr\CzechDataBox\Api\tConstRecord
89 | */
90 | public function setCFrom($cFrom)
91 | {
92 | $this->cFrom = $cFrom;
93 | return $this;
94 | }
95 |
96 | /**
97 | * @return date
98 | */
99 | public function getCTo()
100 | {
101 | return $this->cTo;
102 | }
103 |
104 | /**
105 | * @param date $cTo
106 | * @return \Defr\CzechDataBox\Api\tConstRecord
107 | */
108 | public function setCTo($cTo)
109 | {
110 | $this->cTo = $cTo;
111 | return $this;
112 | }
113 | }
114 |
--------------------------------------------------------------------------------
/src/Api/tDBCreditInfoInput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->ciFromDate = $ciFromDate;
32 | $this->ciTodate = $ciTodate;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tDBCreditInfoInput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return date
55 | */
56 | public function getCiFromDate()
57 | {
58 | return $this->ciFromDate;
59 | }
60 |
61 | /**
62 | * @param date $ciFromDate
63 | * @return \Defr\CzechDataBox\Api\tDBCreditInfoInput
64 | */
65 | public function setCiFromDate($ciFromDate)
66 | {
67 | $this->ciFromDate = $ciFromDate;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return date
73 | */
74 | public function getCiTodate()
75 | {
76 | return $this->ciTodate;
77 | }
78 |
79 | /**
80 | * @param date $ciTodate
81 | * @return \Defr\CzechDataBox\Api\tDBCreditInfoInput
82 | */
83 | public function setCiTodate($ciTodate)
84 | {
85 | $this->ciTodate = $ciTodate;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tDTInfoInput.php:
--------------------------------------------------------------------------------
1 | dbId = $dbId;
19 | }
20 |
21 | /**
22 | * @return tIdDb
23 | */
24 | public function getDbId()
25 | {
26 | return $this->dbId;
27 | }
28 |
29 | /**
30 | * @param tIdDb $dbId
31 | * @return \Defr\CzechDataBox\Api\tDTInfoInput
32 | */
33 | public function setDbId($dbId)
34 | {
35 | $this->dbId = $dbId;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tDbOwnersArray.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tDbOwnerInfoExt
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tDbOwnerInfoExt $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tDbOwnersArray
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tDbOwnersArray2.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tDbOwnerInfoExt2
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tDbOwnerInfoExt2 $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tDbOwnersArray2
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tDbReqStatus.php:
--------------------------------------------------------------------------------
1 | dbStatusCode = $dbStatusCode;
31 | $this->dbStatusMessage = $dbStatusMessage;
32 | $this->dbStatusRefNumber = $dbStatusRefNumber;
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | public function getDbStatusCode()
39 | {
40 | return $this->dbStatusCode;
41 | }
42 |
43 | /**
44 | * @param string $dbStatusCode
45 | * @return \Defr\CzechDataBox\Api\tDbReqStatus
46 | */
47 | public function setDbStatusCode($dbStatusCode)
48 | {
49 | $this->dbStatusCode = $dbStatusCode;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return string
55 | */
56 | public function getDbStatusMessage()
57 | {
58 | return $this->dbStatusMessage;
59 | }
60 |
61 | /**
62 | * @param string $dbStatusMessage
63 | * @return \Defr\CzechDataBox\Api\tDbReqStatus
64 | */
65 | public function setDbStatusMessage($dbStatusMessage)
66 | {
67 | $this->dbStatusMessage = $dbStatusMessage;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbStatusRefNumber()
75 | {
76 | return $this->dbStatusRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbStatusRefNumber
81 | * @return \Defr\CzechDataBox\Api\tDbReqStatus
82 | */
83 | public function setDbStatusRefNumber($dbStatusRefNumber)
84 | {
85 | $this->dbStatusRefNumber = $dbStatusRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tDbType.php:
--------------------------------------------------------------------------------
1 | dbUserInfo = $dbUserInfo;
19 | }
20 |
21 | /**
22 | * @return dbUserInfo
23 | */
24 | public function getDbUserInfo()
25 | {
26 | return $this->dbUserInfo;
27 | }
28 |
29 | /**
30 | * @param dbUserInfo $dbUserInfo
31 | * @return \Defr\CzechDataBox\Api\tDbUsersArray
32 | */
33 | public function setDbUserInfo($dbUserInfo)
34 | {
35 | $this->dbUserInfo = $dbUserInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tDbUsersArray2.php:
--------------------------------------------------------------------------------
1 | dbUserInfo = $dbUserInfo;
19 | }
20 |
21 | /**
22 | * @return dbUserInfo
23 | */
24 | public function getDbUserInfo()
25 | {
26 | return $this->dbUserInfo;
27 | }
28 |
29 | /**
30 | * @param dbUserInfo $dbUserInfo
31 | * @return \Defr\CzechDataBox\Api\tDbUsersArray2
32 | */
33 | public function setDbUserInfo($dbUserInfo)
34 | {
35 | $this->dbUserInfo = $dbUserInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tDelDBUserInput2.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
37 | $this->isdsID = $isdsID;
38 | $this->dbApproved = $dbApproved;
39 | $this->dbExternRefNumber = $dbExternRefNumber;
40 | }
41 |
42 | /**
43 | * @return dbID
44 | */
45 | public function getDbID()
46 | {
47 | return $this->dbID;
48 | }
49 |
50 | /**
51 | * @param dbID $dbID
52 | * @return \Defr\CzechDataBox\Api\tDelDBUserInput2
53 | */
54 | public function setDbID($dbID)
55 | {
56 | $this->dbID = $dbID;
57 | return $this;
58 | }
59 |
60 | /**
61 | * @return tIsdsID
62 | */
63 | public function getIsdsID()
64 | {
65 | return $this->isdsID;
66 | }
67 |
68 | /**
69 | * @param tIsdsID $isdsID
70 | * @return \Defr\CzechDataBox\Api\tDelDBUserInput2
71 | */
72 | public function setIsdsID($isdsID)
73 | {
74 | $this->isdsID = $isdsID;
75 | return $this;
76 | }
77 |
78 | /**
79 | * @return boolean
80 | */
81 | public function getDbApproved()
82 | {
83 | return $this->dbApproved;
84 | }
85 |
86 | /**
87 | * @param boolean $dbApproved
88 | * @return \Defr\CzechDataBox\Api\tDelDBUserInput2
89 | */
90 | public function setDbApproved($dbApproved)
91 | {
92 | $this->dbApproved = $dbApproved;
93 | return $this;
94 | }
95 |
96 | /**
97 | * @return string
98 | */
99 | public function getDbExternRefNumber()
100 | {
101 | return $this->dbExternRefNumber;
102 | }
103 |
104 | /**
105 | * @param string $dbExternRefNumber
106 | * @return \Defr\CzechDataBox\Api\tDelDBUserInput2
107 | */
108 | public function setDbExternRefNumber($dbExternRefNumber)
109 | {
110 | $this->dbExternRefNumber = $dbExternRefNumber;
111 | return $this;
112 | }
113 | }
114 |
--------------------------------------------------------------------------------
/src/Api/tDeleteDBPromptlyInput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tDeleteDBPromptlyInput
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tDeliveryMessageOutput.php:
--------------------------------------------------------------------------------
1 | dmDelivery = $dmDelivery;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tDelivery
30 | */
31 | public function getDmDelivery()
32 | {
33 | return $this->dmDelivery;
34 | }
35 |
36 | /**
37 | * @param tDelivery $dmDelivery
38 | * @return \Defr\CzechDataBox\Api\tDeliveryMessageOutput
39 | */
40 | public function setDmDelivery($dmDelivery)
41 | {
42 | $this->dmDelivery = $dmDelivery;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tDeliveryMessageOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tDummyInput.php:
--------------------------------------------------------------------------------
1 | dbDummy = $dbDummy;
19 | }
20 |
21 | /**
22 | * @return string
23 | */
24 | public function getDbDummy()
25 | {
26 | return $this->dbDummy;
27 | }
28 |
29 | /**
30 | * @param string $dbDummy
31 | * @return \Defr\CzechDataBox\Api\tDummyInput
32 | */
33 | public function setDbDummy($dbDummy)
34 | {
35 | $this->dbDummy = $dbDummy;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tEraseMessageIntput.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
25 | $this->dmIncoming = $dmIncoming;
26 | }
27 |
28 | /**
29 | * @return tIdDm
30 | */
31 | public function getDmID()
32 | {
33 | return $this->dmID;
34 | }
35 |
36 | /**
37 | * @param tIdDm $dmID
38 | * @return \Defr\CzechDataBox\Api\tEraseMessageIntput
39 | */
40 | public function setDmID($dmID)
41 | {
42 | $this->dmID = $dmID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return boolean
48 | */
49 | public function getDmIncoming()
50 | {
51 | return $this->dmIncoming;
52 | }
53 |
54 | /**
55 | * @param boolean $dmIncoming
56 | * @return \Defr\CzechDataBox\Api\tEraseMessageIntput
57 | */
58 | public function setDmIncoming($dmIncoming)
59 | {
60 | $this->dmIncoming = $dmIncoming;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tEraseMessageOutput.php:
--------------------------------------------------------------------------------
1 | dmStatus = $dmStatus;
19 | }
20 |
21 | /**
22 | * @return tStatus
23 | */
24 | public function getDmStatus()
25 | {
26 | return $this->dmStatus;
27 | }
28 |
29 | /**
30 | * @param tStatus $dmStatus
31 | * @return \Defr\CzechDataBox\Api\tEraseMessageOutput
32 | */
33 | public function setDmStatus($dmStatus)
34 | {
35 | $this->dmStatus = $dmStatus;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tEvent.php:
--------------------------------------------------------------------------------
1 | dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null;
25 | $this->dmEventDescr = $dmEventDescr;
26 | }
27 |
28 | /**
29 | * @return \DateTime
30 | */
31 | public function getDmEventTime()
32 | {
33 | if ($this->dmEventTime == null) {
34 | return null;
35 | } else {
36 | try {
37 | return new \DateTime($this->dmEventTime);
38 | } catch (\Exception $e) {
39 | return false;
40 | }
41 | }
42 | }
43 |
44 | /**
45 | * @param \DateTime $dmEventTime
46 | * @return \Defr\CzechDataBox\Api\tEvent
47 | */
48 | public function setDmEventTime(\DateTime $dmEventTime)
49 | {
50 | $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM);
51 | return $this;
52 | }
53 |
54 | /**
55 | * @return string
56 | */
57 | public function getDmEventDescr()
58 | {
59 | return $this->dmEventDescr;
60 | }
61 |
62 | /**
63 | * @param string $dmEventDescr
64 | * @return \Defr\CzechDataBox\Api\tEvent
65 | */
66 | public function setDmEventDescr($dmEventDescr)
67 | {
68 | $this->dmEventDescr = $dmEventDescr;
69 | return $this;
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/src/Api/tEventsArray.php:
--------------------------------------------------------------------------------
1 | dmEvent = $dmEvent;
19 | }
20 |
21 | /**
22 | * @return tEvent
23 | */
24 | public function getDmEvent()
25 | {
26 | return $this->dmEvent;
27 | }
28 |
29 | /**
30 | * @param tEvent $dmEvent
31 | * @return \Defr\CzechDataBox\Api\tEventsArray
32 | */
33 | public function setDmEvent($dmEvent)
34 | {
35 | $this->dmEvent = $dmEvent;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tFile.php:
--------------------------------------------------------------------------------
1 | dmEncodedContent = $dmEncodedContent;
25 | $this->dmXMLContent = $dmXMLContent;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDmEncodedContent()
32 | {
33 | return $this->dmEncodedContent;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dmEncodedContent
38 | * @return \Defr\CzechDataBox\Api\tFile
39 | */
40 | public function setDmEncodedContent($dmEncodedContent)
41 | {
42 | $this->dmEncodedContent = $dmEncodedContent;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return dmXMLContent
48 | */
49 | public function getDmXMLContent()
50 | {
51 | return $this->dmXMLContent;
52 | }
53 |
54 | /**
55 | * @param dmXMLContent $dmXMLContent
56 | * @return \Defr\CzechDataBox\Api\tFile
57 | */
58 | public function setDmXMLContent($dmXMLContent)
59 | {
60 | $this->dmXMLContent = $dmXMLContent;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tFilesArray.php:
--------------------------------------------------------------------------------
1 | dmFile = $dmFile;
19 | }
20 |
21 | /**
22 | * @return dmFile
23 | */
24 | public function getDmFile()
25 | {
26 | return $this->dmFile;
27 | }
28 |
29 | /**
30 | * @param dmFile $dmFile
31 | * @return \Defr\CzechDataBox\Api\tFilesArray
32 | */
33 | public function setDmFile($dmFile)
34 | {
35 | $this->dmFile = $dmFile;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tFindDBInput.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tDbOwnerInfo
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tDbOwnerInfo $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tFindDBInput
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tFindDBInput2.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tDbOwnerInfoExt2
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tDbOwnerInfoExt2 $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tFindDBInput2
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tFindDBOuput.php:
--------------------------------------------------------------------------------
1 | dbResults = $dbResults;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbOwnersArray
30 | */
31 | public function getDbResults()
32 | {
33 | return $this->dbResults;
34 | }
35 |
36 | /**
37 | * @param tDbOwnersArray $dbResults
38 | * @return \Defr\CzechDataBox\Api\tFindDBOuput
39 | */
40 | public function setDbResults($dbResults)
41 | {
42 | $this->dbResults = $dbResults;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tFindDBOuput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tFindDBOuput2.php:
--------------------------------------------------------------------------------
1 | dbResults = $dbResults;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbOwnersArray2
30 | */
31 | public function getDbResults()
32 | {
33 | return $this->dbResults;
34 | }
35 |
36 | /**
37 | * @param tDbOwnersArray2 $dbResults
38 | * @return \Defr\CzechDataBox\Api\tFindDBOuput2
39 | */
40 | public function setDbResults($dbResults)
41 | {
42 | $this->dbResults = $dbResults;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tFindDBOuput2
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tFindPersonalDBInput.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tdbPersonalOwnerInfo
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tdbPersonalOwnerInfo $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tFindPersonalDBInput
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tFindPersonalDBOutput.php:
--------------------------------------------------------------------------------
1 | dbResults = $dbResults;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tdbPersOwnersArray
30 | */
31 | public function getDbResults()
32 | {
33 | return $this->dbResults;
34 | }
35 |
36 | /**
37 | * @param tdbPersOwnersArray $dbResults
38 | * @return \Defr\CzechDataBox\Api\tFindPersonalDBOutput
39 | */
40 | public function setDbResults($dbResults)
41 | {
42 | $this->dbResults = $dbResults;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tFindPersonalDBOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetAuthorInput.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
19 | }
20 |
21 | /**
22 | * @return tIdDm
23 | */
24 | public function getDmID()
25 | {
26 | return $this->dmID;
27 | }
28 |
29 | /**
30 | * @param tIdDm $dmID
31 | * @return \Defr\CzechDataBox\Api\tGetAuthorInput
32 | */
33 | public function setDmID($dmID)
34 | {
35 | $this->dmID = $dmID;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tGetAuthorOutput.php:
--------------------------------------------------------------------------------
1 | userType = $userType;
31 | $this->authorName = $authorName;
32 | $this->dmStatus = $dmStatus;
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | public function getUserType()
39 | {
40 | return $this->userType;
41 | }
42 |
43 | /**
44 | * @param string $userType
45 | * @return \Defr\CzechDataBox\Api\tGetAuthorOutput
46 | */
47 | public function setUserType($userType)
48 | {
49 | $this->userType = $userType;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return string
55 | */
56 | public function getAuthorName()
57 | {
58 | return $this->authorName;
59 | }
60 |
61 | /**
62 | * @param string $authorName
63 | * @return \Defr\CzechDataBox\Api\tGetAuthorOutput
64 | */
65 | public function setAuthorName($authorName)
66 | {
67 | $this->authorName = $authorName;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tStatus
73 | */
74 | public function getDmStatus()
75 | {
76 | return $this->dmStatus;
77 | }
78 |
79 | /**
80 | * @param tStatus $dmStatus
81 | * @return \Defr\CzechDataBox\Api\tGetAuthorOutput
82 | */
83 | public function setDmStatus($dmStatus)
84 | {
85 | $this->dmStatus = $dmStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tGetConstsOutput.php:
--------------------------------------------------------------------------------
1 | constRecords = $constRecords;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return constRecords
30 | */
31 | public function getConstRecords()
32 | {
33 | return $this->constRecords;
34 | }
35 |
36 | /**
37 | * @param constRecords $constRecords
38 | * @return \Defr\CzechDataBox\Api\tGetConstsOutput
39 | */
40 | public function setConstRecords($constRecords)
41 | {
42 | $this->constRecords = $constRecords;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetConstsOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetDBListInput.php:
--------------------------------------------------------------------------------
1 | dblType = $dblType;
19 | }
20 |
21 | /**
22 | * @return string
23 | */
24 | public function getDblType()
25 | {
26 | return $this->dblType;
27 | }
28 |
29 | /**
30 | * @param string $dblType
31 | * @return \Defr\CzechDataBox\Api\tGetDBListInput
32 | */
33 | public function setDblType($dblType)
34 | {
35 | $this->dblType = $dblType;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tGetDBListOutput.php:
--------------------------------------------------------------------------------
1 | dblData = $dblData;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDblData()
32 | {
33 | return $this->dblData;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dblData
38 | * @return \Defr\CzechDataBox\Api\tGetDBListOutput
39 | */
40 | public function setDblData($dblData)
41 | {
42 | $this->dblData = $dblData;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetDBListOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetDBStatusInput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->baFrom = $baFrom ? $baFrom->format(\DateTime::ATOM) : null;
32 | $this->baTo = $baTo ? $baTo->format(\DateTime::ATOM) : null;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tGetDBStatusInput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return \DateTime
55 | */
56 | public function getBaFrom()
57 | {
58 | if ($this->baFrom == null) {
59 | return null;
60 | } else {
61 | try {
62 | return new \DateTime($this->baFrom);
63 | } catch (\Exception $e) {
64 | return false;
65 | }
66 | }
67 | }
68 |
69 | /**
70 | * @param \DateTime $baFrom
71 | * @return \Defr\CzechDataBox\Api\tGetDBStatusInput
72 | */
73 | public function setBaFrom(\DateTime $baFrom)
74 | {
75 | $this->baFrom = $baFrom->format(\DateTime::ATOM);
76 | return $this;
77 | }
78 |
79 | /**
80 | * @return \DateTime
81 | */
82 | public function getBaTo()
83 | {
84 | if ($this->baTo == null) {
85 | return null;
86 | } else {
87 | try {
88 | return new \DateTime($this->baTo);
89 | } catch (\Exception $e) {
90 | return false;
91 | }
92 | }
93 | }
94 |
95 | /**
96 | * @param \DateTime $baTo
97 | * @return \Defr\CzechDataBox\Api\tGetDBStatusInput
98 | */
99 | public function setBaTo(\DateTime $baTo)
100 | {
101 | $this->baTo = $baTo->format(\DateTime::ATOM);
102 | return $this;
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/src/Api/tGetDBStatusOutput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->Periods = $Periods;
32 | $this->dbStatus = $dbStatus;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tGetDBStatusOutput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return tdbPeriodsArray
55 | */
56 | public function getPeriods()
57 | {
58 | return $this->Periods;
59 | }
60 |
61 | /**
62 | * @param tdbPeriodsArray $Periods
63 | * @return \Defr\CzechDataBox\Api\tGetDBStatusOutput
64 | */
65 | public function setPeriods($Periods)
66 | {
67 | $this->Periods = $Periods;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tDbReqStatus
73 | */
74 | public function getDbStatus()
75 | {
76 | return $this->dbStatus;
77 | }
78 |
79 | /**
80 | * @param tDbReqStatus $dbStatus
81 | * @return \Defr\CzechDataBox\Api\tGetDBStatusOutput
82 | */
83 | public function setDbStatus($dbStatus)
84 | {
85 | $this->dbStatus = $dbStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tGetDBUsers2Output.php:
--------------------------------------------------------------------------------
1 | dbUsers = $dbUsers;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbUsersArray2
30 | */
31 | public function getDbUsers()
32 | {
33 | return $this->dbUsers;
34 | }
35 |
36 | /**
37 | * @param tDbUsersArray2 $dbUsers
38 | * @return \Defr\CzechDataBox\Api\tGetDBUsers2Output
39 | */
40 | public function setDbUsers($dbUsers)
41 | {
42 | $this->dbUsers = $dbUsers;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetDBUsers2Output
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetListOfErasedOutput.php:
--------------------------------------------------------------------------------
1 | asyncID = $asyncID;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getAsyncID()
32 | {
33 | return $this->asyncID;
34 | }
35 |
36 | /**
37 | * @param string $asyncID
38 | * @return \Defr\CzechDataBox\Api\tGetListOfErasedOutput
39 | */
40 | public function setAsyncID($asyncID)
41 | {
42 | $this->asyncID = $asyncID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tGetListOfErasedOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetOwnInfoOutput.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbOwnerInfo
30 | */
31 | public function getDbOwnerInfo()
32 | {
33 | return $this->dbOwnerInfo;
34 | }
35 |
36 | /**
37 | * @param tDbOwnerInfo $dbOwnerInfo
38 | * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput
39 | */
40 | public function setDbOwnerInfo($dbOwnerInfo)
41 | {
42 | $this->dbOwnerInfo = $dbOwnerInfo;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetOwnInfoOutput2.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbOwnerInfoExt2
30 | */
31 | public function getDbOwnerInfo()
32 | {
33 | return $this->dbOwnerInfo;
34 | }
35 |
36 | /**
37 | * @param tDbOwnerInfoExt2 $dbOwnerInfo
38 | * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput2
39 | */
40 | public function setDbOwnerInfo($dbOwnerInfo)
41 | {
42 | $this->dbOwnerInfo = $dbOwnerInfo;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetOwnInfoOutput2
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetPasswInfoOutput.php:
--------------------------------------------------------------------------------
1 | pswExpDate = $pswExpDate ? $pswExpDate->format(\DateTime::ATOM) : null;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return \DateTime
30 | */
31 | public function getPswExpDate()
32 | {
33 | if ($this->pswExpDate == null) {
34 | return null;
35 | } else {
36 | try {
37 | return new \DateTime($this->pswExpDate);
38 | } catch (\Exception $e) {
39 | return false;
40 | }
41 | }
42 | }
43 |
44 | /**
45 | * @param \DateTime $pswExpDate
46 | * @return \Defr\CzechDataBox\Api\tGetPasswInfoOutput
47 | */
48 | public function setPswExpDate(\DateTime $pswExpDate)
49 | {
50 | $this->pswExpDate = $pswExpDate->format(\DateTime::ATOM);
51 | return $this;
52 | }
53 |
54 | /**
55 | * @return tDbReqStatus
56 | */
57 | public function getDbStatus()
58 | {
59 | return $this->dbStatus;
60 | }
61 |
62 | /**
63 | * @param tDbReqStatus $dbStatus
64 | * @return \Defr\CzechDataBox\Api\tGetPasswInfoOutput
65 | */
66 | public function setDbStatus($dbStatus)
67 | {
68 | $this->dbStatus = $dbStatus;
69 | return $this;
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/src/Api/tGetStateChangesInput.php:
--------------------------------------------------------------------------------
1 | dmFromTime = $dmFromTime ? $dmFromTime->format(\DateTime::ATOM) : null;
25 | $this->dmToTime = $dmToTime ? $dmToTime->format(\DateTime::ATOM) : null;
26 | }
27 |
28 | /**
29 | * @return \DateTime
30 | */
31 | public function getDmFromTime()
32 | {
33 | if ($this->dmFromTime == null) {
34 | return null;
35 | } else {
36 | try {
37 | return new \DateTime($this->dmFromTime);
38 | } catch (\Exception $e) {
39 | return false;
40 | }
41 | }
42 | }
43 |
44 | /**
45 | * @param \DateTime $dmFromTime
46 | * @return \Defr\CzechDataBox\Api\tGetStateChangesInput
47 | */
48 | public function setDmFromTime(\DateTime $dmFromTime)
49 | {
50 | $this->dmFromTime = $dmFromTime->format(\DateTime::ATOM);
51 | return $this;
52 | }
53 |
54 | /**
55 | * @return \DateTime
56 | */
57 | public function getDmToTime()
58 | {
59 | if ($this->dmToTime == null) {
60 | return null;
61 | } else {
62 | try {
63 | return new \DateTime($this->dmToTime);
64 | } catch (\Exception $e) {
65 | return false;
66 | }
67 | }
68 | }
69 |
70 | /**
71 | * @param \DateTime $dmToTime
72 | * @return \Defr\CzechDataBox\Api\tGetStateChangesInput
73 | */
74 | public function setDmToTime(\DateTime $dmToTime)
75 | {
76 | $this->dmToTime = $dmToTime->format(\DateTime::ATOM);
77 | return $this;
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/src/Api/tGetStateChangesOutput.php:
--------------------------------------------------------------------------------
1 | dmRecords = $dmRecords;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tStateChangesArray
30 | */
31 | public function getDmRecords()
32 | {
33 | return $this->dmRecords;
34 | }
35 |
36 | /**
37 | * @param tStateChangesArray $dmRecords
38 | * @return \Defr\CzechDataBox\Api\tGetStateChangesOutput
39 | */
40 | public function setDmRecords($dmRecords)
41 | {
42 | $this->dmRecords = $dmRecords;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tGetStateChangesOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetUserInfoOutput.php:
--------------------------------------------------------------------------------
1 | dbUserInfo = $dbUserInfo;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbUserInfo
30 | */
31 | public function getDbUserInfo()
32 | {
33 | return $this->dbUserInfo;
34 | }
35 |
36 | /**
37 | * @param tDbUserInfo $dbUserInfo
38 | * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput
39 | */
40 | public function setDbUserInfo($dbUserInfo)
41 | {
42 | $this->dbUserInfo = $dbUserInfo;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tGetUserInfoOutput2.php:
--------------------------------------------------------------------------------
1 | dbUserInfo = $dbUserInfo;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tDbUserInfoExt2
30 | */
31 | public function getDbUserInfo()
32 | {
33 | return $this->dbUserInfo;
34 | }
35 |
36 | /**
37 | * @param tDbUserInfoExt2 $dbUserInfo
38 | * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput2
39 | */
40 | public function setDbUserInfo($dbUserInfo)
41 | {
42 | $this->dbUserInfo = $dbUserInfo;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tGetUserInfoOutput2
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tHash.php:
--------------------------------------------------------------------------------
1 | _ = $_;
25 | $this->algorithm = $algorithm;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function get_()
32 | {
33 | return $this->_;
34 | }
35 |
36 | /**
37 | * @param base64Binary $_
38 | * @return \Defr\CzechDataBox\Api\tHash
39 | */
40 | public function set_($_)
41 | {
42 | $this->_ = $_;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getAlgorithm()
50 | {
51 | return $this->algorithm;
52 | }
53 |
54 | /**
55 | * @param string $algorithm
56 | * @return \Defr\CzechDataBox\Api\tHash
57 | */
58 | public function setAlgorithm($algorithm)
59 | {
60 | $this->algorithm = $algorithm;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tIDMessInput.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
19 | }
20 |
21 | /**
22 | * @return tIdDm
23 | */
24 | public function getDmID()
25 | {
26 | return $this->dmID;
27 | }
28 |
29 | /**
30 | * @param tIdDm $dmID
31 | * @return \Defr\CzechDataBox\Api\tIDMessInput
32 | */
33 | public function setDmID($dmID)
34 | {
35 | $this->dmID = $dmID;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tIdDBDUInput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tIdDBDUInput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tIdDBDUInput
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tIdDBDUInput
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tIdDBDUInputAttrs2.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return dbID
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param dbID $dbID
45 | * @return \Defr\CzechDataBox\Api\tIdDBDUInputAttrs2
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tIdDBDUInputAttrs2
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tIdDBDUInputAttrs2
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tIdDBInput.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return tIdDb
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param tIdDb $dbID
45 | * @return \Defr\CzechDataBox\Api\tIdDBInput
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tIdDBInput
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tIdDBInput
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tIdDBInputAttrs.php:
--------------------------------------------------------------------------------
1 | dbID = $dbID;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return dbID
37 | */
38 | public function getDbID()
39 | {
40 | return $this->dbID;
41 | }
42 |
43 | /**
44 | * @param dbID $dbID
45 | * @return \Defr\CzechDataBox\Api\tIdDBInputAttrs
46 | */
47 | public function setDbID($dbID)
48 | {
49 | $this->dbID = $dbID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tIdDBInputAttrs
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tIdDBInputAttrs
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tListForNotifInput.php:
--------------------------------------------------------------------------------
1 | ntfFromTime = $ntfFromTime ? $ntfFromTime->format(\DateTime::ATOM) : null;
25 | $this->ntfScope = $ntfScope;
26 | }
27 |
28 | /**
29 | * @return \DateTime
30 | */
31 | public function getNtfFromTime()
32 | {
33 | if ($this->ntfFromTime == null) {
34 | return null;
35 | } else {
36 | try {
37 | return new \DateTime($this->ntfFromTime);
38 | } catch (\Exception $e) {
39 | return false;
40 | }
41 | }
42 | }
43 |
44 | /**
45 | * @param \DateTime $ntfFromTime
46 | * @return \Defr\CzechDataBox\Api\tListForNotifInput
47 | */
48 | public function setNtfFromTime(\DateTime $ntfFromTime)
49 | {
50 | $this->ntfFromTime = $ntfFromTime->format(\DateTime::ATOM);
51 | return $this;
52 | }
53 |
54 | /**
55 | * @return string
56 | */
57 | public function getNtfScope()
58 | {
59 | return $this->ntfScope;
60 | }
61 |
62 | /**
63 | * @param string $ntfScope
64 | * @return \Defr\CzechDataBox\Api\tListForNotifInput
65 | */
66 | public function setNtfScope($ntfScope)
67 | {
68 | $this->ntfScope = $ntfScope;
69 | return $this;
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/src/Api/tListForNotifOutput.php:
--------------------------------------------------------------------------------
1 | ntfRecords = $ntfRecords;
31 | $this->ntfListContinues = $ntfListContinues;
32 | $this->dmStatus = $dmStatus;
33 | }
34 |
35 | /**
36 | * @return tNtfRecordsArray
37 | */
38 | public function getNtfRecords()
39 | {
40 | return $this->ntfRecords;
41 | }
42 |
43 | /**
44 | * @param tNtfRecordsArray $ntfRecords
45 | * @return \Defr\CzechDataBox\Api\tListForNotifOutput
46 | */
47 | public function setNtfRecords($ntfRecords)
48 | {
49 | $this->ntfRecords = $ntfRecords;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getNtfListContinues()
57 | {
58 | return $this->ntfListContinues;
59 | }
60 |
61 | /**
62 | * @param boolean $ntfListContinues
63 | * @return \Defr\CzechDataBox\Api\tListForNotifOutput
64 | */
65 | public function setNtfListContinues($ntfListContinues)
66 | {
67 | $this->ntfListContinues = $ntfListContinues;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tStatus
73 | */
74 | public function getDmStatus()
75 | {
76 | return $this->dmStatus;
77 | }
78 |
79 | /**
80 | * @param tStatus $dmStatus
81 | * @return \Defr\CzechDataBox\Api\tListForNotifOutput
82 | */
83 | public function setDmStatus($dmStatus)
84 | {
85 | $this->dmStatus = $dmStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tListOfMessOutput.php:
--------------------------------------------------------------------------------
1 | dmRecords = $dmRecords;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tRecordsArray
30 | */
31 | public function getDmRecords()
32 | {
33 | return $this->dmRecords;
34 | }
35 |
36 | /**
37 | * @param tRecordsArray $dmRecords
38 | * @return \Defr\CzechDataBox\Api\tListOfMessOutput
39 | */
40 | public function setDmRecords($dmRecords)
41 | {
42 | $this->dmRecords = $dmRecords;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tListOfMessOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMStatus.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tIdDm
30 | */
31 | public function getDmID()
32 | {
33 | return $this->dmID;
34 | }
35 |
36 | /**
37 | * @param tIdDm $dmID
38 | * @return \Defr\CzechDataBox\Api\tMStatus
39 | */
40 | public function setDmID($dmID)
41 | {
42 | $this->dmID = $dmID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMStatus
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMarkMessOutput.php:
--------------------------------------------------------------------------------
1 | dmStatus = $dmStatus;
19 | }
20 |
21 | /**
22 | * @return tStatus
23 | */
24 | public function getDmStatus()
25 | {
26 | return $this->dmStatus;
27 | }
28 |
29 | /**
30 | * @param tStatus $dmStatus
31 | * @return \Defr\CzechDataBox\Api\tMarkMessOutput
32 | */
33 | public function setDmStatus($dmStatus)
34 | {
35 | $this->dmStatus = $dmStatus;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tMessDownOutput.php:
--------------------------------------------------------------------------------
1 | dmReturnedMessage = $dmReturnedMessage;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tReturnedMessage
30 | */
31 | public function getDmReturnedMessage()
32 | {
33 | return $this->dmReturnedMessage;
34 | }
35 |
36 | /**
37 | * @param tReturnedMessage $dmReturnedMessage
38 | * @return \Defr\CzechDataBox\Api\tMessDownOutput
39 | */
40 | public function setDmReturnedMessage($dmReturnedMessage)
41 | {
42 | $this->dmReturnedMessage = $dmReturnedMessage;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMessDownOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMessEnvelDownOutput.php:
--------------------------------------------------------------------------------
1 | dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tReturnedMessageEnvelope
30 | */
31 | public function getDmReturnedMessageEnvelope()
32 | {
33 | return $this->dmReturnedMessageEnvelope;
34 | }
35 |
36 | /**
37 | * @param tReturnedMessageEnvelope $dmReturnedMessageEnvelope
38 | * @return \Defr\CzechDataBox\Api\tMessEnvelDownOutput
39 | */
40 | public function setDmReturnedMessageEnvelope($dmReturnedMessageEnvelope)
41 | {
42 | $this->dmReturnedMessageEnvelope = $dmReturnedMessageEnvelope;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMessEnvelDownOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMessageCreateInput.php:
--------------------------------------------------------------------------------
1 | dmEnvelope = $dmEnvelope;
25 | $this->dmFiles = $dmFiles;
26 | }
27 |
28 | /**
29 | * @return dmEnvelope
30 | */
31 | public function getDmEnvelope()
32 | {
33 | return $this->dmEnvelope;
34 | }
35 |
36 | /**
37 | * @param dmEnvelope $dmEnvelope
38 | * @return \Defr\CzechDataBox\Api\tMessageCreateInput
39 | */
40 | public function setDmEnvelope($dmEnvelope)
41 | {
42 | $this->dmEnvelope = $dmEnvelope;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tFilesArray
48 | */
49 | public function getDmFiles()
50 | {
51 | return $this->dmFiles;
52 | }
53 |
54 | /**
55 | * @param tFilesArray $dmFiles
56 | * @return \Defr\CzechDataBox\Api\tMessageCreateInput
57 | */
58 | public function setDmFiles($dmFiles)
59 | {
60 | $this->dmFiles = $dmFiles;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMessageCreateOutput.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tIdDm
30 | */
31 | public function getDmID()
32 | {
33 | return $this->dmID;
34 | }
35 |
36 | /**
37 | * @param tIdDm $dmID
38 | * @return \Defr\CzechDataBox\Api\tMessageCreateOutput
39 | */
40 | public function setDmID($dmID)
41 | {
42 | $this->dmID = $dmID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMessageCreateOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMessageVerifyOutput.php:
--------------------------------------------------------------------------------
1 | dmHash = $dmHash;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tHash
30 | */
31 | public function getDmHash()
32 | {
33 | return $this->dmHash;
34 | }
35 |
36 | /**
37 | * @param tHash $dmHash
38 | * @return \Defr\CzechDataBox\Api\tMessageVerifyOutput
39 | */
40 | public function setDmHash($dmHash)
41 | {
42 | $this->dmHash = $dmHash;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMessageVerifyOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMultipleMessageCreateInput.php:
--------------------------------------------------------------------------------
1 | dmRecipients = $dmRecipients;
31 | $this->dmEnvelope = $dmEnvelope;
32 | $this->dmFiles = $dmFiles;
33 | }
34 |
35 | /**
36 | * @return tMultipleMessageRecipients
37 | */
38 | public function getDmRecipients()
39 | {
40 | return $this->dmRecipients;
41 | }
42 |
43 | /**
44 | * @param tMultipleMessageRecipients $dmRecipients
45 | * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput
46 | */
47 | public function setDmRecipients($dmRecipients)
48 | {
49 | $this->dmRecipients = $dmRecipients;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return dmEnvelope
55 | */
56 | public function getDmEnvelope()
57 | {
58 | return $this->dmEnvelope;
59 | }
60 |
61 | /**
62 | * @param dmEnvelope $dmEnvelope
63 | * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput
64 | */
65 | public function setDmEnvelope($dmEnvelope)
66 | {
67 | $this->dmEnvelope = $dmEnvelope;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tFilesArray
73 | */
74 | public function getDmFiles()
75 | {
76 | return $this->dmFiles;
77 | }
78 |
79 | /**
80 | * @param tFilesArray $dmFiles
81 | * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateInput
82 | */
83 | public function setDmFiles($dmFiles)
84 | {
85 | $this->dmFiles = $dmFiles;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tMultipleMessageCreateOutput.php:
--------------------------------------------------------------------------------
1 | dmMultipleStatus = $dmMultipleStatus;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return tMultipleStatus
30 | */
31 | public function getDmMultipleStatus()
32 | {
33 | return $this->dmMultipleStatus;
34 | }
35 |
36 | /**
37 | * @param tMultipleStatus $dmMultipleStatus
38 | * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateOutput
39 | */
40 | public function setDmMultipleStatus($dmMultipleStatus)
41 | {
42 | $this->dmMultipleStatus = $dmMultipleStatus;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tMultipleMessageCreateOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tMultipleMessageRecipients.php:
--------------------------------------------------------------------------------
1 | dmRecipient = $dmRecipient;
19 | }
20 |
21 | /**
22 | * @return tRecipients
23 | */
24 | public function getDmRecipient()
25 | {
26 | return $this->dmRecipient;
27 | }
28 |
29 | /**
30 | * @param tRecipients $dmRecipient
31 | * @return \Defr\CzechDataBox\Api\tMultipleMessageRecipients
32 | */
33 | public function setDmRecipient($dmRecipient)
34 | {
35 | $this->dmRecipient = $dmRecipient;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tMultipleStatus.php:
--------------------------------------------------------------------------------
1 | dmSingleStatus = $dmSingleStatus;
19 | }
20 |
21 | /**
22 | * @return tMStatus
23 | */
24 | public function getDmSingleStatus()
25 | {
26 | return $this->dmSingleStatus;
27 | }
28 |
29 | /**
30 | * @param tMStatus $dmSingleStatus
31 | * @return \Defr\CzechDataBox\Api\tMultipleStatus
32 | */
33 | public function setDmSingleStatus($dmSingleStatus)
34 | {
35 | $this->dmSingleStatus = $dmSingleStatus;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tNewAccDataOutput.php:
--------------------------------------------------------------------------------
1 | dbUserID = $dbUserID;
31 | $this->dbAccessDataId = $dbAccessDataId;
32 | $this->dbStatus = $dbStatus;
33 | }
34 |
35 | /**
36 | * @return tUserID
37 | */
38 | public function getDbUserID()
39 | {
40 | return $this->dbUserID;
41 | }
42 |
43 | /**
44 | * @param tUserID $dbUserID
45 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput
46 | */
47 | public function setDbUserID($dbUserID)
48 | {
49 | $this->dbUserID = $dbUserID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return tDbAccessDataId
55 | */
56 | public function getDbAccessDataId()
57 | {
58 | return $this->dbAccessDataId;
59 | }
60 |
61 | /**
62 | * @param tDbAccessDataId $dbAccessDataId
63 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput
64 | */
65 | public function setDbAccessDataId($dbAccessDataId)
66 | {
67 | $this->dbAccessDataId = $dbAccessDataId;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tDbReqStatus
73 | */
74 | public function getDbStatus()
75 | {
76 | return $this->dbStatus;
77 | }
78 |
79 | /**
80 | * @param tDbReqStatus $dbStatus
81 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput
82 | */
83 | public function setDbStatus($dbStatus)
84 | {
85 | $this->dbStatus = $dbStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tNewAccDataOutput2.php:
--------------------------------------------------------------------------------
1 | dbUserID = $dbUserID;
31 | $this->dbAccessDataId = $dbAccessDataId;
32 | $this->dbStatus = $dbStatus;
33 | }
34 |
35 | /**
36 | * @return tUserID
37 | */
38 | public function getDbUserID()
39 | {
40 | return $this->dbUserID;
41 | }
42 |
43 | /**
44 | * @param tUserID $dbUserID
45 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput2
46 | */
47 | public function setDbUserID($dbUserID)
48 | {
49 | $this->dbUserID = $dbUserID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return tDbAccessDataId
55 | */
56 | public function getDbAccessDataId()
57 | {
58 | return $this->dbAccessDataId;
59 | }
60 |
61 | /**
62 | * @param tDbAccessDataId $dbAccessDataId
63 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput2
64 | */
65 | public function setDbAccessDataId($dbAccessDataId)
66 | {
67 | $this->dbAccessDataId = $dbAccessDataId;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tDbReqStatus
73 | */
74 | public function getDbStatus()
75 | {
76 | return $this->dbStatus;
77 | }
78 |
79 | /**
80 | * @param tDbReqStatus $dbStatus
81 | * @return \Defr\CzechDataBox\Api\tNewAccDataOutput2
82 | */
83 | public function setDbStatus($dbStatus)
84 | {
85 | $this->dbStatus = $dbStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tNtfRecordsArray.php:
--------------------------------------------------------------------------------
1 | ntfRecord = $ntfRecord;
19 | }
20 |
21 | /**
22 | * @return tNtfRecord
23 | */
24 | public function getNtfRecord()
25 | {
26 | return $this->ntfRecord;
27 | }
28 |
29 | /**
30 | * @param tNtfRecord $ntfRecord
31 | * @return \Defr\CzechDataBox\Api\tNtfRecordsArray
32 | */
33 | public function setNtfRecord($ntfRecord)
34 | {
35 | $this->ntfRecord = $ntfRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tNumOfMessagesInput.php:
--------------------------------------------------------------------------------
1 | statType;
24 | }
25 |
26 | /**
27 | * @param int $statType
28 | * @return \Defr\CzechDataBox\Api\tNumOfMessagesInput
29 | */
30 | public function setStatType($statType)
31 | {
32 | $this->statType = $statType;
33 | return $this;
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/Api/tNumOfMessagesOutput.php:
--------------------------------------------------------------------------------
1 | statTime = $statTime ? $statTime->format(\DateTime::ATOM) : null;
29 | }
30 |
31 | /**
32 | * @return int
33 | */
34 | public function getStatResult()
35 | {
36 | return $this->statResult;
37 | }
38 |
39 | /**
40 | * @param int $statResult
41 | * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput
42 | */
43 | public function setStatResult($statResult)
44 | {
45 | $this->statResult = $statResult;
46 | return $this;
47 | }
48 |
49 | /**
50 | * @return \DateTime
51 | */
52 | public function getStatTime()
53 | {
54 | if ($this->statTime == null) {
55 | return null;
56 | } else {
57 | try {
58 | return new \DateTime($this->statTime);
59 | } catch (\Exception $e) {
60 | return false;
61 | }
62 | }
63 | }
64 |
65 | /**
66 | * @param \DateTime $statTime
67 | * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput
68 | */
69 | public function setStatTime(\DateTime $statTime)
70 | {
71 | $this->statTime = $statTime->format(\DateTime::ATOM);
72 | return $this;
73 | }
74 |
75 | /**
76 | * @return tStatReqStatus
77 | */
78 | public function getDbStatus()
79 | {
80 | return $this->dbStatus;
81 | }
82 |
83 | /**
84 | * @param tStatReqStatus $dbStatus
85 | * @return \Defr\CzechDataBox\Api\tNumOfMessagesOutput
86 | */
87 | public function setDbStatus($dbStatus)
88 | {
89 | $this->dbStatus = $dbStatus;
90 | return $this;
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/src/Api/tOwnerInfoInput.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
31 | $this->dbApproved = $dbApproved;
32 | $this->dbExternRefNumber = $dbExternRefNumber;
33 | }
34 |
35 | /**
36 | * @return tDbOwnerInfo
37 | */
38 | public function getDbOwnerInfo()
39 | {
40 | return $this->dbOwnerInfo;
41 | }
42 |
43 | /**
44 | * @param tDbOwnerInfo $dbOwnerInfo
45 | * @return \Defr\CzechDataBox\Api\tOwnerInfoInput
46 | */
47 | public function setDbOwnerInfo($dbOwnerInfo)
48 | {
49 | $this->dbOwnerInfo = $dbOwnerInfo;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return boolean
55 | */
56 | public function getDbApproved()
57 | {
58 | return $this->dbApproved;
59 | }
60 |
61 | /**
62 | * @param boolean $dbApproved
63 | * @return \Defr\CzechDataBox\Api\tOwnerInfoInput
64 | */
65 | public function setDbApproved($dbApproved)
66 | {
67 | $this->dbApproved = $dbApproved;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return string
73 | */
74 | public function getDbExternRefNumber()
75 | {
76 | return $this->dbExternRefNumber;
77 | }
78 |
79 | /**
80 | * @param string $dbExternRefNumber
81 | * @return \Defr\CzechDataBox\Api\tOwnerInfoInput
82 | */
83 | public function setDbExternRefNumber($dbExternRefNumber)
84 | {
85 | $this->dbExternRefNumber = $dbExternRefNumber;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tPDZInfoInput.php:
--------------------------------------------------------------------------------
1 | PDZSender = $PDZSender;
19 | }
20 |
21 | /**
22 | * @return tIdDb
23 | */
24 | public function getPDZSender()
25 | {
26 | return $this->PDZSender;
27 | }
28 |
29 | /**
30 | * @param tIdDb $PDZSender
31 | * @return \Defr\CzechDataBox\Api\tPDZInfoInput
32 | */
33 | public function setPDZSender($PDZSender)
34 | {
35 | $this->PDZSender = $PDZSender;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tPDZInfoOutput.php:
--------------------------------------------------------------------------------
1 | dbPDZRecords = $dbPDZRecords;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return tPDZRecArray
30 | */
31 | public function getDbPDZRecords()
32 | {
33 | return $this->dbPDZRecords;
34 | }
35 |
36 | /**
37 | * @param tPDZRecArray $dbPDZRecords
38 | * @return \Defr\CzechDataBox\Api\tPDZInfoOutput
39 | */
40 | public function setDbPDZRecords($dbPDZRecords)
41 | {
42 | $this->dbPDZRecords = $dbPDZRecords;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tPDZInfoOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tPDZRecArray.php:
--------------------------------------------------------------------------------
1 | dbPDZRecord = $dbPDZRecord;
19 | }
20 |
21 | /**
22 | * @return tPDZRec
23 | */
24 | public function getDbPDZRecord()
25 | {
26 | return $this->dbPDZRecord;
27 | }
28 |
29 | /**
30 | * @param tPDZRec $dbPDZRecord
31 | * @return \Defr\CzechDataBox\Api\tPDZRecArray
32 | */
33 | public function setDbPDZRecord($dbPDZRecord)
34 | {
35 | $this->dbPDZRecord = $dbPDZRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tPDZSendInput.php:
--------------------------------------------------------------------------------
1 | dbId = $dbId;
25 | $this->PDZType = $PDZType;
26 | }
27 |
28 | /**
29 | * @return tIdDb
30 | */
31 | public function getDbId()
32 | {
33 | return $this->dbId;
34 | }
35 |
36 | /**
37 | * @param tIdDb $dbId
38 | * @return \Defr\CzechDataBox\Api\tPDZSendInput
39 | */
40 | public function setDbId($dbId)
41 | {
42 | $this->dbId = $dbId;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return PDZType
48 | */
49 | public function getPDZType()
50 | {
51 | return $this->PDZType;
52 | }
53 |
54 | /**
55 | * @param PDZType $PDZType
56 | * @return \Defr\CzechDataBox\Api\tPDZSendInput
57 | */
58 | public function setPDZType($PDZType)
59 | {
60 | $this->PDZType = $PDZType;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tPDZSendOutput.php:
--------------------------------------------------------------------------------
1 | PDZsiResult = $PDZsiResult;
25 | $this->dbStatus = $dbStatus;
26 | }
27 |
28 | /**
29 | * @return boolean
30 | */
31 | public function getPDZsiResult()
32 | {
33 | return $this->PDZsiResult;
34 | }
35 |
36 | /**
37 | * @param boolean $PDZsiResult
38 | * @return \Defr\CzechDataBox\Api\tPDZSendOutput
39 | */
40 | public function setPDZsiResult($PDZsiResult)
41 | {
42 | $this->PDZsiResult = $PDZsiResult;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tDbReqStatus
48 | */
49 | public function getDbStatus()
50 | {
51 | return $this->dbStatus;
52 | }
53 |
54 | /**
55 | * @param tDbReqStatus $dbStatus
56 | * @return \Defr\CzechDataBox\Api\tPDZSendOutput
57 | */
58 | public function setDbStatus($dbStatus)
59 | {
60 | $this->dbStatus = $dbStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tPickUpAsyncInput.php:
--------------------------------------------------------------------------------
1 | asyncID = $asyncID;
25 | $this->asyncReqType = $asyncReqType;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getAsyncID()
32 | {
33 | return $this->asyncID;
34 | }
35 |
36 | /**
37 | * @param string $asyncID
38 | * @return \Defr\CzechDataBox\Api\tPickUpAsyncInput
39 | */
40 | public function setAsyncID($asyncID)
41 | {
42 | $this->asyncID = $asyncID;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getAsyncReqType()
50 | {
51 | return $this->asyncReqType;
52 | }
53 |
54 | /**
55 | * @param string $asyncReqType
56 | * @return \Defr\CzechDataBox\Api\tPickUpAsyncInput
57 | */
58 | public function setAsyncReqType($asyncReqType)
59 | {
60 | $this->asyncReqType = $asyncReqType;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tPickUpAsyncOutput.php:
--------------------------------------------------------------------------------
1 | asyncReqType = $asyncReqType;
31 | $this->asyncResponse = $asyncResponse;
32 | $this->dmStatus = $dmStatus;
33 | }
34 |
35 | /**
36 | * @return string
37 | */
38 | public function getAsyncReqType()
39 | {
40 | return $this->asyncReqType;
41 | }
42 |
43 | /**
44 | * @param string $asyncReqType
45 | * @return \Defr\CzechDataBox\Api\tPickUpAsyncOutput
46 | */
47 | public function setAsyncReqType($asyncReqType)
48 | {
49 | $this->asyncReqType = $asyncReqType;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return base64Binary
55 | */
56 | public function getAsyncResponse()
57 | {
58 | return $this->asyncResponse;
59 | }
60 |
61 | /**
62 | * @param base64Binary $asyncResponse
63 | * @return \Defr\CzechDataBox\Api\tPickUpAsyncOutput
64 | */
65 | public function setAsyncResponse($asyncResponse)
66 | {
67 | $this->asyncResponse = $asyncResponse;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tStatus
73 | */
74 | public function getDmStatus()
75 | {
76 | return $this->dmStatus;
77 | }
78 |
79 | /**
80 | * @param tStatus $dmStatus
81 | * @return \Defr\CzechDataBox\Api\tPickUpAsyncOutput
82 | */
83 | public function setDmStatus($dmStatus)
84 | {
85 | $this->dmStatus = $dmStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tRecordsArray.php:
--------------------------------------------------------------------------------
1 | dmRecord = $dmRecord;
19 | }
20 |
21 | /**
22 | * @return tRecord
23 | */
24 | public function getDmRecord()
25 | {
26 | return $this->dmRecord;
27 | }
28 |
29 | /**
30 | * @param tRecord $dmRecord
31 | * @return \Defr\CzechDataBox\Api\tRecordsArray
32 | */
33 | public function setDmRecord($dmRecord)
34 | {
35 | $this->dmRecord = $dmRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tReqStatusOutput.php:
--------------------------------------------------------------------------------
1 | dbStatus = $dbStatus;
19 | }
20 |
21 | /**
22 | * @return tDbReqStatus
23 | */
24 | public function getDbStatus()
25 | {
26 | return $this->dbStatus;
27 | }
28 |
29 | /**
30 | * @param tDbReqStatus $dbStatus
31 | * @return \Defr\CzechDataBox\Api\tReqStatusOutput
32 | */
33 | public function setDbStatus($dbStatus)
34 | {
35 | $this->dbStatus = $dbStatus;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tResignDocInput.php:
--------------------------------------------------------------------------------
1 | dmDoc = $dmDoc;
19 | }
20 |
21 | /**
22 | * @return base64Binary
23 | */
24 | public function getDmDoc()
25 | {
26 | return $this->dmDoc;
27 | }
28 |
29 | /**
30 | * @param base64Binary $dmDoc
31 | * @return \Defr\CzechDataBox\Api\tResignDocInput
32 | */
33 | public function setDmDoc($dmDoc)
34 | {
35 | $this->dmDoc = $dmDoc;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tResignDocOutput.php:
--------------------------------------------------------------------------------
1 | dmResultDoc = $dmResultDoc;
31 | $this->dmValidTo = $dmValidTo;
32 | $this->dmStatus = $dmStatus;
33 | }
34 |
35 | /**
36 | * @return base64Binary
37 | */
38 | public function getDmResultDoc()
39 | {
40 | return $this->dmResultDoc;
41 | }
42 |
43 | /**
44 | * @param base64Binary $dmResultDoc
45 | * @return \Defr\CzechDataBox\Api\tResignDocOutput
46 | */
47 | public function setDmResultDoc($dmResultDoc)
48 | {
49 | $this->dmResultDoc = $dmResultDoc;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return date
55 | */
56 | public function getDmValidTo()
57 | {
58 | return $this->dmValidTo;
59 | }
60 |
61 | /**
62 | * @param date $dmValidTo
63 | * @return \Defr\CzechDataBox\Api\tResignDocOutput
64 | */
65 | public function setDmValidTo($dmValidTo)
66 | {
67 | $this->dmValidTo = $dmValidTo;
68 | return $this;
69 | }
70 |
71 | /**
72 | * @return tStatus
73 | */
74 | public function getDmStatus()
75 | {
76 | return $this->dmStatus;
77 | }
78 |
79 | /**
80 | * @param tStatus $dmStatus
81 | * @return \Defr\CzechDataBox\Api\tResignDocOutput
82 | */
83 | public function setDmStatus($dmStatus)
84 | {
85 | $this->dmStatus = $dmStatus;
86 | return $this;
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/src/Api/tSignDelivMessOutput.php:
--------------------------------------------------------------------------------
1 | dmSignature = $dmSignature;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDmSignature()
32 | {
33 | return $this->dmSignature;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dmSignature
38 | * @return \Defr\CzechDataBox\Api\tSignDelivMessOutput
39 | */
40 | public function setDmSignature($dmSignature)
41 | {
42 | $this->dmSignature = $dmSignature;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tSignDelivMessOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tSignedMessDownOutput.php:
--------------------------------------------------------------------------------
1 | dmSignature = $dmSignature;
25 | $this->dmStatus = $dmStatus;
26 | }
27 |
28 | /**
29 | * @return base64Binary
30 | */
31 | public function getDmSignature()
32 | {
33 | return $this->dmSignature;
34 | }
35 |
36 | /**
37 | * @param base64Binary $dmSignature
38 | * @return \Defr\CzechDataBox\Api\tSignedMessDownOutput
39 | */
40 | public function setDmSignature($dmSignature)
41 | {
42 | $this->dmSignature = $dmSignature;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return tStatus
48 | */
49 | public function getDmStatus()
50 | {
51 | return $this->dmStatus;
52 | }
53 |
54 | /**
55 | * @param tStatus $dmStatus
56 | * @return \Defr\CzechDataBox\Api\tSignedMessDownOutput
57 | */
58 | public function setDmStatus($dmStatus)
59 | {
60 | $this->dmStatus = $dmStatus;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tStatReqStatus.php:
--------------------------------------------------------------------------------
1 | dbStatusCode = $dbStatusCode;
25 | $this->dbStatusMessage = $dbStatusMessage;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getDbStatusCode()
32 | {
33 | return $this->dbStatusCode;
34 | }
35 |
36 | /**
37 | * @param string $dbStatusCode
38 | * @return \Defr\CzechDataBox\Api\tStatReqStatus
39 | */
40 | public function setDbStatusCode($dbStatusCode)
41 | {
42 | $this->dbStatusCode = $dbStatusCode;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getDbStatusMessage()
50 | {
51 | return $this->dbStatusMessage;
52 | }
53 |
54 | /**
55 | * @param string $dbStatusMessage
56 | * @return \Defr\CzechDataBox\Api\tStatReqStatus
57 | */
58 | public function setDbStatusMessage($dbStatusMessage)
59 | {
60 | $this->dbStatusMessage = $dbStatusMessage;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tStateChangesArray.php:
--------------------------------------------------------------------------------
1 | dmRecord = $dmRecord;
19 | }
20 |
21 | /**
22 | * @return tStateChangesRecord
23 | */
24 | public function getDmRecord()
25 | {
26 | return $this->dmRecord;
27 | }
28 |
29 | /**
30 | * @param tStateChangesRecord $dmRecord
31 | * @return \Defr\CzechDataBox\Api\tStateChangesArray
32 | */
33 | public function setDmRecord($dmRecord)
34 | {
35 | $this->dmRecord = $dmRecord;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tStateChangesRecord.php:
--------------------------------------------------------------------------------
1 | dmID = $dmID;
31 | $this->dmEventTime = $dmEventTime ? $dmEventTime->format(\DateTime::ATOM) : null;
32 | $this->dmMessageStatus = $dmMessageStatus;
33 | }
34 |
35 | /**
36 | * @return tIdDm
37 | */
38 | public function getDmID()
39 | {
40 | return $this->dmID;
41 | }
42 |
43 | /**
44 | * @param tIdDm $dmID
45 | * @return \Defr\CzechDataBox\Api\tStateChangesRecord
46 | */
47 | public function setDmID($dmID)
48 | {
49 | $this->dmID = $dmID;
50 | return $this;
51 | }
52 |
53 | /**
54 | * @return \DateTime
55 | */
56 | public function getDmEventTime()
57 | {
58 | if ($this->dmEventTime == null) {
59 | return null;
60 | } else {
61 | try {
62 | return new \DateTime($this->dmEventTime);
63 | } catch (\Exception $e) {
64 | return false;
65 | }
66 | }
67 | }
68 |
69 | /**
70 | * @param \DateTime $dmEventTime
71 | * @return \Defr\CzechDataBox\Api\tStateChangesRecord
72 | */
73 | public function setDmEventTime(\DateTime $dmEventTime)
74 | {
75 | $this->dmEventTime = $dmEventTime->format(\DateTime::ATOM);
76 | return $this;
77 | }
78 |
79 | /**
80 | * @return int
81 | */
82 | public function getDmMessageStatus()
83 | {
84 | return $this->dmMessageStatus;
85 | }
86 |
87 | /**
88 | * @param int $dmMessageStatus
89 | * @return \Defr\CzechDataBox\Api\tStateChangesRecord
90 | */
91 | public function setDmMessageStatus($dmMessageStatus)
92 | {
93 | $this->dmMessageStatus = $dmMessageStatus;
94 | return $this;
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/src/Api/tStatus.php:
--------------------------------------------------------------------------------
1 | dmStatusCode = $dmStatusCode;
25 | $this->dmStatusMessage = $dmStatusMessage;
26 | }
27 |
28 | /**
29 | * @return string
30 | */
31 | public function getDmStatusCode()
32 | {
33 | return $this->dmStatusCode;
34 | }
35 |
36 | /**
37 | * @param string $dmStatusCode
38 | * @return \Defr\CzechDataBox\Api\tStatus
39 | */
40 | public function setDmStatusCode($dmStatusCode)
41 | {
42 | $this->dmStatusCode = $dmStatusCode;
43 | return $this;
44 | }
45 |
46 | /**
47 | * @return string
48 | */
49 | public function getDmStatusMessage()
50 | {
51 | return $this->dmStatusMessage;
52 | }
53 |
54 | /**
55 | * @param string $dmStatusMessage
56 | * @return \Defr\CzechDataBox\Api\tStatus
57 | */
58 | public function setDmStatusMessage($dmStatusMessage)
59 | {
60 | $this->dmStatusMessage = $dmStatusMessage;
61 | return $this;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/src/Api/tUserType.php:
--------------------------------------------------------------------------------
1 | PeriodFrom = $PeriodFrom ? $PeriodFrom->format(\DateTime::ATOM) : null;
31 | $this->PeriodTo = $PeriodTo ? $PeriodTo->format(\DateTime::ATOM) : null;
32 | $this->DbState = $DbState;
33 | }
34 |
35 | /**
36 | * @return \DateTime
37 | */
38 | public function getPeriodFrom()
39 | {
40 | if ($this->PeriodFrom == null) {
41 | return null;
42 | } else {
43 | try {
44 | return new \DateTime($this->PeriodFrom);
45 | } catch (\Exception $e) {
46 | return false;
47 | }
48 | }
49 | }
50 |
51 | /**
52 | * @param \DateTime $PeriodFrom
53 | * @return \Defr\CzechDataBox\Api\tdbPeriod
54 | */
55 | public function setPeriodFrom(\DateTime $PeriodFrom)
56 | {
57 | $this->PeriodFrom = $PeriodFrom->format(\DateTime::ATOM);
58 | return $this;
59 | }
60 |
61 | /**
62 | * @return \DateTime
63 | */
64 | public function getPeriodTo()
65 | {
66 | if ($this->PeriodTo == null) {
67 | return null;
68 | } else {
69 | try {
70 | return new \DateTime($this->PeriodTo);
71 | } catch (\Exception $e) {
72 | return false;
73 | }
74 | }
75 | }
76 |
77 | /**
78 | * @param \DateTime $PeriodTo
79 | * @return \Defr\CzechDataBox\Api\tdbPeriod
80 | */
81 | public function setPeriodTo(\DateTime $PeriodTo)
82 | {
83 | $this->PeriodTo = $PeriodTo->format(\DateTime::ATOM);
84 | return $this;
85 | }
86 |
87 | /**
88 | * @return int
89 | */
90 | public function getDbState()
91 | {
92 | return $this->DbState;
93 | }
94 |
95 | /**
96 | * @param int $DbState
97 | * @return \Defr\CzechDataBox\Api\tdbPeriod
98 | */
99 | public function setDbState($DbState)
100 | {
101 | $this->DbState = $DbState;
102 | return $this;
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/src/Api/tdbPeriodsArray.php:
--------------------------------------------------------------------------------
1 | Period = $Period;
19 | }
20 |
21 | /**
22 | * @return tdbPeriod
23 | */
24 | public function getPeriod()
25 | {
26 | return $this->Period;
27 | }
28 |
29 | /**
30 | * @param tdbPeriod $Period
31 | * @return \Defr\CzechDataBox\Api\tdbPeriodsArray
32 | */
33 | public function setPeriod($Period)
34 | {
35 | $this->Period = $Period;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tdbPersOwnersArray.php:
--------------------------------------------------------------------------------
1 | dbOwnerInfo = $dbOwnerInfo;
19 | }
20 |
21 | /**
22 | * @return tdbPersonalOwnerInfo
23 | */
24 | public function getDbOwnerInfo()
25 | {
26 | return $this->dbOwnerInfo;
27 | }
28 |
29 | /**
30 | * @param tdbPersonalOwnerInfo $dbOwnerInfo
31 | * @return \Defr\CzechDataBox\Api\tdbPersOwnersArray
32 | */
33 | public function setDbOwnerInfo($dbOwnerInfo)
34 | {
35 | $this->dbOwnerInfo = $dbOwnerInfo;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tdbResultsArray.php:
--------------------------------------------------------------------------------
1 | dbResult = $dbResult;
19 | }
20 |
21 | /**
22 | * @return tdbResult
23 | */
24 | public function getDbResult()
25 | {
26 | return $this->dbResult;
27 | }
28 |
29 | /**
30 | * @param tdbResult $dbResult
31 | * @return \Defr\CzechDataBox\Api\tdbResultsArray
32 | */
33 | public function setDbResult($dbResult)
34 | {
35 | $this->dbResult = $dbResult;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/Api/tdbResultsArray2.php:
--------------------------------------------------------------------------------
1 | dbResult = $dbResult;
19 | }
20 |
21 | /**
22 | * @return tdbResult2
23 | */
24 | public function getDbResult()
25 | {
26 | return $this->dbResult;
27 | }
28 |
29 | /**
30 | * @param tdbResult2 $dbResult
31 | * @return \Defr\CzechDataBox\Api\tdbResultsArray2
32 | */
33 | public function setDbResult($dbResult)
34 | {
35 | $this->dbResult = $dbResult;
36 | return $this;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/ApiExtensions/dmFile.php:
--------------------------------------------------------------------------------
1 | dmEncodedContent;
19 | }
20 |
21 |
22 | /**
23 | * @param string $dmEncodedContent
24 | *
25 | * @return \Defr\CzechDataBox\ApiExtensions\dmFile
26 | */
27 | public function setDmEncodedContent($dmEncodedContent)
28 | {
29 | $this->dmEncodedContent = $dmEncodedContent;
30 |
31 | return $this;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/DataBoxException.php:
--------------------------------------------------------------------------------
1 | filename = pathinfo($location)['basename'];
26 | }
27 |
28 |
29 | /**
30 | * @return string
31 | */
32 | public function get(): string|bool
33 | {
34 | return file_get_contents($this->location);
35 | }
36 |
37 |
38 | /**
39 | * @param $content
40 | *
41 | * @throws DataBoxException
42 | */
43 | public function save($content)
44 | {
45 | if (empty($content)) {
46 | throw new DataBoxException('Content of file is empty.');
47 | }
48 |
49 | if (!$this->getIsExist()) {
50 | @mkdir(pathinfo($this->location)['dirname'], 0777, true);
51 | file_put_contents($this->location, $content);
52 | } else {
53 | throw new DataBoxException('Data message attachment already exists.');
54 | }
55 | }
56 |
57 |
58 | /**
59 | * @return mixed
60 | */
61 | public function getLocation()
62 | {
63 | return $this->location;
64 | }
65 |
66 |
67 | /**
68 | * @return mixed
69 | */
70 | public function getFilename()
71 | {
72 | return $this->filename;
73 | }
74 |
75 |
76 | /**
77 | * @return mixed
78 | */
79 | public function getPath()
80 | {
81 | return $this->path;
82 | }
83 |
84 |
85 | public function getIsExist(): bool
86 | {
87 | return file_exists($this->location);
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/src/DataBoxMessageFile.php:
--------------------------------------------------------------------------------
1 | filename = pathinfo($location)['basename'];
24 | }
25 |
26 |
27 | /**
28 | * @return string
29 | */
30 | public function get(): string|bool
31 | {
32 | return file_get_contents($this->location);
33 | }
34 |
35 |
36 | /**
37 | * @param $content
38 | *
39 | * @throws DataBoxException
40 | */
41 | public function save($content)
42 | {
43 | if (empty($content)) {
44 | throw new DataBoxException('Content of file is empty.');
45 | }
46 |
47 | if (!$this->getIsExist()) {
48 | @mkdir(pathinfo($this->location)['dirname'], 0777, true);
49 | file_put_contents($this->location, $content);
50 | } else {
51 | throw new DataBoxException('Data message already exists.');
52 | }
53 | }
54 |
55 |
56 | /**
57 | * @return mixed
58 | */
59 | public function getLocation()
60 | {
61 | return $this->location;
62 | }
63 |
64 |
65 | /**
66 | * @return mixed
67 | */
68 | public function getFilename()
69 | {
70 | return $this->filename;
71 | }
72 |
73 |
74 | public function getIsExist(): bool
75 | {
76 | return file_exists($this->location);
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/tests/DataBoxSimpleApiTest.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(
23 | getenv('DATABOX_LOGIN'),
24 | getenv('DATABOX_PASSWORD'),
25 | getenv('DATABOX_PRODUCTION'),
26 | );
27 |
28 | return $dataBox;
29 | }
30 |
31 |
32 | public function testSimpleApiFindDataBox()
33 | {
34 | $api = $this->__getDataBox()->getSimpleApi();
35 | $foundDataBox = $api->findDataBoxById('wucb4dd')->getDbOwnerInfo();
36 | $this->assertEquals("Dennis", $foundDataBox->getPnFirstName());
37 | $this->assertEquals("Fridrich", $foundDataBox->getPnLastName());
38 | }
39 |
40 |
41 | public function testSimpleApiStats()
42 | {
43 | $api = $this->__getDataBox()->getSimpleApi();
44 | $this->assertIsInt($api->getStats());
45 | }
46 |
47 |
48 | public function testSimpleApiPasswordChange()
49 | {
50 | $api = $this->__getDataBox()->getSimpleApi();
51 | $this->assertNull($api->getPasswordExpires());
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/tests/DataBoxTest.php:
--------------------------------------------------------------------------------
1 | loginWithUsernameAndPassword(
22 | getenv('DATABOX_LOGIN'),
23 | getenv('DATABOX_PASSWORD'),
24 | getenv('DATABOX_PRODUCTION'),
25 | );
26 |
27 | return $dataBox;
28 | }
29 |
30 | public function testLogin(): void
31 | {
32 | $info = $this->__getDataBox()->DataBoxAccess()->GetOwnerInfoFromLogin(new tDummyInput(null));
33 | $this->assertInstanceOf(\Defr\CzechDataBox\Api\tGetOwnInfoOutput::class, $info);
34 | }
35 |
36 |
37 | public function testLoginFailure(): void
38 | {
39 | self::expectException(DataBoxException::class);
40 | $dataBox = new DataBox();
41 | $dataBox->loginWithUsernameAndPassword("fakeLogin", "fakePassword", false);
42 | $dataBox->testConnection();
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/utilities/.gitignore:
--------------------------------------------------------------------------------
1 | vendor/
2 |
--------------------------------------------------------------------------------
/utilities/.php-version:
--------------------------------------------------------------------------------
1 | 7.4
2 |
--------------------------------------------------------------------------------
/utilities/classes_generator.php:
--------------------------------------------------------------------------------
1 | 2) {
12 | throw new \Exception('Classes are already generated.');
13 | }
14 |
15 | foreach (DataBoxHelper::getServiceWSDLList() as $wsdl)
16 | $generator->generate(
17 | new \Wsdl2PhpGenerator\Config(array(
18 | 'inputFile' => $wsdl,
19 | 'outputDir' => $classesLocation,
20 | 'namespaceName' => 'Defr\CzechDataBox\Api',
21 | 'constructorParamsDefaultToNull' => true
22 | ))
23 | );
24 |
--------------------------------------------------------------------------------
/utilities/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.4.*"
4 | },
5 | "require-dev": {
6 | "wsdl2phpgenerator/wsdl2phpgenerator": "^3.4",
7 | "symfony/var-dumper": "^5.4"
8 | },
9 | "autoload": {
10 | "psr-4": {
11 | "Defr\\CzechDataBox\\": "../src/"
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------