-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "lushdigital/lush-fsms-chronopost-point-relay", | ||
"description": "Package generated from https://www.chronopost.fr/recherchebt-ws-cxf/PointRelaisServiceWS?wsdl using wsdltophp/packagegenerator", | ||
"require": { | ||
"php": ">=7.4", | ||
"ext-dom": "*", | ||
"ext-mbstring": "*", | ||
"ext-soap": "*", | ||
"wsdltophp/packagebase": "~5.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"FSMS\\ChronopostPointRelay\\": "./src/FSMS/ChronopostPointRelay" | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace FSMS\ChronopostPointRelay; | ||
|
||
/** | ||
* Class which returns the class map definition | ||
* @package PointRelay | ||
*/ | ||
class PointRelayClassMap | ||
{ | ||
/** | ||
* Returns the mapping between the WSDL Structs and generated Structs' classes | ||
* This array is sent to the \SoapClient when calling the WS | ||
* @return string[] | ||
*/ | ||
final public static function get(): array | ||
{ | ||
return [ | ||
'pointCHRResult' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayPointCHRResult', | ||
'pointCHR' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayPointCHR', | ||
'listeHoraireOuverturePourUnJour' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayListeHoraireOuverturePourUnJour', | ||
'horaireOuverture' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayHoraireOuverture', | ||
'periodeFermeture' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayPeriodeFermeture', | ||
'bureauDeTabac' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayBureauDeTabac', | ||
'bureauDeTabacAvecCoord' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayBureauDeTabacAvecCoord', | ||
'tourneeCompleteResult' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayTourneeCompleteResult', | ||
'tourneeComplete' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayTourneeComplete', | ||
'tournee' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayTournee', | ||
'pointChronopost' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayPointChronopost', | ||
'pointChronopostAvecCoord' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayPointChronopostAvecCoord', | ||
'bureauDeTabacAvecPF' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayBureauDeTabacAvecPF', | ||
'tourneeResult' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayTourneeResult', | ||
'recherchePointChronopostInterParServiceAGL' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInterParServiceAGL', | ||
'recherchePointChronopostInterParServiceAGLResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInterParServiceAGLResponse', | ||
'recherchePointChronopost' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopost', | ||
'recherchePointChronopostResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostResponse', | ||
'recherchePointChronopostInterParService' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInterParService', | ||
'recherchePointChronopostInterParServiceResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInterParServiceResponse', | ||
'rechercheBtParCodeproduitEtCodepostalEtDate' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtParCodeproduitEtCodepostalEtDate', | ||
'rechercheBtParCodeproduitEtCodepostalEtDateResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtParCodeproduitEtCodepostalEtDateResponse', | ||
'rechercheBtParIdChronopostA2Pas' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtParIdChronopostA2Pas', | ||
'rechercheBtParIdChronopostA2PasResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtParIdChronopostA2PasResponse', | ||
'rechercheTourneeParTypeTourneeEtPosteComptable' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheTourneeParTypeTourneeEtPosteComptable', | ||
'rechercheTourneeParTypeTourneeEtPosteComptableResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheTourneeParTypeTourneeEtPosteComptableResponse', | ||
'recherchePointChronopostParId' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParId', | ||
'recherchePointChronopostParIdResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParIdResponse', | ||
'rechercheDetailPointChronopost' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheDetailPointChronopost', | ||
'rechercheDetailPointChronopostResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheDetailPointChronopostResponse', | ||
'recherchePointChronopostParCoordonneesGeographiques' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParCoordonneesGeographiques', | ||
'recherchePointChronopostParCoordonneesGeographiquesResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParCoordonneesGeographiquesResponse', | ||
'recherchePointChronopostInter' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInter', | ||
'recherchePointChronopostInterResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostInterResponse', | ||
'recherchePointRelaisParCoordonneesGeographiques' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointRelaisParCoordonneesGeographiques', | ||
'recherchePointRelaisParCoordonneesGeographiquesResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointRelaisParCoordonneesGeographiquesResponse', | ||
'recherchePointChronopostAvecCoordParId' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostAvecCoordParId', | ||
'recherchePointChronopostAvecCoordParIdResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostAvecCoordParIdResponse', | ||
'getAllChronopostAgences' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayGetAllChronopostAgences', | ||
'getAllChronopostAgencesResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayGetAllChronopostAgencesResponse', | ||
'recherchePointRelaisParCoordonneesGeographiquesParService' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointRelaisParCoordonneesGeographiquesParService', | ||
'recherchePointRelaisParCoordonneesGeographiquesParServiceResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointRelaisParCoordonneesGeographiquesParServiceResponse', | ||
'rechercheBtAvecPFParIdChronopostA2Pas' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtAvecPFParIdChronopostA2Pas', | ||
'rechercheBtAvecPFParIdChronopostA2PasResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtAvecPFParIdChronopostA2PasResponse', | ||
'rechercheDetailPointChronopostInter' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheDetailPointChronopostInter', | ||
'rechercheDetailPointChronopostInterResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheDetailPointChronopostInterResponse', | ||
'recherchePointChronopostParCoordonneesGeographiquesParService' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParCoordonneesGeographiquesParService', | ||
'recherchePointChronopostParCoordonneesGeographiquesParServiceResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRecherchePointChronopostParCoordonneesGeographiquesParServiceResponse', | ||
'rechercheBtAvecPFParCodeproduitEtCodepostalEtDate' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtAvecPFParCodeproduitEtCodepostalEtDate', | ||
'rechercheBtAvecPFParCodeproduitEtCodepostalEtDateResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheBtAvecPFParCodeproduitEtCodepostalEtDateResponse', | ||
'rechercheTournee' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheTournee', | ||
'rechercheTourneeResponse' => '\\FSMS\\ChronopostPointRelay\\StructType\\PointRelayRechercheTourneeResponse', | ||
]; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace FSMS\ChronopostPointRelay\ServiceType; | ||
|
||
use SoapFault; | ||
use WsdlToPhp\PackageBase\AbstractSoapClientBase; | ||
|
||
/** | ||
* This class stands for Get ServiceType | ||
* @package PointRelay | ||
* @subpackage Services | ||
*/ | ||
class PointRelayGet extends AbstractSoapClientBase | ||
{ | ||
/** | ||
* Method to call the operation originally named getAllChronopostAgences | ||
* @uses AbstractSoapClientBase::getSoapClient() | ||
* @uses AbstractSoapClientBase::setResult() | ||
* @uses AbstractSoapClientBase::saveLastError() | ||
* @param \FSMS\ChronopostPointRelay\StructType\PointRelayGetAllChronopostAgences $parameters | ||
* @return \FSMS\ChronopostPointRelay\StructType\PointRelayGetAllChronopostAgencesResponse|bool | ||
*/ | ||
public function getAllChronopostAgences(\FSMS\ChronopostPointRelay\StructType\PointRelayGetAllChronopostAgences $parameters) | ||
{ | ||
try { | ||
$this->setResult($resultGetAllChronopostAgences = $this->getSoapClient()->__soapCall('getAllChronopostAgences', [ | ||
$parameters, | ||
], [], [], $this->outputHeaders)); | ||
|
||
return $resultGetAllChronopostAgences; | ||
} catch (SoapFault $soapFault) { | ||
$this->saveLastError(__METHOD__, $soapFault); | ||
|
||
return false; | ||
} | ||
} | ||
/** | ||
* Returns the result | ||
* @see AbstractSoapClientBase::getResult() | ||
* @return \FSMS\ChronopostPointRelay\StructType\PointRelayGetAllChronopostAgencesResponse | ||
*/ | ||
public function getResult() | ||
{ | ||
return parent::getResult(); | ||
} | ||
} |