Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class Authentication |
||
9 | { |
||
10 | const EXEMPTION_LOW_VALUE = 'LOW_VALUE'; |
||
11 | const EXEMPTION_TRANSACTION_RISK_ANALYSIS = 'TRANSACTION_RISK_ANALYSIS'; |
||
12 | const EXEMPTION_RECURRING = 'RECURRING'; |
||
13 | |||
14 | const THREEDSCHALLENGE_FORCE = 'FORCE'; |
||
15 | const THREEDSCHALLENGE_AVOID = 'AVOID'; |
||
16 | |||
17 | /** |
||
18 | * @var string|null |
||
19 | * @SerializedName("Exemption") |
||
20 | */ |
||
21 | private $exemption; |
||
22 | |||
23 | /** |
||
24 | * @var string|null |
||
25 | * @SerializedName("ThreeDsChallenge") |
||
26 | */ |
||
27 | private $threeDsChallenge; |
||
28 | |||
29 | public function getExemption(): ?string |
||
30 | { |
||
31 | return $this->exemption; |
||
32 | } |
||
33 | |||
34 | public function setExemption(?string $exemption): self |
||
35 | { |
||
36 | $this->exemption = $exemption; |
||
37 | return $this; |
||
38 | } |
||
39 | |||
40 | public function getThreeDsChallenge(): ?string |
||
43 | } |
||
44 | |||
45 | public function setThreeDsChallenge(?string $threeDsChallenge): self |
||
49 | } |
||
50 | } |
||
51 |