1 | <?php |
||
11 | class Gateway |
||
12 | { |
||
13 | /** |
||
14 | * |
||
15 | * @var Configuration |
||
16 | */ |
||
17 | public $config; |
||
18 | |||
19 | public function __construct($config) |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * @return AddOnGateway |
||
30 | */ |
||
31 | public function addOn() |
||
35 | |||
36 | /** |
||
37 | * |
||
38 | * @return AddressGateway |
||
39 | */ |
||
40 | public function address() |
||
44 | |||
45 | /** |
||
46 | * |
||
47 | * @return ClientTokenGateway |
||
48 | */ |
||
49 | public function clientToken() |
||
53 | |||
54 | /** |
||
55 | * |
||
56 | * @return CreditCardGateway |
||
57 | */ |
||
58 | public function creditCard() |
||
62 | |||
63 | /** |
||
64 | * |
||
65 | * @return CreditCardVerificationGateway |
||
66 | */ |
||
67 | public function creditCardVerification() |
||
71 | |||
72 | /** |
||
73 | * |
||
74 | * @return CustomerGateway |
||
75 | */ |
||
76 | public function customer() |
||
80 | |||
81 | /** |
||
82 | * |
||
83 | * @return DiscountGateway |
||
84 | */ |
||
85 | public function discount() |
||
89 | |||
90 | /** |
||
91 | * |
||
92 | * @return MerchantGateway |
||
93 | */ |
||
94 | public function merchant() |
||
98 | |||
99 | /** |
||
100 | * |
||
101 | * @return MerchantAccountGateway |
||
102 | */ |
||
103 | public function merchantAccount() |
||
107 | |||
108 | /** |
||
109 | * |
||
110 | * @return OAuthGateway |
||
111 | */ |
||
112 | public function oauth() |
||
116 | |||
117 | /** |
||
118 | * |
||
119 | * @return PaymentMethodGateway |
||
120 | */ |
||
121 | public function paymentMethod() |
||
125 | |||
126 | /** |
||
127 | * |
||
128 | * @return PaymentMethodNonceGateway |
||
129 | */ |
||
130 | public function paymentMethodNonce() |
||
134 | |||
135 | /** |
||
136 | * |
||
137 | * @return PayPalAccountGateway |
||
138 | */ |
||
139 | public function payPalAccount() |
||
143 | |||
144 | /** |
||
145 | * |
||
146 | * @return PlanGateway |
||
147 | */ |
||
148 | public function plan() |
||
152 | |||
153 | /** |
||
154 | * |
||
155 | * @return SettlementBatchSummaryGateway |
||
156 | */ |
||
157 | public function settlementBatchSummary() |
||
161 | |||
162 | /** |
||
163 | * |
||
164 | * @return SubscriptionGateway |
||
165 | */ |
||
166 | public function subscription() |
||
170 | |||
171 | /** |
||
172 | * |
||
173 | * @return TestingGateway |
||
174 | */ |
||
175 | public function testing() |
||
179 | |||
180 | /** |
||
181 | * |
||
182 | * @return TransactionGateway |
||
183 | */ |
||
184 | public function transaction() |
||
188 | |||
189 | /** |
||
190 | * |
||
191 | * @return TransparentRedirectGateway |
||
192 | */ |
||
193 | public function transparentRedirect() |
||
197 | |||
198 | /** |
||
199 | * |
||
200 | * @return UsBankAccountGateway |
||
201 | */ |
||
202 | public function usBankAccount() |
||
206 | |||
207 | } |
||
208 | class_alias('Braintree\Gateway', 'Braintree_Gateway'); |
||
209 |