-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Message Service_StandaloneCatalogue Integration #220
Merged
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
227bfc4
new message serviceStandaloneCatalogue
arvind-pandey d08bfe9
Update list-of-supported-messages.rst
arvind-pandey a06dcbe
Update samples.rst
arvind-pandey 0280980
Update samples.rst
arvind-pandey d9c475a
changes
arvind-pandey b4b080a
Merge branch 'master' of https://github.com/arvind-pandey/amadeus-ws-…
arvind-pandey acf7fa2
change
arvind-pandey 4bcb141
change
arvind-pandey 4616da4
changes
arvind-pandey 16c67c9
deleted
arvind-pandey d2bc03c
change
arvind-pandey 80e6a06
changes
arvind-pandey 75b361d
change
arvind-pandey 966f851
change
arvind-pandey 7111c55
change
arvind-pandey 3a94c65
change
arvind-pandey d2ce665
change
arvind-pandey edcdbb2
change
arvind-pandey 0c0e0a4
change
arvind-pandey 431242a
change
arvind-pandey ed5fb9c
change
arvind-pandey 3f232c4
change
arvind-pandey f456fe1
Update samples.rst
arvind-pandey 061208b
change
arvind-pandey a7eb0bf
Merge branch 'master' of https://github.com/arvind-pandey/amadeus-ws-…
arvind-pandey 7605a23
change
arvind-pandey ce4ee7e
change
arvind-pandey eb7f3ff
change
arvind-pandey 35a3e6b
change
arvind-pandey cc7de16
Changes
arvind-pandey c67a6b8
Changes
arvind-pandey bde5e84
Changes
arvind-pandey 00edb92
undone the changes
arvind-pandey febdeee
changes remove
arvind-pandey b486607
changes
arvind-pandey 3416966
changes
arvind-pandey 691cfc5
changes
arvind-pandey 03240f8
changes
arvind-pandey 30cf0ba
arvind
arvind-pandey e68a7d5
arvind
arvind-pandey f8a18ec
arvind
arvind-pandey c6b3a11
arvind
arvind-pandey 618216f
changes
arvind-pandey aa77b89
changes
arvind-pandey 3911d21
changes
arvind-pandey a2aa616
changes
arvind-pandey 19453b7
Style CI resolved
arvind-pandey 35c1ca6
git style ci issue
arvind-pandey 9e51756
git style ci issue
arvind-pandey eac425c
git style ci issue
arvind-pandey eb391ef
git style ci issue
arvind-pandey dc9d03f
git style ci issue
arvind-pandey 872e3da
git style ci issue
arvind-pandey c0c33b7
changes in request option
arvind-pandey b817028
Update samples.rst
arvind-pandey 69437df
change for coverage
arvind-pandey 911bd14
conflict resolve
arvind-pandey 611f0ad
conflick resolved
arvind-pandey 01d531e
conflick resolved
arvind-pandey 86e3cda
conflick resolved
arvind-pandey 5d4697c
conflick resolved
arvind-pandey 8ea8f31
conflick resolved
arvind-pandey 3638560
conflick resolved
arvind-pandey 762658e
change
arvind-pandey b002a3b
Merge branch 'master' into master
DerMika 0989c12
Fix sample
therealartz dcdefcf
Create response handler for Service_StandaloneCatalogue
therealartz 68d9f0d
Add Client test of Service_StandaloneCatalogue
therealartz 7950fab
Refactor doc blocks
therealartz 6b35d3f
Added struct test
therealartz bbdbaa2
Merge pull request #1 from arvind-pandey/standalone_pricing
therealartz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
46 changes: 46 additions & 0 deletions
46
src/Amadeus/Client/RequestCreator/Converter/Service/StandaloneCatalogueConv.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,46 @@ | ||
<?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\RequestCreator\Converter\Service; | ||
|
||
use Amadeus\Client\RequestCreator\Converter\BaseConverter; | ||
use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions; | ||
use Amadeus\Client\Struct; | ||
|
||
/** | ||
* Service_StandaloneCatalogue Request converter | ||
* | ||
* @package Amadeus\Client\RequestCreator\Converter\Service | ||
* @author Arvind Pandey <arvindpandey87@gmail.com> | ||
*/ | ||
class StandaloneCatalogueConv extends BaseConverter | ||
{ | ||
/** | ||
* @param ServiceIntegratedCatalogueOptions $requestOptions | ||
* @param int|string $version | ||
* @return Struct\Service\StandaloneCatalogue | ||
*/ | ||
public function convert($requestOptions, $version) | ||
{ | ||
return new Struct\Service\StandaloneCatalogue($requestOptions); | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the PSR-2 standard, there has to be an empty line following the closing bracket at the end of the file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change done |
43 changes: 43 additions & 0 deletions
43
src/Amadeus/Client/RequestOptions/Service/StandaloneCatalogue/ServicePassenger.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,43 @@ | ||
<?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\RequestOptions\Service\StandaloneCatalogue; | ||
|
||
use Amadeus\Client\RequestOptions\Fare\InformativePricing\Passenger; | ||
|
||
/** | ||
* Passenger | ||
* | ||
* @package Amadeus\Client\RequestOptions\Fare\InformativePricing | ||
* @author Arvind Pandey <arvindpandey87@gmail.com> | ||
*/ | ||
class ServicePassenger extends Passenger | ||
{ | ||
/** | ||
* Specifies the passenger index | ||
* | ||
* If you have 3 passengers of this type, you need to provide 3 unique passenger index. | ||
* | ||
* @var int | ||
*/ | ||
public $reference; | ||
} |
36 changes: 36 additions & 0 deletions
36
...eus/Client/RequestOptions/Service/StandaloneCatalogue/ServiceStandalonePricingOptions.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,36 @@ | ||
<?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\RequestOptions\Service\StandaloneCatalogue; | ||
|
||
use Amadeus\Client\RequestOptions\Fare\InformativePricing\PricingOptions; | ||
|
||
/** | ||
* Pricing Options for the Service_StandaloneCatalogue message | ||
* | ||
* @package Amadeus\Client\RequestOptions\ServiceIntegratedPricingOptions | ||
* @author Arvind Pandey <arvindpandey87@gmail.com> | ||
*/ | ||
class ServiceStandalonePricingOptions extends PricingOptions | ||
{ | ||
const OVERRIDE_MANUAL_INPUT_FORMATTED = 'MIF'; | ||
const OVERRIDE_COMMERCIAL_DESCRIPTION = 'SCD'; | ||
} |
33 changes: 33 additions & 0 deletions
33
src/Amadeus/Client/RequestOptions/ServiceStandaloneCatalogueOptions.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,33 @@ | ||
<?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\RequestOptions; | ||
|
||
/** | ||
* ServiceStandaloneCatalogueOptions Request Options | ||
* | ||
* @package Amadeus\Client\RequestOptions | ||
* @author Arvind Pandey <arvindpandey87@gmail.com> | ||
*/ | ||
class ServiceStandaloneCatalogueOptions extends FareInformativePricingWithoutPnrOptions | ||
{ | ||
} |
33 changes: 33 additions & 0 deletions
33
src/Amadeus/Client/ResponseHandler/Service/HandlerStandaloneCatalogue.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,33 @@ | ||
<?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\ResponseHandler\Service; | ||
|
||
/** | ||
* Response handler for Service_StandaloneCatalogue | ||
* | ||
* @package Amadeus\Client\ResponseHandler\Service | ||
* @author Artem Zakharchenko <artz.relax@gmail.com> | ||
*/ | ||
class HandlerStandaloneCatalogue extends HandlerIntegratedPricing | ||
{ | ||
} |
Empty file modified
0
src/Amadeus/Client/Struct/Service/IntegratedPricing/PricingOptionKey.php
100644 → 100755
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the PSR-2 standard, there has to be an empty line between namespace declaration and use statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change done.