-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- info for properties vat_payer, tin, vat_id, but think how fix it - Sources::SERVICE_CORE renamed Sources::CORE - Data::$sources, keep name of all services, if service 'AKTIVNI' is bool true else is string
- Loading branch information
Showing
26 changed files
with
455 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?php declare(strict_types=1); | ||
|
||
require __DIR__ . '/vendor/autoload.php'; | ||
|
||
$wsdl = 'https://adisrws.mfcr.cz/dpr/axis2/services/rozhraniCRPDPH.rozhraniCRPDPHSOAP'; | ||
|
||
class StatusNespolehlivyPlatceRequest | ||
{ | ||
public function __construct(public string $dic) | ||
{ | ||
} | ||
|
||
} | ||
|
||
class StatusNespolehlivyPlatceRozsirenyResponse | ||
{ | ||
|
||
} | ||
|
||
$soap = new SoapClient($wsdl, [ | ||
'soap_version' => SOAP_1_1, | ||
'cache_wsdl' => WSDL_CACHE_MEMORY, | ||
'classmap' => [ | ||
'StatusNespolehlivyPlatceRequest' => StatusNespolehlivyPlatceRequest::class, | ||
], | ||
]); | ||
|
||
|
||
//array (23) | ||
// 0 => string | ||
//| 'struct StatusNespolehlivyPlatceRequest {\n | ||
// | DICType dic;\n | ||
// | }' | ||
// 1 => string | ||
//| 'struct StatusNespolehlivyPlatceResponse {\n | ||
// | StatusType status;\n | ||
// | InformaceOPlatciType statusPlatceDPH;\n | ||
// | }' | ||
// 2 => string | ||
//| 'struct StatusNespolehlivyPlatceRozsirenyResponse {\n | ||
// | StatusType status;\n | ||
// | InformaceOPlatciRozsireneType statusPlatceDPH;\n | ||
// | }' | ||
// 3 => string | ||
//| 'struct StatusNespolehlivySubjektRozsirenyResponse {\n | ||
// | StatusType status;\n | ||
// | InformaceOSubjektuRozsireneType statusSubjektu;\n | ||
// | }' | ||
// 4 => string | ||
//| 'struct SeznamNespolehlivyPlatceResponse {\n | ||
// | StatusType status;\n | ||
// | InformaceOPlatciType statusPlatceDPH;\n | ||
// | }' | ||
// 5 => string | ||
//| 'struct SeznamNespolehlivyPlatceRequest {\n | ||
// | }' | ||
// 6 => 'string DICType' | ||
// 7 => string | ||
//| 'struct InformaceOPlatciType {\n | ||
// | SeznamZverejnenychUctuType zverejneneUcty;\n | ||
// | DICType dic;\n | ||
// | NespolehlivyPlatceType nespolehlivyPlatce;\n | ||
// | date datumZverejn ... cisloFu;\n | ||
// | }' | ||
// 8 => 'string anonymous8' | ||
// 9 => string | ||
//| 'struct InformaceOPlatciRozsireneType {\n | ||
// | string nazevSubjektu;\n | ||
// | Adresa adresa;\n | ||
// | }' | ||
// 10 => string | ||
//| 'struct InformaceOSubjektuRozsireneType {\n | ||
// | string nazevSubjektu;\n | ||
// | Adresa adresa;\n | ||
// | TypSubjektuDPHType typSubjektu;\n | ||
// | }' | ||
// 11 => string | ||
//| 'struct Adresa {\n | ||
// | string uliceCislo;\n | ||
// | string castObce;\n | ||
// | string mesto;\n | ||
// | string psc;\n | ||
// | string stat;\n | ||
// | }' | ||
// 12 => 'string NespolehlivyPlatceType' | ||
// 13 => 'string TypSubjektuDPHType' | ||
// 14 => 'string BezVypisuUctuType' | ||
// 15 => string | ||
//| 'struct StandardniUcetType {\n | ||
// | anonymous16 predcisli;\n | ||
// | anonymous17 cislo;\n | ||
// | anonymous18 kodBanky;\n | ||
// | }' | ||
// 16 => 'string anonymous16' | ||
// 17 => 'string anonymous17' | ||
// 18 => 'string anonymous18' | ||
// 19 => string | ||
//| 'struct ZverejnenyUcetType {\n | ||
// | StandardniUcetType standardniUcet;\n | ||
// | NestandardniUcetType nestandardniUcet;\n | ||
// | date datumZverejneni;\n | ||
// | date datumZverejneniUkonceni;\n | ||
// | }' | ||
// 20 => string | ||
//| 'struct SeznamZverejnenychUctuType {\n | ||
// | ZverejnenyUcetType ucet;\n | ||
// | }' | ||
// 21 => string | ||
//| 'struct NestandardniUcetType {\n | ||
// | string cislo;\n | ||
// | }' | ||
// 22 => string | ||
//| 'struct StatusType {\n | ||
// | date odpovedGenerovana;\n | ||
// | int statusCode;\n | ||
// | string statusText;\n | ||
// | BezVypisuUctuType bezVypisuUctu;\n | ||
// | }' | ||
|
||
//0 => 'StatusNespolehlivyPlatceResponse getStatusNespolehlivyPlatce(StatusNespolehlivyPlatceRequest $parameters)' | ||
//1 => 'SeznamNespolehlivyPlatceResponse getSeznamNespolehlivyPlatce(SeznamNespolehlivyPlatceRequest $parameters)' | ||
//2 => 'StatusNespolehlivyPlatceRozsirenyResponse getStatusNespolehlivyPlatceRozsireny(StatusNespolehlivyPlatceRozsirenyResponse $parameters)' | ||
//3 => 'StatusNespolehlivySubjektRozsirenyResponse getStatusNespolehlivySubjektRozsireny(StatusNespolehlivyPlatceRequest $parameters)' | ||
|
||
//dumpe($soap->__getTypes()); | ||
dumpe($soap->getStatusNespolehlivyPlatce(new StatusNespolehlivyPlatceRequest('CZ49240901'))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.