• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperwallet / php-sdk / 3912820865

pending completion
3912820865

push

github

GitHub
DTPAYETWO-761- Added 'isDefaultTransferMethod' attribute for default accounts(V3) (#125)

12 of 12 new or added lines in 4 files covered. (100.0%)

1821 of 1861 relevant lines covered (97.85%)

18.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/Hyperwallet/Model/HyperwalletVerificationDocumentReason.php
1
<?php
2
namespace Hyperwallet\Model;
3

4
abstract class RejectReason {
5
    const DOCUMENT_EXPIRED = 0;
6
    const DOCUMENT_NOT_RELATED_TO_PROFILE = 1;
7
    const DOCUMENT_NOT_READABLE = 2;
8
    const DOCUMENT_NOT_DECISIVE = 3;
9
    const DOCUMENT_NOT_COMPLETE = 4;
10
    const DOCUMENT_CORRECTION_REQUIRED = 5;
11
    const DOCUMENT_NOT_VALID_WITH_NOTES = 6;
12
    const DOCUMENT_TYPE_NOT_VALID = 7;
13
}
14

15

16
/**
17
 * Represents a V3 HyperwalletVerificationDocumentReason
18
 *
19
 * @property RejectReason $name The reason for rejection
20
 * @property string $description The description of the rejection
21
 *
22
 * @package Hyperwallet\Model
23
 */
24
class HyperwalletVerificationDocumentReason extends BaseModel {
25

26
    /**
27
     * @internal
28
     *
29
     * Read only fields
30
     *
31
     * @var string[]
32
     */
33
    private static $READ_ONLY_FIELDS = array('name', 'description');
34

35
    /**
36
     * Creates a instance of HyperwalletVerificationReason
37
     *
38
     * @param string[] $properties The default properties
39
     */
40
    public function __construct(array $properties = array()) {
41
        parent::__construct(self::$READ_ONLY_FIELDS, $properties);
1✔
42
    }
1✔
43

44
    /**
45
     * Get the Rejection Reason
46
     *
47
     * @return RejectReason
48
     */
49
    public function getName() {
50
        return $this->name;
×
51
    }
52

53
    /**
54
     * Get the description
55
     *
56
     * @return string
57
     */
58
    public function getDescription() {
59
        return $this->description;
×
60
    }
61
}
62

63
/**
64
 * Represents a V3 HyperwalletVerificationDocumentReasonsCollection
65
 *
66
 * @property array $reasons The list of reasons
67
 *
68
 * @package Hyperwallet\Model
69
 */
70
class HyperwalletVerificationDocumentReasonCollection {
71

72
    public function __construct(HyperwalletVerificationDocumentReason ...$reasons) {
73
        $this->reasons = $reasons;
1✔
74
    }
1✔
75

76
    public function getReasons() {
77
        return $this->reasons;
×
78
    }
79
   
80
    public function getIterator() {
81
        return new \ArrayIterator($this->reasons);
×
82
    }
83
   
84
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc