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

Invite::getExpectedAmount()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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