Completed
Push — master ( 30ef9c...66d5ad )
by
unknown
12s queued 11s
created

KycProofResultBaseField   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 30
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAll() 0 13 1
1
<?php
2
3
namespace Covery\Client;
4
5
/**
6
 * Class KycProofResultBaseField
7
 * @package Covery\Client
8
 */
9
class KycProofResultBaseField
10
{
11
    const REQUEST_ID = 'requestId';
12
    const TYPE = 'type';
13
    const CREATED_AT = 'createdAt';
14
    const VERIFICATION_VIDEO = 'verificationVideo';
15
    const FACE_PROOF = 'faceProof';
16
    const DOCUMENT_PROOF = 'documentProof';
17
    const DOCUMENT_TWO_PROOF = 'documentTwoProof';
18
    const CONSENT_PROOF = 'consentProof';
19
20
    /**
21
     * Get all fields
22
     *
23
     * @return string[]
24
     */
25
    public static function getAll()
26
    {
27
        return [
28
            self::REQUEST_ID,
29
            self::TYPE,
30
            self::CREATED_AT,
31
            self::VERIFICATION_VIDEO,
32
            self::FACE_PROOF,
33
            self::DOCUMENT_PROOF,
34
            self::DOCUMENT_TWO_PROOF,
35
            self::CONSENT_PROOF,
36
        ];
37
    }
38
}
39