-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
605 additions
and
41 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
74 changes: 74 additions & 0 deletions
74
src/Amadeus/Client/RequestOptions/Offer/PaymentDetails.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,74 @@ | ||
<?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\Offer; | ||
|
||
use Amadeus\Client\LoadParamsFromArray; | ||
|
||
/** | ||
* PaymentDetails | ||
* | ||
* @package Amadeus\Client\RequestOptions\Offer | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class PaymentDetails extends LoadParamsFromArray | ||
{ | ||
/** | ||
* 2-character company code for the credit card vendor | ||
* | ||
* VI = Visa | ||
* AX = American Express | ||
* BC = BC Card | ||
* CA = MasterCard | ||
* DS = Discover | ||
* DC = Diners Club | ||
* T = Carta Si | ||
* R = Carte Bleue | ||
* E = Visa Electron | ||
* JC = Japan Credit Bureau | ||
* TO = Maestro | ||
* ... | ||
* | ||
* @var string | ||
*/ | ||
public $ccVendor; | ||
|
||
/** | ||
* The credit card number | ||
* @var string | ||
*/ | ||
public $ccCardNumber; | ||
|
||
/** | ||
* The name on the credit card | ||
* | ||
* @var string | ||
*/ | ||
public $ccCardHolder; | ||
|
||
/** | ||
* MMYY - expiry date of credit card | ||
* | ||
* @var string | ||
*/ | ||
public $ccExpiry; | ||
} |
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 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,58 @@ | ||
<?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; | ||
|
||
/** | ||
* PnrBase | ||
* | ||
* @package Amadeus\Client\RequestOptions | ||
* @author Dieter Devlieghere <dieter.devlieghere@benelux.amadeus.com> | ||
*/ | ||
class PnrBase extends Base | ||
{ | ||
const ACTION_NO_PROCESSING = 0; | ||
|
||
const ACTION_END_TRANSACT = 10; | ||
|
||
const ACTION_END_TRANSACT_RETRIEVE = 11; | ||
|
||
const ACTION_END_TRANSACT_CHANGE_ADV_CODES = 12; | ||
|
||
const ACTION_END_TRANSACT_RETRIEVE_CHANGE_ADV_CODES = 13; | ||
|
||
const ACTION_END_TRANSACT_SPLIT = 14; | ||
|
||
const ACTION_CANCEL_ITIN_END_TRANSACT = 15; | ||
|
||
const ACTION_CANCEL_ITIN_END_TRANSACT_RETRIEVE = 16; | ||
|
||
const ACTION_IGNORE = 20; | ||
|
||
const ACTION_IGNORE_RETRIEVE = 21; | ||
|
||
const ACTION_STOP_EOT_ON_SELL_ERROR = 267; | ||
|
||
const ACTION_WARNING_AT_EOT = 30; | ||
|
||
const ACTION_REPLY_SHORT_MESSAGE = 50; | ||
} |
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
Oops, something went wrong.