-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Security_Authenticate message structure
- Loading branch information
Showing
14 changed files
with
619 additions
and
3 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
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,41 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* ApplicationDetails | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class ApplicationDetails | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $internalId; | ||
/** | ||
* @var string | ||
*/ | ||
public $seqNumber; | ||
} |
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,37 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* ApplicationId | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class ApplicationId | ||
{ | ||
/** | ||
* @var ApplicationDetails | ||
*/ | ||
public $applicationDetails; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* ConversationClt | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class ConversationClt | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $senderIdentification = 0; | ||
/** | ||
* @var string | ||
*/ | ||
public $recipientIdentification = 0; | ||
/** | ||
* @var string | ||
*/ | ||
public $senderInterchangeControlReference = 0; | ||
/** | ||
* @var string | ||
*/ | ||
public $recipientInterchangeControlReference = 0; | ||
} |
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,47 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* DutyCode | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class DutyCode | ||
{ | ||
/** | ||
* @var DutyCodeDetails | ||
*/ | ||
public $dutyCodeDetails; | ||
|
||
/** | ||
* DutyCode constructor. | ||
* | ||
* @param string $dutyCode | ||
*/ | ||
public function __construct($dutyCode) | ||
{ | ||
$this->dutyCodeDetails = new DutyCodeDetails($dutyCode); | ||
} | ||
} |
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,62 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* DutyCodeDetails | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class DutyCodeDetails | ||
{ | ||
/** | ||
* Definition of Dutycode Reference qualifier "Duty Code" | ||
* | ||
* See Amadeus Core Webservices documentation | ||
* [Reference qualifier codesets (Ref: 1153 IA 01.2.57)] | ||
* @var string | ||
*/ | ||
const RQ_DUTYCODE = "DUT"; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $referenceQualifier; | ||
/** | ||
* @var string | ||
*/ | ||
public $referenceIdentifier; | ||
|
||
/** | ||
* DutyCodeDetails constructor. | ||
* | ||
* @param string $dutyCode | ||
* @param string $qual | ||
*/ | ||
public function __construct($dutyCode, $qual = self::RQ_DUTYCODE) | ||
{ | ||
$this->referenceIdentifier = $dutyCode; | ||
$this->referenceQualifier = $qual; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
src/Amadeus/Client/Struct/Security/OrganizationDetails.php
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,47 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* OrganizationDetails | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class OrganizationDetails | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $organizationId; | ||
|
||
/** | ||
* OrganizationDetails constructor. | ||
* | ||
* @param string $organizationId | ||
*/ | ||
public function __construct($organizationId) | ||
{ | ||
$this->organizationId = $organizationId; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
src/Amadeus/Client/Struct/Security/OriginIdentification.php
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,47 @@ | ||
<?php | ||
/** | ||
* amadeus-ws-client | ||
* | ||
* Copyright 2015 Amadeus Benelux NV | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @package Amadeus | ||
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 | ||
*/ | ||
|
||
namespace Amadeus\Client\Struct\Security; | ||
|
||
/** | ||
* OriginIdentification | ||
* | ||
* @package Amadeus\Client\Struct\Security | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class OriginIdentification | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $sourceOffice; | ||
|
||
/** | ||
* OriginIdentification constructor. | ||
* | ||
* @param string $officeId | ||
*/ | ||
public function __construct($officeId) | ||
{ | ||
$this->sourceOffice = $officeId; | ||
} | ||
} |
Oops, something went wrong.