Passed
Push — master ( 67a5da...c35f7b )
by Jared
01:13
created

Invite   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 51
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 51
rs 10
c 1
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getMobile() 0 4 1
A setMobile() 0 6 1
A getExpectedAmount() 0 4 1
A setExpectedAmount() 0 6 1
1
<?php
2
namespace CultureKings\Afterpay\Model\InStore;
3
4
use CultureKings\Afterpay\Model\Money;
5
6
/**
7
 * Class Invite
8
 * @package CultureKings\Afterpay\Model\InStore
9
 */
10
class Invite
11
{
12
    /**
13
     * @var string
14
     */
15
    protected $mobile;
16
    /**
17
     * @var Money
18
     */
19
    protected $expectedAmount;
20
21
    /**
22
     * @return string
23
     */
24
    public function getMobile()
25
    {
26
        return $this->mobile;
27
    }
28
29
    /**
30
     * @param string $mobile
31
     *
32
     * @return Invite
33
     */
34
    public function setMobile($mobile)
35
    {
36
        $this->mobile = $mobile;
37
38
        return $this;
39
    }
40
41
    /**
42
     * @return Money
43
     */
44
    public function getExpectedAmount()
45
    {
46
        return $this->expectedAmount;
47
    }
48
49
    /**
50
     * @param Money $expectedAmount
51
     *
52
     * @return Invite
53
     */
54
    public function setExpectedAmount($expectedAmount)
55
    {
56
        $this->expectedAmount = $expectedAmount;
57
58
        return $this;
59
    }
60
}
61