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