ClientInfo::setOrdersCount()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
/**
6
 * Class ClientInfo
7
 * @package PimpayBundle\Model
8
 */
9
class ClientInfo
10
{
11
    /**
12
     * @var string
13
     */
14
    private $tin;
15
16
    /**
17
     * @var string
18
     */
19
    private $status;
20
21
    /**
22
     * @var boolean
23
     */
24
    private $isMoneyTransferPossible;
25
26
    /**
27
     * @var string
28
     */
29
    private $paymentOrderPurpose;
30
31
    /**
32
     * @var integer
33
     */
34
    private $ordersCount;
35
36
    /**
37
     * @return string
38
     */
39
    public function getTin(): string
40
    {
41
        return $this->tin;
42
    }
43
44
    /**
45
     * @param string $tin
46
     */
47
    public function setTin(string $tin)
48
    {
49
        $this->tin = $tin;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getStatus(): string
56
    {
57
        return $this->status;
58
    }
59
60
    /**
61
     * @param string $status
62
     */
63
    public function setStatus(string $status)
64
    {
65
        $this->status = $status;
66
    }
67
68
    /**
69
     * @return bool
70
     */
71
    public function isMoneyTransferPossible(): bool
72
    {
73
        return $this->isMoneyTransferPossible;
74
    }
75
76
    /**
77
     * @param bool $isMoneyTransferPossible
78
     */
79
    public function setIsMoneyTransferPossible(bool $isMoneyTransferPossible)
80
    {
81
        $this->isMoneyTransferPossible = $isMoneyTransferPossible;
82
    }
83
84
    /**
85
     * @return string
86
     */
87
    public function getPaymentOrderPurpose(): string
88
    {
89
        return $this->paymentOrderPurpose;
90
    }
91
92
    /**
93
     * @param string $paymentOrderPurpose
94
     */
95
    public function setPaymentOrderPurpose(string $paymentOrderPurpose)
96
    {
97
        $this->paymentOrderPurpose = $paymentOrderPurpose;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getOrdersCount(): int
104
    {
105
        return $this->ordersCount;
106
    }
107
108
    /**
109
     * @param int $ordersCount
110
     */
111
    public function setOrdersCount(int $ordersCount)
112
    {
113
        $this->ordersCount = $ordersCount;
114
    }
115
}
116