Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishemmings committed Nov 14, 2023
0 parents commit a4c0678
Show file tree
Hide file tree
Showing 65 changed files with 11,511 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/lush-fsms-chronopost-point-relay.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added README.md
Empty file.
16 changes: 16 additions & 0 deletions composer.json
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"
}
}
}
117 changes: 117 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions src/FSMS/ChronopostPointRelay/PointRelayClassMap.php
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',
];
}
}
48 changes: 48 additions & 0 deletions src/FSMS/ChronopostPointRelay/ServiceType/PointRelayGet.php
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();
}
}
Loading

0 comments on commit a4c0678

Please sign in to comment.