Total Complexity | 7 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class BraintreeConfig extends AbstractBundleConfig |
||
14 | { |
||
15 | /** |
||
16 | * @return string |
||
17 | */ |
||
18 | public function getPublicKey() |
||
19 | { |
||
20 | return $this->get(BraintreeConstants::PUBLIC_KEY); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getPrivateKey() |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getMerchantId() |
||
35 | { |
||
36 | return $this->get(BraintreeConstants::MERCHANT_ID); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getEnvironment() |
||
43 | { |
||
44 | return $this->get(BraintreeConstants::ENVIRONMENT); |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return bool |
||
49 | */ |
||
50 | public function getIsVaulted() |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return bool |
||
57 | */ |
||
58 | public function getIs3DSecure() |
||
59 | { |
||
60 | return $this->get(BraintreeConstants::IS_3D_SECURE, false); |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | final public function getChannel() |
||
69 | } |
||
70 | } |
||
71 |