Passed
Pull Request — master (#28)
by Manuel
09:19
created

DirectDebit   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCreditorId() 0 3 1
A getMandateId() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Ticketpark\SaferpayJson\Response\Container;
4
5
use JMS\Serializer\Annotation\SerializedName;
6
use JMS\Serializer\Annotation\Type;
7
8
final class DirectDebit
9
{
10
    /**
11
     * @var string|null
12
     * @SerializedName("MandateId")
13
     * @Type("string")
14
     */
15
    private $mandateId;
16
17
    /**
18
     * @var string|null
19
     * @SerializedName("CreditorId")
20
     * @Type("string")
21
     */
22
    private $creditorId;
23
24
    public function getMandateId(): ?string
25
    {
26
        return $this->mandateId;
27
    }
28
29
    public function getCreditorId(): ?string
30
    {
31
        return $this->creditorId;
32
    }
33
}
34