|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* amadeus-ws-client |
|
4
|
|
|
* |
|
5
|
|
|
* Copyright 2015 Amadeus Benelux NV |
|
6
|
|
|
* |
|
7
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
8
|
|
|
* you may not use this file except in compliance with the License. |
|
9
|
|
|
* You may obtain a copy of the License at |
|
10
|
|
|
* |
|
11
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
|
12
|
|
|
* |
|
13
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
14
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
15
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
16
|
|
|
* See the License for the specific language governing permissions and |
|
17
|
|
|
* limitations under the License. |
|
18
|
|
|
* |
|
19
|
|
|
* @package Amadeus |
|
20
|
|
|
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 |
|
21
|
|
|
*/ |
|
22
|
|
|
|
|
23
|
|
|
namespace Amadeus\Client\RequestCreator; |
|
24
|
|
|
|
|
25
|
|
|
use Amadeus\Client\RequestOptions\TicketCreateTsmFromPricingOptions; |
|
26
|
|
|
use Amadeus\Client\RequestOptions\TicketCreateTstFromPricingOptions; |
|
27
|
|
|
use Amadeus\Client\RequestOptions\TicketDeleteTstOptions; |
|
28
|
|
|
use Amadeus\Client\RequestOptions\TicketDisplayTstOptions; |
|
29
|
|
|
use Amadeus\Client\Struct; |
|
30
|
|
|
|
|
31
|
|
|
/** |
|
32
|
|
|
* Ticket |
|
33
|
|
|
* |
|
34
|
|
|
* @package Amadeus\Client\RequestCreator |
|
35
|
|
|
* @author Dieter Devlieghere <[email protected]> |
|
36
|
|
|
*/ |
|
37
|
|
|
class Ticket |
|
38
|
|
|
{ |
|
39
|
|
|
/** |
|
40
|
|
|
* Ticket_CreateTstFromPricing |
|
41
|
|
|
* |
|
42
|
|
|
* @param TicketCreateTstFromPricingOptions $params |
|
43
|
|
|
* @return Struct\Ticket\CreateTSTFromPricing |
|
44
|
|
|
*/ |
|
45
|
1 |
|
public function createTicketCreateTSTFromPricing(TicketCreateTstFromPricingOptions $params) |
|
46
|
|
|
{ |
|
47
|
1 |
|
return new Struct\Ticket\CreateTSTFromPricing($params); |
|
48
|
|
|
} |
|
49
|
|
|
|
|
50
|
|
|
/** |
|
51
|
|
|
* Ticket_CreateTSMFromPricing |
|
52
|
|
|
* |
|
53
|
|
|
* @param TicketCreateTsmFromPricingOptions $params |
|
54
|
|
|
* @return Struct\Ticket\CreateTSMFromPricing |
|
55
|
|
|
*/ |
|
56
|
1 |
|
public function createTicketCreateTSMFromPricing(TicketCreateTsmFromPricingOptions $params) |
|
57
|
|
|
{ |
|
58
|
1 |
|
return new Struct\Ticket\CreateTSMFromPricing($params); |
|
59
|
|
|
} |
|
60
|
|
|
|
|
61
|
|
|
/** |
|
62
|
|
|
* Ticket_DeleteTST |
|
63
|
|
|
* |
|
64
|
|
|
* @param TicketDeleteTstOptions $params |
|
65
|
|
|
* @return Struct\Ticket\DeleteTST |
|
66
|
|
|
*/ |
|
67
|
1 |
|
public function createTicketDeleteTST(TicketDeleteTstOptions $params) |
|
68
|
|
|
{ |
|
69
|
1 |
|
return new Struct\Ticket\DeleteTST($params); |
|
70
|
|
|
} |
|
71
|
|
|
|
|
72
|
|
|
/** |
|
73
|
|
|
* Ticket_DisplayTST |
|
74
|
|
|
* |
|
75
|
|
|
* @param TicketDisplayTstOptions $params |
|
76
|
|
|
* @return Struct\Ticket\DisplayTST |
|
77
|
|
|
*/ |
|
78
|
1 |
|
public function createTicketDisplayTST(TicketDisplayTstOptions $params) |
|
79
|
|
|
{ |
|
80
|
1 |
|
return new Struct\Ticket\DisplayTST($params); |
|
81
|
|
|
} |
|
82
|
|
|
} |
|
83
|
|
|
|